| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 bool IsPrefetchOnly(content::RenderFrame* render_frame, | 144 bool IsPrefetchOnly(content::RenderFrame* render_frame, |
| 145 const blink::WebURLRequest& request) override; | 145 const blink::WebURLRequest& request) override; |
| 146 unsigned long long VisitedLinkHash(const char* canonical_url, | 146 unsigned long long VisitedLinkHash(const char* canonical_url, |
| 147 size_t length) override; | 147 size_t length) override; |
| 148 bool IsLinkVisited(unsigned long long link_hash) override; | 148 bool IsLinkVisited(unsigned long long link_hash) override; |
| 149 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 149 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
| 150 bool ShouldOverridePageVisibilityState( | 150 bool ShouldOverridePageVisibilityState( |
| 151 const content::RenderFrame* render_frame, | 151 const content::RenderFrame* render_frame, |
| 152 blink::WebPageVisibilityState* override_state) override; | 152 blink::WebPageVisibilityState* override_state) override; |
| 153 bool IsExternalPepperPlugin(const std::string& module_name) override; | 153 bool IsExternalPepperPlugin(const std::string& module_name) override; |
| 154 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 154 std::unique_ptr<blink::WebSpeechSynthesizer> OverrideSpeechSynthesizer( |
| 155 blink::WebSpeechSynthesizerClient* client) override; | 155 blink::WebSpeechSynthesizerClient* client) override; |
| 156 bool ShouldReportDetailedMessageForSource( | 156 bool ShouldReportDetailedMessageForSource( |
| 157 const base::string16& source) const override; | 157 const base::string16& source) const override; |
| 158 bool ShouldGatherSiteIsolationStats() const override; | 158 bool ShouldGatherSiteIsolationStats() const override; |
| 159 blink::WebWorkerContentSettingsClientProxy* | 159 blink::WebWorkerContentSettingsClientProxy* |
| 160 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, | 160 CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame, |
| 161 blink::WebFrame* frame) override; | 161 blink::WebFrame* frame) override; |
| 162 bool AllowPepperMediaStreamAPI(const GURL& url) override; | 162 bool AllowPepperMediaStreamAPI(const GURL& url) override; |
| 163 void AddSupportedKeySystems( | 163 void AddSupportedKeySystems( |
| 164 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) | 164 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // Observes module load and unload events and notifies the ModuleDatabase in | 270 // Observes module load and unload events and notifies the ModuleDatabase in |
| 271 // the browser process. | 271 // the browser process. |
| 272 std::unique_ptr<ModuleWatcher> module_watcher_; | 272 std::unique_ptr<ModuleWatcher> module_watcher_; |
| 273 mojom::ModuleEventSinkPtr module_event_sink_; | 273 mojom::ModuleEventSinkPtr module_event_sink_; |
| 274 #endif | 274 #endif |
| 275 | 275 |
| 276 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 276 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 277 }; | 277 }; |
| 278 | 278 |
| 279 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 279 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |