OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
7 | 7 |
8 #include "content/public/browser/navigation_handle.h" | 8 #include "content/public/browser/navigation_handle.h" |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const base::TimeTicks& NavigationStart() override; | 123 const base::TimeTicks& NavigationStart() override; |
124 bool IsPost() override; | 124 bool IsPost() override; |
125 const Referrer& GetReferrer() override; | 125 const Referrer& GetReferrer() override; |
126 bool HasUserGesture() override; | 126 bool HasUserGesture() override; |
127 ui::PageTransition GetPageTransition() override; | 127 ui::PageTransition GetPageTransition() override; |
128 bool IsExternalProtocol() override; | 128 bool IsExternalProtocol() override; |
129 net::Error GetNetErrorCode() override; | 129 net::Error GetNetErrorCode() override; |
130 RenderFrameHostImpl* GetRenderFrameHost() override; | 130 RenderFrameHostImpl* GetRenderFrameHost() override; |
131 bool IsSameDocument() override; | 131 bool IsSameDocument() override; |
132 bool HasCommitted() override; | 132 bool HasCommitted() override; |
| 133 bool IsDownload() override; |
133 bool IsErrorPage() override; | 134 bool IsErrorPage() override; |
134 bool DidReplaceEntry() override; | 135 bool DidReplaceEntry() override; |
135 bool ShouldUpdateHistory() override; | 136 bool ShouldUpdateHistory() override; |
136 const GURL& GetPreviousURL() override; | 137 const GURL& GetPreviousURL() override; |
137 net::HostPortPair GetSocketAddress() override; | 138 net::HostPortPair GetSocketAddress() override; |
138 const net::HttpResponseHeaders* GetResponseHeaders() override; | 139 const net::HttpResponseHeaders* GetResponseHeaders() override; |
139 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override; | 140 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override; |
140 void Resume() override; | 141 void Resume() override; |
141 void CancelDeferredNavigation( | 142 void CancelDeferredNavigation( |
142 NavigationThrottle::ThrottleCheckResult result) override; | 143 NavigationThrottle::ThrottleCheckResult result) override; |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 NavigationType navigation_type_; | 523 NavigationType navigation_type_; |
523 | 524 |
524 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 525 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
525 | 526 |
526 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 527 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
527 }; | 528 }; |
528 | 529 |
529 } // namespace content | 530 } // namespace content |
530 | 531 |
531 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 532 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
OLD | NEW |