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 |
171 bool ContentRendererClient::AllowBrowserPlugin( | 176 bool ContentRendererClient::AllowBrowserPlugin( |
172 WebKit::WebPluginContainer* container) { | 177 WebKit::WebPluginContainer* container) { |
173 return false; | 178 return false; |
174 } | 179 } |
175 | 180 |
176 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { | 181 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { |
177 return false; | 182 return false; |
178 } | 183 } |
179 | 184 |
180 void ContentRendererClient::AddKeySystems( | 185 void ContentRendererClient::AddKeySystems( |
181 std::vector<KeySystemInfo>* key_systems) { | 186 std::vector<KeySystemInfo>* key_systems) { |
182 } | 187 } |
183 | 188 |
184 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
185 const base::string16& source) const { | 190 const base::string16& source) const { |
186 return false; | 191 return false; |
187 } | 192 } |
188 | 193 |
189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
190 return true; | 195 return true; |
191 } | 196 } |
192 | 197 |
193 WebKit::WebWorkerPermissionClientProxy* | 198 WebKit::WebWorkerPermissionClientProxy* |
194 ContentRendererClient::CreateWorkerPermissionClientProxy( | 199 ContentRendererClient::CreateWorkerPermissionClientProxy( |
195 RenderView* render_view, WebKit::WebFrame* frame) { | 200 RenderView* render_view, WebKit::WebFrame* frame) { |
196 return NULL; | 201 return NULL; |
197 } | 202 } |
198 | 203 |
199 } // namespace content | 204 } // namespace content |
OLD | NEW |