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

Side by Side Diff: ios/web/navigation/navigation_manager_impl.h

Issue 2766063002: Remove the concept of currentItemIndex (Closed)
Patch Set: fix unit tests Created 3 years, 9 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
OLDNEW
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 <memory> 10 #include <memory>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 NavigationItem* GetLastCommittedItem() const override; 117 NavigationItem* GetLastCommittedItem() const override;
118 NavigationItem* GetPendingItem() const override; 118 NavigationItem* GetPendingItem() const override;
119 NavigationItem* GetTransientItem() const override; 119 NavigationItem* GetTransientItem() const override;
120 void DiscardNonCommittedItems() override; 120 void DiscardNonCommittedItems() override;
121 void LoadIfNecessary() override; 121 void LoadIfNecessary() override;
122 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override; 122 void LoadURLWithParams(const NavigationManager::WebLoadParams&) override;
123 void AddTransientURLRewriter( 123 void AddTransientURLRewriter(
124 BrowserURLRewriter::URLRewriter rewriter) override; 124 BrowserURLRewriter::URLRewriter rewriter) override;
125 int GetItemCount() const override; 125 int GetItemCount() const override;
126 NavigationItem* GetItemAtIndex(size_t index) const override; 126 NavigationItem* GetItemAtIndex(size_t index) const override;
127 int GetCurrentItemIndex() const override;
128 int GetPendingItemIndex() const override; 127 int GetPendingItemIndex() const override;
129 int GetLastCommittedItemIndex() const override; 128 int GetLastCommittedItemIndex() const override;
130 bool RemoveItemAtIndex(int index) override; 129 bool RemoveItemAtIndex(int index) override;
131 bool CanGoBack() const override; 130 bool CanGoBack() const override;
132 bool CanGoForward() const override; 131 bool CanGoForward() const override;
133 bool CanGoToOffset(int offset) const override; 132 bool CanGoToOffset(int offset) const override;
134 void GoBack() override; 133 void GoBack() override;
135 void GoForward() override; 134 void GoForward() override;
136 void GoToIndex(int index) override; 135 void GoToIndex(int index) override;
137 void Reload(ReloadType reload_type, bool check_for_reposts) override; 136 void Reload(ReloadType reload_type, bool check_for_reposts) override;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // List of transient url rewriters added by |AddTransientURLRewriter()|. 192 // List of transient url rewriters added by |AddTransientURLRewriter()|.
194 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>> 193 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>>
195 transient_url_rewriters_; 194 transient_url_rewriters_;
196 195
197 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl); 196 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl);
198 }; 197 };
199 198
200 } // namespace web 199 } // namespace web
201 200
202 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ 201 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/crw_session_storage_unittest.mm ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698