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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 132 void AddKeySystems(std::vector<media::KeySystemInfo>* key_systems) override; |
| 133 void AddSupportedKeySystems( |
| 134 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) |
| 135 override; |
133 bool IsPluginAllowedToUseDevChannelAPIs() override; | 136 bool IsPluginAllowedToUseDevChannelAPIs() override; |
134 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; | 137 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; |
135 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; | 138 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; |
136 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( | 139 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
137 content::RenderFrame* render_frame, | 140 content::RenderFrame* render_frame, |
138 const std::string& mime_type, | 141 const std::string& mime_type, |
139 const GURL& original_url) override; | 142 const GURL& original_url) override; |
140 void RecordRappor(const std::string& metric, | 143 void RecordRappor(const std::string& metric, |
141 const std::string& sample) override; | 144 const std::string& sample) override; |
142 void RecordRapporURL(const std::string& metric, const GURL& url) override; | 145 void RecordRapporURL(const std::string& metric, const GURL& url) override; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 #if defined(ENABLE_PRINT_PREVIEW) | 217 #if defined(ENABLE_PRINT_PREVIEW) |
215 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; | 218 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; |
216 #endif | 219 #endif |
217 #if defined(ENABLE_PLUGINS) | 220 #if defined(ENABLE_PLUGINS) |
218 std::set<std::string> allowed_camera_device_origins_; | 221 std::set<std::string> allowed_camera_device_origins_; |
219 std::set<std::string> allowed_compositor_origins_; | 222 std::set<std::string> allowed_compositor_origins_; |
220 #endif | 223 #endif |
221 }; | 224 }; |
222 | 225 |
223 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |