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

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

Issue 1002953004: Ensure we properly set PageTransition for iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NAVIGATOR_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Navigation requests ------------------------------------------------------- 92 // Navigation requests -------------------------------------------------------
93 93
94 virtual base::TimeTicks GetCurrentLoadStart(); 94 virtual base::TimeTicks GetCurrentLoadStart();
95 95
96 // The RenderFrameHostImpl has received a request to open a URL with the 96 // The RenderFrameHostImpl has received a request to open a URL with the
97 // specified |disposition|. 97 // specified |disposition|.
98 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 98 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
99 const GURL& url, 99 const GURL& url,
100 SiteInstance* source_site_instance, 100 SiteInstance* source_site_instance,
101 const Referrer& referrer, 101 const Referrer& referrer,
102 ui::PageTransition page_transition,
102 WindowOpenDisposition disposition, 103 WindowOpenDisposition disposition,
103 bool should_replace_current_entry, 104 bool should_replace_current_entry,
104 bool user_gesture) {} 105 bool user_gesture) {}
105 106
106 // The RenderFrameHostImpl wants to transfer the request to a new renderer. 107 // The RenderFrameHostImpl wants to transfer the request to a new renderer.
107 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened 108 // |redirect_chain| contains any redirect URLs (excluding |url|) that happened
108 // before the transfer. 109 // before the transfer.
109 virtual void RequestTransferURL( 110 virtual void RequestTransferURL(
110 RenderFrameHostImpl* render_frame_host, 111 RenderFrameHostImpl* render_frame_host,
111 const GURL& url, 112 const GURL& url,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 virtual bool IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node); 178 virtual bool IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node);
178 179
179 protected: 180 protected:
180 friend class base::RefCounted<Navigator>; 181 friend class base::RefCounted<Navigator>;
181 virtual ~Navigator() {} 182 virtual ~Navigator() {}
182 }; 183 };
183 184
184 } // namespace content 185 } // namespace content
185 186
186 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ 187 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.h » ('j') | content/browser/frame_host/render_frame_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698