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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 bool IsExternalPepperPlugin(const std::string& module_name) override; | 122 bool IsExternalPepperPlugin(const std::string& module_name) override; |
123 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 123 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
124 blink::WebSpeechSynthesizerClient* client) override; | 124 blink::WebSpeechSynthesizerClient* client) override; |
125 bool ShouldReportDetailedMessageForSource( | 125 bool ShouldReportDetailedMessageForSource( |
126 const base::string16& source) const override; | 126 const base::string16& source) const override; |
127 bool ShouldGatherSiteIsolationStats() const override; | 127 bool ShouldGatherSiteIsolationStats() const override; |
128 blink::WebWorkerContentSettingsClientProxy* | 128 blink::WebWorkerContentSettingsClientProxy* |
129 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, | 129 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, |
130 blink::WebFrame* frame) override; | 130 blink::WebFrame* frame) override; |
131 bool AllowPepperMediaStreamAPI(const GURL& url) override; | 131 bool AllowPepperMediaStreamAPI(const GURL& url) override; |
132 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; | |
133 void AddSupportedKeySystems( | 132 void AddSupportedKeySystems( |
134 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) | 133 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) |
135 override; | 134 override; |
136 bool IsPluginAllowedToUseDevChannelAPIs() override; | 135 bool IsPluginAllowedToUseDevChannelAPIs() override; |
137 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; | 136 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; |
138 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 137 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
139 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 138 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
140 content::RenderFrame* render_frame, | 139 content::RenderFrame* render_frame, |
141 const std::string& mime_type, | 140 const std::string& mime_type, |
142 const GURL& original_url) override; | 141 const GURL& original_url) override; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 #if defined(ENABLE_PRINT_PREVIEW) | 216 #if defined(ENABLE_PRINT_PREVIEW) |
218 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; | 217 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; |
219 #endif | 218 #endif |
220 #if defined(ENABLE_PLUGINS) | 219 #if defined(ENABLE_PLUGINS) |
221 std::set<std::string> allowed_camera_device_origins_; | 220 std::set<std::string> allowed_camera_device_origins_; |
222 std::set<std::string> allowed_compositor_origins_; | 221 std::set<std::string> allowed_compositor_origins_; |
223 #endif | 222 #endif |
224 }; | 223 }; |
225 | 224 |
226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 225 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |