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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const GURL& url, | 133 const GURL& url, |
134 const std::string& http_method, | 134 const std::string& http_method, |
135 bool is_initial_navigation, | 135 bool is_initial_navigation, |
136 bool is_server_redirect, | 136 bool is_server_redirect, |
137 bool* send_referrer) override; | 137 bool* send_referrer) override; |
138 bool WillSendRequest(blink::WebFrame* frame, | 138 bool WillSendRequest(blink::WebFrame* frame, |
139 ui::PageTransition transition_type, | 139 ui::PageTransition transition_type, |
140 const GURL& url, | 140 const GURL& url, |
141 const GURL& first_party_for_cookies, | 141 const GURL& first_party_for_cookies, |
142 GURL* new_url) override; | 142 GURL* new_url) override; |
| 143 bool IsPrefetchOnly(content::RenderFrame* render_frame, |
| 144 const blink::WebURLRequest& request) override; |
143 unsigned long long VisitedLinkHash(const char* canonical_url, | 145 unsigned long long VisitedLinkHash(const char* canonical_url, |
144 size_t length) override; | 146 size_t length) override; |
145 bool IsLinkVisited(unsigned long long link_hash) override; | 147 bool IsLinkVisited(unsigned long long link_hash) override; |
146 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 148 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
147 bool ShouldOverridePageVisibilityState( | 149 bool ShouldOverridePageVisibilityState( |
148 const content::RenderFrame* render_frame, | 150 const content::RenderFrame* render_frame, |
149 blink::WebPageVisibilityState* override_state) override; | 151 blink::WebPageVisibilityState* override_state) override; |
150 bool IsExternalPepperPlugin(const std::string& module_name) override; | 152 bool IsExternalPepperPlugin(const std::string& module_name) override; |
151 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 153 blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
152 blink::WebSpeechSynthesizerClient* client) override; | 154 blink::WebSpeechSynthesizerClient* client) override; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 std::set<std::string> allowed_camera_device_origins_; | 255 std::set<std::string> allowed_camera_device_origins_; |
254 std::set<std::string> allowed_compositor_origins_; | 256 std::set<std::string> allowed_compositor_origins_; |
255 #endif | 257 #endif |
256 | 258 |
257 #if defined(OS_CHROMEOS) | 259 #if defined(OS_CHROMEOS) |
258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; | 260 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; |
259 #endif | 261 #endif |
260 }; | 262 }; |
261 | 263 |
262 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |