| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy( | 137 blink::WebWorkerPermissionClientProxy* CreateWorkerPermissionClientProxy( |
| 138 content::RenderFrame* render_frame, | 138 content::RenderFrame* render_frame, |
| 139 blink::WebFrame* frame) override; | 139 blink::WebFrame* frame) override; |
| 140 bool AllowPepperMediaStreamAPI(const GURL& url) override; | 140 bool AllowPepperMediaStreamAPI(const GURL& url) override; |
| 141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; | 141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; |
| 142 bool IsPluginAllowedToUseDevChannelAPIs() override; | 142 bool IsPluginAllowedToUseDevChannelAPIs() override; |
| 143 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 143 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
| 144 bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override; | 144 bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override; |
| 145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 146 content::RenderFrame* render_frame, | 146 content::RenderFrame* render_frame, |
| 147 const std::string& mime_type) override; | 147 const std::string& mime_type, |
| 148 const GURL& original_url) override; |
| 148 | 149 |
| 149 #if defined(ENABLE_EXTENSIONS) | 150 #if defined(ENABLE_EXTENSIONS) |
| 150 // Takes ownership. | 151 // Takes ownership. |
| 151 void SetExtensionDispatcherForTest( | 152 void SetExtensionDispatcherForTest( |
| 152 extensions::Dispatcher* extension_dispatcher); | 153 extensions::Dispatcher* extension_dispatcher); |
| 153 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 154 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
| 154 #endif | 155 #endif |
| 155 | 156 |
| 156 #if defined(ENABLE_SPELLCHECK) | 157 #if defined(ENABLE_SPELLCHECK) |
| 157 // Sets a new |spellcheck|. Used for testing only. | 158 // Sets a new |spellcheck|. Used for testing only. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 #if defined(ENABLE_PRINT_PREVIEW) | 235 #if defined(ENABLE_PRINT_PREVIEW) |
| 235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 236 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 236 #endif | 237 #endif |
| 237 #if defined(ENABLE_PLUGINS) | 238 #if defined(ENABLE_PLUGINS) |
| 238 std::set<std::string> allowed_compositor_origins_; | 239 std::set<std::string> allowed_compositor_origins_; |
| 239 std::set<std::string> allowed_video_decode_origins_; | 240 std::set<std::string> allowed_video_decode_origins_; |
| 240 #endif | 241 #endif |
| 241 }; | 242 }; |
| 242 | 243 |
| 243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 244 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |