| 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 const base::string16& source) const override; | 140 const base::string16& source) const override; |
| 141 bool ShouldEnableSiteIsolationPolicy() const override; | 141 bool ShouldEnableSiteIsolationPolicy() const override; |
| 142 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy( | 142 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy( |
| 143 content::RenderFrame* render_frame, | 143 content::RenderFrame* render_frame, |
| 144 blink::WebFrame* frame) override; | 144 blink::WebFrame* frame) override; |
| 145 bool AllowPepperMediaStreamAPI(const GURL& url) override; | 145 bool AllowPepperMediaStreamAPI(const GURL& url) override; |
| 146 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; | 146 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; |
| 147 bool IsPluginAllowedToUseDevChannelAPIs() override; | 147 bool IsPluginAllowedToUseDevChannelAPIs() override; |
| 148 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; | 148 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; |
| 149 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 149 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
| 150 bool IsPluginAllowedToUseMulticastAPI() override; |
| 150 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 151 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 151 content::RenderFrame* render_frame, | 152 content::RenderFrame* render_frame, |
| 152 const std::string& mime_type, | 153 const std::string& mime_type, |
| 153 const GURL& original_url) override; | 154 const GURL& original_url) override; |
| 154 | 155 |
| 155 #if defined(ENABLE_EXTENSIONS) | 156 #if defined(ENABLE_EXTENSIONS) |
| 156 // Takes ownership. | 157 // Takes ownership. |
| 157 void SetExtensionDispatcherForTest( | 158 void SetExtensionDispatcherForTest( |
| 158 extensions::Dispatcher* extension_dispatcher); | 159 extensions::Dispatcher* extension_dispatcher); |
| 159 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 160 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 #if defined(ENABLE_PRINT_PREVIEW) | 241 #if defined(ENABLE_PRINT_PREVIEW) |
| 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 242 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 242 #endif | 243 #endif |
| 243 #if defined(ENABLE_PLUGINS) | 244 #if defined(ENABLE_PLUGINS) |
| 244 std::set<std::string> allowed_camera_device_origins_; | 245 std::set<std::string> allowed_camera_device_origins_; |
| 245 std::set<std::string> allowed_compositor_origins_; | 246 std::set<std::string> allowed_compositor_origins_; |
| 246 #endif | 247 #endif |
| 247 }; | 248 }; |
| 248 | 249 |
| 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 250 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |