| 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 #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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 virtual bool ShouldEnableSiteIsolationPolicy() const; | 282 virtual bool ShouldEnableSiteIsolationPolicy() const; |
| 283 | 283 |
| 284 // Creates a permission client proxy for in-renderer worker. | 284 // Creates a permission client proxy for in-renderer worker. |
| 285 virtual blink::WebWorkerPermissionClientProxy* | 285 virtual blink::WebWorkerPermissionClientProxy* |
| 286 CreateWorkerPermissionClientProxy(RenderFrame* render_frame, | 286 CreateWorkerPermissionClientProxy(RenderFrame* render_frame, |
| 287 blink::WebFrame* frame); | 287 blink::WebFrame* frame); |
| 288 | 288 |
| 289 // Returns true if the page at |url| can use Pepper Compositor APIs. | 289 // Returns true if the page at |url| can use Pepper Compositor APIs. |
| 290 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url); | 290 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url); |
| 291 | 291 |
| 292 // Returns true if the page at |url| can use Pepper VideoDecoder APIs. | |
| 293 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url); | |
| 294 | |
| 295 // Returns true if dev channel APIs are available for plugins. | 292 // Returns true if dev channel APIs are available for plugins. |
| 296 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 293 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
| 297 | 294 |
| 298 // Returns a user agent override specific for |url|, or empty string if | 295 // Returns a user agent override specific for |url|, or empty string if |
| 299 // default user agent should be used. | 296 // default user agent should be used. |
| 300 virtual std::string GetUserAgentOverrideForURL(const GURL& url); | 297 virtual std::string GetUserAgentOverrideForURL(const GURL& url); |
| 301 }; | 298 }; |
| 302 | 299 |
| 303 } // namespace content | 300 } // namespace content |
| 304 | 301 |
| 305 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 302 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |