| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IMPL_H_ | 5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ |
| 6 #define IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ | 6 #define IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 // NavigationManager: | 94 // NavigationManager: |
| 95 BrowserState* GetBrowserState() const override; | 95 BrowserState* GetBrowserState() const override; |
| 96 WebState* GetWebState() const override; | 96 WebState* GetWebState() const override; |
| 97 NavigationItem* GetVisibleItem() const override; | 97 NavigationItem* GetVisibleItem() const override; |
| 98 NavigationItem* GetLastCommittedItem() const override; | 98 NavigationItem* GetLastCommittedItem() const override; |
| 99 NavigationItem* GetPendingItem() const override; | 99 NavigationItem* GetPendingItem() const override; |
| 100 NavigationItem* GetTransientItem() const override; | 100 NavigationItem* GetTransientItem() const override; |
| 101 void DiscardNonCommittedItems() override; | 101 void DiscardNonCommittedItems() override; |
| 102 void LoadIfNecessary() override; | 102 void LoadIfNecessary() override; |
| 103 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override; |
| 103 void AddTransientURLRewriter( | 104 void AddTransientURLRewriter( |
| 104 BrowserURLRewriter::URLRewriter rewriter) override; | 105 BrowserURLRewriter::URLRewriter rewriter) override; |
| 105 int GetItemCount() const override; | 106 int GetItemCount() const override; |
| 106 NavigationItem* GetItemAtIndex(size_t index) const override; | 107 NavigationItem* GetItemAtIndex(size_t index) const override; |
| 107 int GetCurrentItemIndex() const override; | 108 int GetCurrentItemIndex() const override; |
| 108 int GetPendingItemIndex() const override; | 109 int GetPendingItemIndex() const override; |
| 109 int GetLastCommittedItemIndex() const override; | 110 int GetLastCommittedItemIndex() const override; |
| 110 bool RemoveItemAtIndex(int index) override; | 111 bool RemoveItemAtIndex(int index) override; |
| 111 bool CanGoBack() const override; | 112 bool CanGoBack() const override; |
| 112 bool CanGoForward() const override; | 113 bool CanGoForward() const override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // List of transient url rewriters added by |AddTransientURLRewriter()|. | 146 // List of transient url rewriters added by |AddTransientURLRewriter()|. |
| 146 scoped_ptr<std::vector<BrowserURLRewriter::URLRewriter>> | 147 scoped_ptr<std::vector<BrowserURLRewriter::URLRewriter>> |
| 147 transient_url_rewriters_; | 148 transient_url_rewriters_; |
| 148 | 149 |
| 149 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl); | 150 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl); |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 } // namespace web | 153 } // namespace web |
| 153 | 154 |
| 154 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ | 155 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ |
| OLD | NEW |