| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 const base::Closure& closure) override; | 124 const base::Closure& closure) override; |
| 125 bool RunIdleHandlerWhenWidgetsHidden() override; | 125 bool RunIdleHandlerWhenWidgetsHidden() override; |
| 126 bool AllowTimerSuspensionWhenProcessBackgrounded() override; | 126 bool AllowTimerSuspensionWhenProcessBackgrounded() override; |
| 127 bool AllowPopup() override; | 127 bool AllowPopup() override; |
| 128 bool ShouldFork(blink::WebLocalFrame* frame, | 128 bool ShouldFork(blink::WebLocalFrame* frame, |
| 129 const GURL& url, | 129 const GURL& url, |
| 130 const std::string& http_method, | 130 const std::string& http_method, |
| 131 bool is_initial_navigation, | 131 bool is_initial_navigation, |
| 132 bool is_server_redirect, | 132 bool is_server_redirect, |
| 133 bool* send_referrer) override; | 133 bool* send_referrer) override; |
| 134 bool WillSendRequest(blink::WebFrame* frame, | 134 bool WillSendRequest(blink::WebLocalFrame* frame, |
| 135 ui::PageTransition transition_type, | 135 ui::PageTransition transition_type, |
| 136 const blink::WebURL& url, | 136 const blink::WebURL& url, |
| 137 GURL* new_url) override; | 137 GURL* new_url) override; |
| 138 bool IsPrefetchOnly(content::RenderFrame* render_frame, | 138 bool IsPrefetchOnly(content::RenderFrame* render_frame, |
| 139 const blink::WebURLRequest& request) override; | 139 const blink::WebURLRequest& request) override; |
| 140 unsigned long long VisitedLinkHash(const char* canonical_url, | 140 unsigned long long VisitedLinkHash(const char* canonical_url, |
| 141 size_t length) override; | 141 size_t length) override; |
| 142 bool IsLinkVisited(unsigned long long link_hash) override; | 142 bool IsLinkVisited(unsigned long long link_hash) override; |
| 143 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 143 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
| 144 bool ShouldOverridePageVisibilityState( | 144 bool ShouldOverridePageVisibilityState( |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 #endif | 251 #endif |
| 252 | 252 |
| 253 #if defined(OS_CHROMEOS) | 253 #if defined(OS_CHROMEOS) |
| 254 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; | 254 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; |
| 255 #endif | 255 #endif |
| 256 | 256 |
| 257 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); | 257 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 260 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |