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

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

Issue 2653023002: Convert PrerenderContents to use the new navigation callbacks. (Closed)
Patch Set: merge Created 3 years, 11 months 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool started_from_context_menu); 90 bool started_from_context_menu);
91 ~NavigationHandleImpl() override; 91 ~NavigationHandleImpl() override;
92 92
93 // NavigationHandle implementation: 93 // NavigationHandle implementation:
94 const GURL& GetURL() override; 94 const GURL& GetURL() override;
95 SiteInstance* GetStartingSiteInstance() override; 95 SiteInstance* GetStartingSiteInstance() override;
96 bool IsInMainFrame() override; 96 bool IsInMainFrame() override;
97 bool IsParentMainFrame() override; 97 bool IsParentMainFrame() override;
98 bool IsRendererInitiated() override; 98 bool IsRendererInitiated() override;
99 bool WasServerRedirect() override; 99 bool WasServerRedirect() override;
100 const std::vector<GURL>& GetRedirectChain() override;
100 int GetFrameTreeNodeId() override; 101 int GetFrameTreeNodeId() override;
101 int GetParentFrameTreeNodeId() override; 102 int GetParentFrameTreeNodeId() override;
102 const base::TimeTicks& NavigationStart() override; 103 const base::TimeTicks& NavigationStart() override;
103 bool IsPost() override; 104 bool IsPost() override;
104 const Referrer& GetReferrer() override; 105 const Referrer& GetReferrer() override;
105 bool HasUserGesture() override; 106 bool HasUserGesture() override;
106 ui::PageTransition GetPageTransition() override; 107 ui::PageTransition GetPageTransition() override;
107 bool IsExternalProtocol() override; 108 bool IsExternalProtocol() override;
108 net::Error GetNetErrorCode() override; 109 net::Error GetNetErrorCode() override;
109 RenderFrameHostImpl* GetRenderFrameHost() override; 110 RenderFrameHostImpl* GetRenderFrameHost() override;
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 std::string searchable_form_encoding_; 459 std::string searchable_form_encoding_;
459 460
460 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 461 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
461 462
462 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 463 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
463 }; 464 };
464 465
465 } // namespace content 466 } // namespace content
466 467
467 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 468 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_contents.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