| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // NavigationHandle implementation: | 114 // NavigationHandle implementation: |
| 115 const GURL& GetURL() override; | 115 const GURL& GetURL() override; |
| 116 SiteInstance* GetStartingSiteInstance() override; | 116 SiteInstance* GetStartingSiteInstance() override; |
| 117 bool IsInMainFrame() override; | 117 bool IsInMainFrame() override; |
| 118 bool IsParentMainFrame() override; | 118 bool IsParentMainFrame() override; |
| 119 bool IsRendererInitiated() override; | 119 bool IsRendererInitiated() override; |
| 120 bool WasServerRedirect() override; | 120 bool WasServerRedirect() override; |
| 121 const std::vector<GURL>& GetRedirectChain() override; | 121 const std::vector<GURL>& GetRedirectChain() override; |
| 122 int GetFrameTreeNodeId() override; | 122 int GetFrameTreeNodeId() override; |
| 123 int GetParentFrameTreeNodeId() override; | 123 int GetParentFrameTreeNodeId() override; |
| 124 RenderFrameHostImpl* GetParentFrame() override; |
| 124 const base::TimeTicks& NavigationStart() override; | 125 const base::TimeTicks& NavigationStart() override; |
| 125 bool IsPost() override; | 126 bool IsPost() override; |
| 126 const Referrer& GetReferrer() override; | 127 const Referrer& GetReferrer() override; |
| 127 bool HasUserGesture() override; | 128 bool HasUserGesture() override; |
| 128 ui::PageTransition GetPageTransition() override; | 129 ui::PageTransition GetPageTransition() override; |
| 129 bool IsExternalProtocol() override; | 130 bool IsExternalProtocol() override; |
| 130 net::Error GetNetErrorCode() override; | 131 net::Error GetNetErrorCode() override; |
| 131 RenderFrameHostImpl* GetRenderFrameHost() override; | 132 RenderFrameHostImpl* GetRenderFrameHost() override; |
| 132 bool IsSameDocument() override; | 133 bool IsSameDocument() override; |
| 133 bool HasCommitted() override; | 134 bool HasCommitted() override; |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 SourceLocation source_location_; | 563 SourceLocation source_location_; |
| 563 | 564 |
| 564 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; | 565 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; |
| 565 | 566 |
| 566 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); | 567 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); |
| 567 }; | 568 }; |
| 568 | 569 |
| 569 } // namespace content | 570 } // namespace content |
| 570 | 571 |
| 571 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ | 572 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ |
| OLD | NEW |