Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 944033002: PPAPI: Whitelist PPB_CameraDevice_Private for some apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prepare whitelist in constructor Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "media/base/renderer_factory.h" 7 #include "media/base/renderer_factory.h"
8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const {
190 return true; 190 return true;
191 } 191 }
192 192
193 blink::WebWorkerPermissionClientProxy* 193 blink::WebWorkerPermissionClientProxy*
194 ContentRendererClient::CreateWorkerPermissionClientProxy( 194 ContentRendererClient::CreateWorkerPermissionClientProxy(
195 RenderFrame* render_frame, blink::WebFrame* frame) { 195 RenderFrame* render_frame, blink::WebFrame* frame) {
196 return nullptr; 196 return nullptr;
197 } 197 }
198 198
199 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI(
200 const GURL& url) {
201 return false;
202 }
203
199 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { 204 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) {
200 return false; 205 return false;
201 } 206 }
202 207
203 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { 208 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() {
204 return false; 209 return false;
205 } 210 }
206 211
207 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( 212 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate(
208 RenderFrame* render_frame, 213 RenderFrame* render_frame,
209 const std::string& mime_type, 214 const std::string& mime_type,
210 const GURL& original_url) { 215 const GURL& original_url) {
211 return nullptr; 216 return nullptr;
212 } 217 }
213 218
214 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 219 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
215 return std::string(); 220 return std::string();
216 } 221 }
217 222
218 } // namespace content 223 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698