Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Side by Side Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2524763002: make NavigationGesture part of public content API and use it outside content (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool IsInMainFrame() override; 95 bool IsInMainFrame() override;
96 bool IsParentMainFrame() override; 96 bool IsParentMainFrame() override;
97 bool IsRendererInitiated() override; 97 bool IsRendererInitiated() override;
98 bool IsSrcdoc() override; 98 bool IsSrcdoc() override;
99 bool WasServerRedirect() override; 99 bool WasServerRedirect() override;
100 int GetFrameTreeNodeId() override; 100 int GetFrameTreeNodeId() override;
101 int GetParentFrameTreeNodeId() override; 101 int GetParentFrameTreeNodeId() override;
102 const base::TimeTicks& NavigationStart() override; 102 const base::TimeTicks& NavigationStart() override;
103 bool IsPost() override; 103 bool IsPost() override;
104 const Referrer& GetReferrer() override; 104 const Referrer& GetReferrer() override;
105 bool HasUserGesture() override; 105 NavigationGesture GetNavigationGesture() override;
106 ui::PageTransition GetPageTransition() override; 106 ui::PageTransition GetPageTransition() override;
107 bool IsExternalProtocol() override; 107 bool IsExternalProtocol() override;
108 net::Error GetNetErrorCode() override; 108 net::Error GetNetErrorCode() override;
109 RenderFrameHostImpl* GetRenderFrameHost() override; 109 RenderFrameHostImpl* GetRenderFrameHost() override;
110 bool IsSamePage() override; 110 bool IsSamePage() override;
111 bool HasCommitted() override; 111 bool HasCommitted() override;
112 bool IsErrorPage() override; 112 bool IsErrorPage() override;
113 const net::HttpResponseHeaders* GetResponseHeaders() override; 113 const net::HttpResponseHeaders* GetResponseHeaders() override;
114 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override; 114 net::HttpResponseInfo::ConnectionInfo GetConnectionInfo() override;
115 void Resume() override; 115 void Resume() override;
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 std::string searchable_form_encoding_; 431 std::string searchable_form_encoding_;
432 432
433 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 433 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
434 434
435 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 435 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
436 }; 436 };
437 437
438 } // namespace content 438 } // namespace content
439 439
440 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 440 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « components/navigation_interception/navigation_params.cc ('k') | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698