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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
124 const base::TimeTicks& NavigationStart() override; | 124 const base::TimeTicks& NavigationStart() override; |
125 bool IsPost() override; | 125 bool IsPost() override; |
126 const Referrer& GetReferrer() override; | 126 const Referrer& GetReferrer() override; |
127 bool HasUserGesture() override; | 127 bool HasUserGesture() override; |
128 ui::PageTransition GetPageTransition() override; | 128 ui::PageTransition GetPageTransition() override; |
129 bool IsExternalProtocol() override; | 129 bool IsExternalProtocol() override; |
130 net::Error GetNetErrorCode() override; | 130 net::Error GetNetErrorCode() override; |
131 RenderFrameHostImpl* GetRenderFrameHost() override; | 131 RenderFrameHostImpl* GetRenderFrameHost() override; |
132 bool IsSameDocument() override; | 132 bool IsSameDocument() override; |
133 bool HasCommitted() override; | 133 bool HasCommitted() override; |
134 bool IsDownload() override; | |
nasko
2017/03/30 23:15:45
This will move down and become is_download(), sinc
meacer
2017/04/05 22:33:28
By move down I assume you mean move away from the
| |
134 bool IsErrorPage() override; | 135 bool IsErrorPage() override; |
135 bool HasSubframeNavigationEntryCommitted() override; | 136 bool HasSubframeNavigationEntryCommitted() override; |
136 bool DidReplaceEntry() override; | 137 bool DidReplaceEntry() override; |
137 bool ShouldUpdateHistory() override; | 138 bool ShouldUpdateHistory() override; |
138 const GURL& GetPreviousURL() override; | 139 const GURL& GetPreviousURL() override; |
139 net::HostPortPair GetSocketAddress() override; | 140 net::HostPortPair GetSocketAddress() override; |
140 const net::HttpResponseHeaders* GetResponseHeaders() override; | 141 const net::HttpResponseHeaders* GetResponseHeaders() override; |
141 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override; | 142 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override; |
142 void Resume() override; | 143 void Resume() override; |
143 void CancelDeferredNavigation( | 144 void CancelDeferredNavigation( |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
557 SourceLocation source_location_; | 558 SourceLocation source_location_; |
558 | 559 |
559 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 560 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
560 | 561 |
561 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 562 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
562 }; | 563 }; |
563 | 564 |
564 } // namespace content | 565 } // namespace content |
565 | 566 |
566 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 567 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
OLD | NEW |