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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 148 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
149 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 149 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
150 content::RenderFrame* render_frame, | 150 content::RenderFrame* render_frame, |
151 const std::string& mime_type, | 151 const std::string& mime_type, |
152 const GURL& original_url) override; | 152 const GURL& original_url) override; |
| 153 bool OverrideManifestParser(content::ManifestParser** parser) override; |
153 | 154 |
154 #if defined(ENABLE_EXTENSIONS) | 155 #if defined(ENABLE_EXTENSIONS) |
155 // Takes ownership. | 156 // Takes ownership. |
156 void SetExtensionDispatcherForTest( | 157 void SetExtensionDispatcherForTest( |
157 extensions::Dispatcher* extension_dispatcher); | 158 extensions::Dispatcher* extension_dispatcher); |
158 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 159 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
159 #endif | 160 #endif |
160 | 161 |
161 #if defined(ENABLE_SPELLCHECK) | 162 #if defined(ENABLE_SPELLCHECK) |
162 // Sets a new |spellcheck|. Used for testing only. | 163 // Sets a new |spellcheck|. Used for testing only. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 #if defined(ENABLE_PRINT_PREVIEW) | 240 #if defined(ENABLE_PRINT_PREVIEW) |
240 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
241 #endif | 242 #endif |
242 #if defined(ENABLE_PLUGINS) | 243 #if defined(ENABLE_PLUGINS) |
243 std::set<std::string> allowed_compositor_origins_; | 244 std::set<std::string> allowed_compositor_origins_; |
244 std::set<std::string> allowed_video_decode_origins_; | 245 std::set<std::string> allowed_video_decode_origins_; |
245 #endif | 246 #endif |
246 }; | 247 }; |
247 | 248 |
248 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |