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

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

Issue 20924002: Try to restore window.opener when opening blocked popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 | Annotate | Revision Log
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 std::string frame_name; 160 std::string frame_name;
161 161
162 // Indicates that during this navigation, the session history should be 162 // Indicates that during this navigation, the session history should be
163 // cleared such that the resulting page is the first and only entry of the 163 // cleared such that the resulting page is the first and only entry of the
164 // session history. 164 // session history.
165 // 165 //
166 // The clearing is done asynchronously, and completes when this navigation 166 // The clearing is done asynchronously, and completes when this navigation
167 // commits. 167 // commits.
168 bool should_clear_history_list; 168 bool should_clear_history_list;
169 169
170 // Indicates that the URL should be loaded in the associated WebContents'
171 // current site instance. The caller needs to make sure that the site
172 // instance is actually suitable for hosting the navigation.
173 bool should_stay_in_site_instance;
Charlie Reis 2013/07/31 17:16:16 We should not have this.
jochen (gone - plz use gerrit) 2013/07/31 18:30:52 Removed.
174
170 explicit LoadURLParams(const GURL& url); 175 explicit LoadURLParams(const GURL& url);
171 ~LoadURLParams(); 176 ~LoadURLParams();
172 177
173 // Allows copying of LoadURLParams struct. 178 // Allows copying of LoadURLParams struct.
174 LoadURLParams(const LoadURLParams& other); 179 LoadURLParams(const LoadURLParams& other);
175 LoadURLParams& operator=(const LoadURLParams& other); 180 LoadURLParams& operator=(const LoadURLParams& other);
176 }; 181 };
177 182
178 // Disables checking for a repost and prompting the user. This is used during 183 // Disables checking for a repost and prompting the user. This is used during
179 // testing. 184 // testing.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 431
427 private: 432 private:
428 // This interface should only be implemented inside content. 433 // This interface should only be implemented inside content.
429 friend class NavigationControllerImpl; 434 friend class NavigationControllerImpl;
430 NavigationController() {} 435 NavigationController() {}
431 }; 436 };
432 437
433 } // namespace content 438 } // namespace content
434 439
435 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ 440 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698