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