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

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: Fix permission check 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 187 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const {
188 return true; 188 return true;
189 } 189 }
190 190
191 blink::WebWorkerPermissionClientProxy* 191 blink::WebWorkerPermissionClientProxy*
192 ContentRendererClient::CreateWorkerPermissionClientProxy( 192 ContentRendererClient::CreateWorkerPermissionClientProxy(
193 RenderFrame* render_frame, blink::WebFrame* frame) { 193 RenderFrame* render_frame, blink::WebFrame* frame) {
194 return nullptr; 194 return nullptr;
195 } 195 }
196 196
197 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI(
198 const GURL& url) {
199 return false;
200 }
201
197 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { 202 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) {
198 return false; 203 return false;
199 } 204 }
200 205
201 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { 206 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() {
202 return false; 207 return false;
203 } 208 }
204 209
205 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( 210 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate(
206 RenderFrame* render_frame, 211 RenderFrame* render_frame,
207 const std::string& mime_type, 212 const std::string& mime_type,
208 const GURL& original_url) { 213 const GURL& original_url) {
209 return nullptr; 214 return nullptr;
210 } 215 }
211 216
212 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 217 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
213 return std::string(); 218 return std::string();
214 } 219 }
215 220
216 } // namespace content 221 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698