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

Side by Side Diff: content/public/browser/navigation_controller.h

Issue 378743002: Navigation transitions: Place transition page in same process as destination page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 std::string frame_name; 162 std::string frame_name;
163 163
164 // Indicates that during this navigation, the session history should be 164 // Indicates that during this navigation, the session history should be
165 // cleared such that the resulting page is the first and only entry of the 165 // cleared such that the resulting page is the first and only entry of the
166 // session history. 166 // session history.
167 // 167 //
168 // The clearing is done asynchronously, and completes when this navigation 168 // The clearing is done asynchronously, and completes when this navigation
169 // commits. 169 // commits.
170 bool should_clear_history_list; 170 bool should_clear_history_list;
171 171
172 // Used during a navigation transition. URL to be used when determining
173 // site instance.
174 GURL virtual_url_for_transition;
175
172 explicit LoadURLParams(const GURL& url); 176 explicit LoadURLParams(const GURL& url);
173 ~LoadURLParams(); 177 ~LoadURLParams();
174 178
175 // Allows copying of LoadURLParams struct. 179 // Allows copying of LoadURLParams struct.
176 LoadURLParams(const LoadURLParams& other); 180 LoadURLParams(const LoadURLParams& other);
177 LoadURLParams& operator=(const LoadURLParams& other); 181 LoadURLParams& operator=(const LoadURLParams& other);
178 }; 182 };
179 183
180 // Disables checking for a repost and prompting the user. This is used during 184 // Disables checking for a repost and prompting the user. This is used during
181 // testing. 185 // testing.
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 445
442 private: 446 private:
443 // This interface should only be implemented inside content. 447 // This interface should only be implemented inside content.
444 friend class NavigationControllerImpl; 448 friend class NavigationControllerImpl;
445 NavigationController() {} 449 NavigationController() {}
446 }; 450 };
447 451
448 } // namespace content 452 } // namespace content
449 453
450 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 454 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698