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