Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(909)

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 412143010: Flip this back to true. IdleHandlers should certainly be being scheduled when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL; 10 return NULL;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { 78 blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() {
79 return NULL; 79 return NULL;
80 } 80 }
81 81
82 blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( 82 blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer(
83 blink::WebSpeechSynthesizerClient* client) { 83 blink::WebSpeechSynthesizerClient* client) {
84 return NULL; 84 return NULL;
85 } 85 }
86 86
87 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 87 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
88 // TODO(wfh): http://crbug.com/381820 change this back to true after testing 88 return true;
89 // whether this affects tabs hanging.
90 return false;
91 } 89 }
92 90
93 bool ContentRendererClient::AllowPopup() { 91 bool ContentRendererClient::AllowPopup() {
94 return false; 92 return false;
95 } 93 }
96 94
97 #ifdef OS_ANDROID 95 #ifdef OS_ANDROID
98 bool ContentRendererClient::HandleNavigation( 96 bool ContentRendererClient::HandleNavigation(
99 RenderFrame* render_frame, 97 RenderFrame* render_frame,
100 DocumentState* document_state, 98 DocumentState* document_state,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 bool ContentRendererClient::IsPluginAllowedToUseVideoDecodeAPI( 184 bool ContentRendererClient::IsPluginAllowedToUseVideoDecodeAPI(
187 const GURL& url) { 185 const GURL& url) {
188 return false; 186 return false;
189 } 187 }
190 188
191 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { 189 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() {
192 return false; 190 return false;
193 } 191 }
194 192
195 } // namespace content 193 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698