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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 const base::string16& source) const override; | 131 const base::string16& source) const override; |
132 bool ShouldEnableSiteIsolationPolicy() const override; | 132 bool ShouldEnableSiteIsolationPolicy() const override; |
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* CreateWebViewContainer( |
| 142 content::RenderFrame* render_frame) override; |
| 143 content::BrowserPluginDelegate* CreateMimeHandlerViewContainer( |
142 content::RenderFrame* render_frame, | 144 content::RenderFrame* render_frame, |
143 const std::string& mime_type) override; | 145 const std::string& mime_type) override; |
144 | 146 |
145 #if defined(ENABLE_EXTENSIONS) | 147 #if defined(ENABLE_EXTENSIONS) |
146 // Takes ownership. | 148 // Takes ownership. |
147 void SetExtensionDispatcherForTest( | 149 void SetExtensionDispatcherForTest( |
148 extensions::Dispatcher* extension_dispatcher); | 150 extensions::Dispatcher* extension_dispatcher); |
149 extensions::Dispatcher* GetExtensionDispatcherForTest(); | 151 extensions::Dispatcher* GetExtensionDispatcherForTest(); |
150 #endif | 152 #endif |
151 | 153 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 #if defined(ENABLE_FULL_PRINTING) | 232 #if defined(ENABLE_FULL_PRINTING) |
231 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 233 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
232 #endif | 234 #endif |
233 #if defined(ENABLE_PLUGINS) | 235 #if defined(ENABLE_PLUGINS) |
234 std::set<std::string> allowed_compositor_origins_; | 236 std::set<std::string> allowed_compositor_origins_; |
235 std::set<std::string> allowed_video_decode_origins_; | 237 std::set<std::string> allowed_video_decode_origins_; |
236 #endif | 238 #endif |
237 }; | 239 }; |
238 | 240 |
239 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 241 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |