| 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 19 matching lines...) Expand all Loading... |
| 30 RenderView* render_view, | 30 RenderView* render_view, |
| 31 const base::FilePath& plugin_path) { | 31 const base::FilePath& plugin_path) { |
| 32 return NULL; | 32 return NULL; |
| 33 } | 33 } |
| 34 | 34 |
| 35 bool ContentRendererClient::HasErrorPage(int http_status_code, | 35 bool ContentRendererClient::HasErrorPage(int http_status_code, |
| 36 std::string* error_domain) { | 36 std::string* error_domain) { |
| 37 return false; | 37 return false; |
| 38 } | 38 } |
| 39 | 39 |
| 40 bool ContentRendererClient::ShouldSuppressErrorPage(const GURL& url) { |
| 41 return false; |
| 42 } |
| 43 |
| 40 void ContentRendererClient::DeferMediaLoad(RenderView* render_view, | 44 void ContentRendererClient::DeferMediaLoad(RenderView* render_view, |
| 41 const base::Closure& closure) { | 45 const base::Closure& closure) { |
| 42 closure.Run(); | 46 closure.Run(); |
| 43 } | 47 } |
| 44 | 48 |
| 45 WebKit::WebMediaStreamCenter* | 49 WebKit::WebMediaStreamCenter* |
| 46 ContentRendererClient::OverrideCreateWebMediaStreamCenter( | 50 ContentRendererClient::OverrideCreateWebMediaStreamCenter( |
| 47 WebKit::WebMediaStreamCenterClient* client) { | 51 WebKit::WebMediaStreamCenterClient* client) { |
| 48 return NULL; | 52 return NULL; |
| 49 } | 53 } |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 193 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 190 const base::string16& source) const { | 194 const base::string16& source) const { |
| 191 return false; | 195 return false; |
| 192 } | 196 } |
| 193 | 197 |
| 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 198 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 195 return true; | 199 return true; |
| 196 } | 200 } |
| 197 | 201 |
| 198 } // namespace content | 202 } // namespace content |
| OLD | NEW |