| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const void* ContentRendererClient::CreatePPAPIInterface( | 161 const void* ContentRendererClient::CreatePPAPIInterface( |
| 162 const std::string& interface_name) { | 162 const std::string& interface_name) { |
| 163 return NULL; | 163 return NULL; |
| 164 } | 164 } |
| 165 | 165 |
| 166 bool ContentRendererClient::IsExternalPepperPlugin( | 166 bool ContentRendererClient::IsExternalPepperPlugin( |
| 167 const std::string& module_name) { | 167 const std::string& module_name) { |
| 168 return false; | 168 return false; |
| 169 } | 169 } |
| 170 | 170 |
| 171 bool ContentRendererClient::IsPluginAllowedToCallRequestOSFileHandle( | |
| 172 WebKit::WebPluginContainer* container) { | |
| 173 return false; | |
| 174 } | |
| 175 | |
| 176 bool ContentRendererClient::AllowBrowserPlugin( | 171 bool ContentRendererClient::AllowBrowserPlugin( |
| 177 WebKit::WebPluginContainer* container) { | 172 WebKit::WebPluginContainer* container) { |
| 178 return false; | 173 return false; |
| 179 } | 174 } |
| 180 | 175 |
| 181 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 176 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
| 182 return false; | 177 return false; |
| 183 } | 178 } |
| 184 | 179 |
| 185 void ContentRendererClient::AddKeySystems( | 180 void ContentRendererClient::AddKeySystems( |
| 186 std::vector<KeySystemInfo>* key_systems) { | 181 std::vector<KeySystemInfo>* key_systems) { |
| 187 } | 182 } |
| 188 | 183 |
| 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 184 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 190 const base::string16& source) const { | 185 const base::string16& source) const { |
| 191 return false; | 186 return false; |
| 192 } | 187 } |
| 193 | 188 |
| 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 195 return true; | 190 return true; |
| 196 } | 191 } |
| 197 | 192 |
| 198 } // namespace content | 193 } // namespace content |
| OLD | NEW |