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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "content/public/browser/global_request_id.h" | 13 #include "content/public/browser/global_request_id.h" |
15 #include "content/public/common/page_transition_types.h" | 14 #include "content/public/common/page_transition_types.h" |
16 | 15 |
17 class GURL; | 16 class GURL; |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 virtual void CopyStateFromAndPrune(NavigationController* source) = 0; | 270 virtual void CopyStateFromAndPrune(NavigationController* source) = 0; |
272 | 271 |
273 // Removes all the entries except the active entry. If there is a new pending | 272 // Removes all the entries except the active entry. If there is a new pending |
274 // navigation it is preserved. | 273 // navigation it is preserved. |
275 virtual void PruneAllButActive() = 0; | 274 virtual void PruneAllButActive() = 0; |
276 }; | 275 }; |
277 | 276 |
278 } // namespace content | 277 } // namespace content |
279 | 278 |
280 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 279 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |