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