| OLD | NEW |
| 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 #include "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
| 8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
| 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( | 84 blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( |
| 85 blink::WebSpeechSynthesizerClient* client) { | 85 blink::WebSpeechSynthesizerClient* client) { |
| 86 return nullptr; | 86 return nullptr; |
| 87 } | 87 } |
| 88 | 88 |
| 89 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 89 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 90 return true; | 90 return true; |
| 91 } | 91 } |
| 92 | 92 |
| 93 bool ContentRendererClient::AllowTimerSuspensionWhenProcessBackgrounded() { |
| 94 return false; |
| 95 } |
| 96 |
| 93 bool ContentRendererClient::AllowPopup() { | 97 bool ContentRendererClient::AllowPopup() { |
| 94 return false; | 98 return false; |
| 95 } | 99 } |
| 96 | 100 |
| 97 bool ContentRendererClient::ShouldFork(blink::WebLocalFrame* frame, | 101 bool ContentRendererClient::ShouldFork(blink::WebLocalFrame* frame, |
| 98 const GURL& url, | 102 const GURL& url, |
| 99 const std::string& http_method, | 103 const std::string& http_method, |
| 100 bool is_initial_navigation, | 104 bool is_initial_navigation, |
| 101 bool is_server_redirect, | 105 bool is_server_redirect, |
| 102 bool* send_referrer) { | 106 bool* send_referrer) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 205 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
| 202 return std::string(); | 206 return std::string(); |
| 203 } | 207 } |
| 204 | 208 |
| 205 scoped_ptr<blink::WebAppBannerClient> | 209 scoped_ptr<blink::WebAppBannerClient> |
| 206 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 210 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
| 207 return nullptr; | 211 return nullptr; |
| 208 } | 212 } |
| 209 | 213 |
| 210 } // namespace content | 214 } // namespace content |
| OLD | NEW |