OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ | 5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ |
6 #define IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ | 6 #define IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 namespace content { | 10 namespace content { |
9 class NavigationController; | 11 class NavigationController; |
10 } | 12 } |
11 | 13 |
12 namespace web { | 14 namespace web { |
13 | 15 |
14 class NavigationItemImpl; | 16 class NavigationItemImpl; |
15 class NavigationManagerImpl; | 17 class NavigationManagerImpl; |
16 | 18 |
17 // Interface used by the NavigationManager to drive the NavigationController | 19 // Interface used by the NavigationManager to drive the NavigationController |
(...skipping 20 matching lines...) Expand all Loading... |
38 // Called when the NavigationManager has committed a pending NavigationItem. | 40 // Called when the NavigationManager has committed a pending NavigationItem. |
39 virtual void OnNavigationItemCommitted(int previous_item_index, | 41 virtual void OnNavigationItemCommitted(int previous_item_index, |
40 bool is_in_page) = 0; | 42 bool is_in_page) = 0; |
41 // Called when the NavigationManager has pruned committed NavigationItems. | 43 // Called when the NavigationManager has pruned committed NavigationItems. |
42 virtual void OnNavigationItemsPruned(size_t pruned_item_count) = 0; | 44 virtual void OnNavigationItemsPruned(size_t pruned_item_count) = 0; |
43 }; | 45 }; |
44 | 46 |
45 } // namespace web | 47 } // namespace web |
46 | 48 |
47 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ | 49 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_FACADE_DELEGATE_H_ |
OLD | NEW |