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 13 matching lines...) Expand all Loading... |
24 class RendererNetPredictor; | 24 class RendererNetPredictor; |
25 class SearchBouncer; | 25 class SearchBouncer; |
26 #if defined(ENABLE_SPELLCHECK) | 26 #if defined(ENABLE_SPELLCHECK) |
27 class SpellCheck; | 27 class SpellCheck; |
28 class SpellCheckProvider; | 28 class SpellCheckProvider; |
29 #endif | 29 #endif |
30 | 30 |
31 struct ChromeViewHostMsg_GetPluginInfo_Output; | 31 struct ChromeViewHostMsg_GetPluginInfo_Output; |
32 | 32 |
33 namespace content { | 33 namespace content { |
| 34 class BrowserPluginDelegate; |
34 struct WebPluginInfo; | 35 struct WebPluginInfo; |
35 } | 36 } |
36 | 37 |
37 namespace extensions { | 38 namespace extensions { |
38 class Dispatcher; | 39 class Dispatcher; |
39 class Extension; | 40 class Extension; |
40 class ExtensionSet; | 41 class ExtensionSet; |
41 class RendererPermissionsPolicyDelegate; | 42 class RendererPermissionsPolicyDelegate; |
42 } | 43 } |
43 | 44 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 133 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
133 virtual blink::WebWorkerPermissionClientProxy* | 134 virtual blink::WebWorkerPermissionClientProxy* |
134 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, | 135 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, |
135 blink::WebFrame* frame) OVERRIDE; | 136 blink::WebFrame* frame) OVERRIDE; |
136 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; | 137 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; |
137 virtual void AddKeySystems( | 138 virtual void AddKeySystems( |
138 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; | 139 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; |
139 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; | 140 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; |
140 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE; | 141 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE; |
141 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE; | 142 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE; |
| 143 virtual content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 144 content::RenderFrame* render_frame, |
| 145 const std::string& mime_type) OVERRIDE; |
142 | 146 |
143 // Takes ownership. | 147 // Takes ownership. |
144 void SetExtensionDispatcherForTest( | 148 void SetExtensionDispatcherForTest( |
145 extensions::Dispatcher* extension_dispatcher); | 149 extensions::Dispatcher* extension_dispatcher); |
146 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 150 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
147 | 151 |
148 #if defined(ENABLE_SPELLCHECK) | 152 #if defined(ENABLE_SPELLCHECK) |
149 // Sets a new |spellcheck|. Used for testing only. | 153 // Sets a new |spellcheck|. Used for testing only. |
150 // Takes ownership of |spellcheck|. | 154 // Takes ownership of |spellcheck|. |
151 void SetSpellcheck(SpellCheck* spellcheck); | 155 void SetSpellcheck(SpellCheck* spellcheck); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 #if defined(ENABLE_FULL_PRINTING) | 217 #if defined(ENABLE_FULL_PRINTING) |
214 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 218 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
215 #endif | 219 #endif |
216 #if defined(ENABLE_PLUGINS) | 220 #if defined(ENABLE_PLUGINS) |
217 std::set<std::string> allowed_compositor_origins_; | 221 std::set<std::string> allowed_compositor_origins_; |
218 std::set<std::string> allowed_video_decode_origins_; | 222 std::set<std::string> allowed_video_decode_origins_; |
219 #endif | 223 #endif |
220 }; | 224 }; |
221 | 225 |
222 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |