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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 126 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
127 bool ShouldOverridePageVisibilityState( | 127 bool ShouldOverridePageVisibilityState( |
128 const content::RenderFrame* render_frame, | 128 const content::RenderFrame* render_frame, |
129 blink::WebPageVisibilityState* override_state) override; | 129 blink::WebPageVisibilityState* override_state) override; |
130 const void* CreatePPAPIInterface(const std::string& interface_name) override; | 130 const void* CreatePPAPIInterface(const std::string& interface_name) override; |
131 bool IsExternalPepperPlugin(const std::string& module_name) override; | 131 bool IsExternalPepperPlugin(const std::string& module_name) override; |
132 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 132 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
133 blink::WebSpeechSynthesizerClient* client) override; | 133 blink::WebSpeechSynthesizerClient* client) override; |
134 bool ShouldReportDetailedMessageForSource( | 134 bool ShouldReportDetailedMessageForSource( |
135 const base::string16& source) const override; | 135 const base::string16& source) const override; |
136 bool ShouldEnableSiteIsolationPolicy() const override; | 136 bool ShouldGatherSiteIsolationStats() const override; |
137 blink::WebWorkerContentSettingsClientProxy* | 137 blink::WebWorkerContentSettingsClientProxy* |
138 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, | 138 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, |
139 blink::WebFrame* frame) override; | 139 blink::WebFrame* frame) override; |
140 bool AllowPepperMediaStreamAPI(const GURL& url) override; | 140 bool AllowPepperMediaStreamAPI(const GURL& url) override; |
141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; | 141 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; |
142 bool IsPluginAllowedToUseDevChannelAPIs() override; | 142 bool IsPluginAllowedToUseDevChannelAPIs() override; |
143 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; | 143 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; |
144 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 144 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 145 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
146 content::RenderFrame* render_frame, | 146 content::RenderFrame* render_frame, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 #if defined(ENABLE_PRINT_PREVIEW) | 245 #if defined(ENABLE_PRINT_PREVIEW) |
246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 246 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
247 #endif | 247 #endif |
248 #if defined(ENABLE_PLUGINS) | 248 #if defined(ENABLE_PLUGINS) |
249 std::set<std::string> allowed_camera_device_origins_; | 249 std::set<std::string> allowed_camera_device_origins_; |
250 std::set<std::string> allowed_compositor_origins_; | 250 std::set<std::string> allowed_compositor_origins_; |
251 #endif | 251 #endif |
252 }; | 252 }; |
253 | 253 |
254 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 254 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |