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

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

Issue 968983002: Rename blink::WebWorkerPermissionProxyClient to blink::WebWorkerContentSettingsProxyClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gypi typo Created 5 years, 9 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 29 matching lines...) Expand all
40 class WebPlugin; 40 class WebPlugin;
41 class WebPluginContainer; 41 class WebPluginContainer;
42 class WebPluginPlaceholder; 42 class WebPluginPlaceholder;
43 class WebPrescientNetworking; 43 class WebPrescientNetworking;
44 class WebRTCPeerConnectionHandler; 44 class WebRTCPeerConnectionHandler;
45 class WebRTCPeerConnectionHandlerClient; 45 class WebRTCPeerConnectionHandlerClient;
46 class WebSpeechSynthesizer; 46 class WebSpeechSynthesizer;
47 class WebSpeechSynthesizerClient; 47 class WebSpeechSynthesizerClient;
48 class WebThemeEngine; 48 class WebThemeEngine;
49 class WebURLRequest; 49 class WebURLRequest;
50 class WebWorkerPermissionClientProxy; 50 class WebWorkerContentSettingsClientProxy;
51 struct WebPluginParams; 51 struct WebPluginParams;
52 struct WebURLError; 52 struct WebURLError;
53 } 53 }
54 54
55 namespace media { 55 namespace media {
56 class MediaLog; 56 class MediaLog;
57 class RendererFactory; 57 class RendererFactory;
58 struct KeySystemInfo; 58 struct KeySystemInfo;
59 } 59 }
60 60
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // and can be external or internal. 274 // and can be external or internal.
275 virtual bool ShouldReportDetailedMessageForSource( 275 virtual bool ShouldReportDetailedMessageForSource(
276 const base::string16& source) const; 276 const base::string16& source) const;
277 277
278 // Returns true if we should apply the cross-site document blocking policy to 278 // Returns true if we should apply the cross-site document blocking policy to
279 // this renderer process. Currently, we apply the policy only to a renderer 279 // this renderer process. Currently, we apply the policy only to a renderer
280 // process running on a normal page from the web. 280 // process running on a normal page from the web.
281 virtual bool ShouldEnableSiteIsolationPolicy() const; 281 virtual bool ShouldEnableSiteIsolationPolicy() const;
282 282
283 // Creates a permission client proxy for in-renderer worker. 283 // Creates a permission client proxy for in-renderer worker.
284 virtual blink::WebWorkerPermissionClientProxy* 284 virtual blink::WebWorkerContentSettingsClientProxy*
285 CreateWorkerPermissionClientProxy(RenderFrame* render_frame, 285 CreateWorkerContentSettingsClientProxy(RenderFrame* render_frame,
286 blink::WebFrame* frame); 286 blink::WebFrame* frame);
287 287
288 // Returns true if the page at |url| can use Pepper CameraDevice APIs. 288 // Returns true if the page at |url| can use Pepper CameraDevice APIs.
289 virtual bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url); 289 virtual bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url);
290 290
291 // Returns true if the page at |url| can use Pepper Compositor APIs. 291 // Returns true if the page at |url| can use Pepper Compositor APIs.
292 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url); 292 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url);
293 293
294 // Returns true if dev channel APIs are available for plugins. 294 // Returns true if dev channel APIs are available for plugins.
295 virtual bool IsPluginAllowedToUseDevChannelAPIs(); 295 virtual bool IsPluginAllowedToUseDevChannelAPIs();
296 296
297 // Returns a user agent override specific for |url|, or empty string if 297 // Returns a user agent override specific for |url|, or empty string if
298 // default user agent should be used. 298 // default user agent should be used.
299 virtual std::string GetUserAgentOverrideForURL(const GURL& url); 299 virtual std::string GetUserAgentOverrideForURL(const GURL& url);
300 }; 300 };
301 301
302 } // namespace content 302 } // namespace content
303 303
304 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 304 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698