| 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 10 matching lines...) Expand all Loading... |
| 21 class RendererNetPredictor; | 21 class RendererNetPredictor; |
| 22 class SearchBouncer; | 22 class SearchBouncer; |
| 23 #if defined(ENABLE_SPELLCHECK) | 23 #if defined(ENABLE_SPELLCHECK) |
| 24 class SpellCheck; | 24 class SpellCheck; |
| 25 class SpellCheckProvider; | 25 class SpellCheckProvider; |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 struct ChromeViewHostMsg_GetPluginInfo_Output; | 28 struct ChromeViewHostMsg_GetPluginInfo_Output; |
| 29 | 29 |
| 30 namespace content { | 30 namespace content { |
| 31 class BrowserPluginDelegate; |
| 31 struct WebPluginInfo; | 32 struct WebPluginInfo; |
| 32 } | 33 } |
| 33 | 34 |
| 34 namespace extensions { | 35 namespace extensions { |
| 35 class Dispatcher; | 36 class Dispatcher; |
| 36 class Extension; | 37 class Extension; |
| 37 class ExtensionSet; | 38 class ExtensionSet; |
| 38 class RendererPermissionsPolicyDelegate; | 39 class RendererPermissionsPolicyDelegate; |
| 39 } | 40 } |
| 40 | 41 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 130 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
| 130 virtual blink::WebWorkerPermissionClientProxy* | 131 virtual blink::WebWorkerPermissionClientProxy* |
| 131 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, | 132 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, |
| 132 blink::WebFrame* frame) OVERRIDE; | 133 blink::WebFrame* frame) OVERRIDE; |
| 133 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; | 134 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; |
| 134 virtual void AddKeySystems( | 135 virtual void AddKeySystems( |
| 135 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; | 136 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; |
| 136 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; | 137 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; |
| 137 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE; | 138 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE; |
| 138 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE; | 139 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE; |
| 140 virtual content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 141 int routing_id, const std::string& mime_type) OVERRIDE; |
| 139 | 142 |
| 140 // Takes ownership. | 143 // Takes ownership. |
| 141 void SetExtensionDispatcherForTest( | 144 void SetExtensionDispatcherForTest( |
| 142 extensions::Dispatcher* extension_dispatcher); | 145 extensions::Dispatcher* extension_dispatcher); |
| 143 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 146 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
| 144 | 147 |
| 145 #if defined(ENABLE_SPELLCHECK) | 148 #if defined(ENABLE_SPELLCHECK) |
| 146 // Sets a new |spellcheck|. Used for testing only. | 149 // Sets a new |spellcheck|. Used for testing only. |
| 147 // Takes ownership of |spellcheck|. | 150 // Takes ownership of |spellcheck|. |
| 148 void SetSpellcheck(SpellCheck* spellcheck); | 151 void SetSpellcheck(SpellCheck* spellcheck); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 210 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 208 #endif | 211 #endif |
| 209 scoped_ptr<SearchBouncer> search_bouncer_; | 212 scoped_ptr<SearchBouncer> search_bouncer_; |
| 210 #if defined(ENABLE_PLUGINS) | 213 #if defined(ENABLE_PLUGINS) |
| 211 std::set<std::string> allowed_compositor_origins_; | 214 std::set<std::string> allowed_compositor_origins_; |
| 212 std::set<std::string> allowed_video_decode_origins_; | 215 std::set<std::string> allowed_video_decode_origins_; |
| 213 #endif | 216 #endif |
| 214 }; | 217 }; |
| 215 | 218 |
| 216 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 219 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |