OLD | NEW |
---|---|
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 Loading... | |
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 bool is_transition_navigation; | |
jam
2014/07/01 16:14:15
ditto
| |
173 | |
172 explicit LoadURLParams(const GURL& url); | 174 explicit LoadURLParams(const GURL& url); |
173 ~LoadURLParams(); | 175 ~LoadURLParams(); |
174 | 176 |
175 // Allows copying of LoadURLParams struct. | 177 // Allows copying of LoadURLParams struct. |
176 LoadURLParams(const LoadURLParams& other); | 178 LoadURLParams(const LoadURLParams& other); |
177 LoadURLParams& operator=(const LoadURLParams& other); | 179 LoadURLParams& operator=(const LoadURLParams& other); |
178 }; | 180 }; |
179 | 181 |
180 // Disables checking for a repost and prompting the user. This is used during | 182 // Disables checking for a repost and prompting the user. This is used during |
181 // testing. | 183 // testing. |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
441 | 443 |
442 private: | 444 private: |
443 // This interface should only be implemented inside content. | 445 // This interface should only be implemented inside content. |
444 friend class NavigationControllerImpl; | 446 friend class NavigationControllerImpl; |
445 NavigationController() {} | 447 NavigationController() {} |
446 }; | 448 }; |
447 | 449 |
448 } // namespace content | 450 } // namespace content |
449 | 451 |
450 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 452 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |