| 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 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
| 10 return NULL; | 10 return NULL; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { | 73 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { |
| 74 return NULL; | 74 return NULL; |
| 75 } | 75 } |
| 76 | 76 |
| 77 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( | 77 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( |
| 78 WebKit::WebSpeechSynthesizerClient* client) { | 78 WebKit::WebSpeechSynthesizerClient* client) { |
| 79 return NULL; | 79 return NULL; |
| 80 } | 80 } |
| 81 | 81 |
| 82 WebKit::WebCrypto* ContentRendererClient::OverrideWebCrypto() { | |
| 83 return NULL; | |
| 84 } | |
| 85 | |
| 86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 82 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 87 return true; | 83 return true; |
| 88 } | 84 } |
| 89 | 85 |
| 90 bool ContentRendererClient::AllowPopup() { | 86 bool ContentRendererClient::AllowPopup() { |
| 91 return false; | 87 return false; |
| 92 } | 88 } |
| 93 | 89 |
| 94 bool ContentRendererClient::HandleNavigation( | 90 bool ContentRendererClient::HandleNavigation( |
| 95 WebKit::WebFrame* frame, | 91 WebKit::WebFrame* frame, |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 185 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 190 const base::string16& source) const { | 186 const base::string16& source) const { |
| 191 return false; | 187 return false; |
| 192 } | 188 } |
| 193 | 189 |
| 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 190 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 195 return true; | 191 return true; |
| 196 } | 192 } |
| 197 | 193 |
| 198 } // namespace content | 194 } // namespace content |
| OLD | NEW |