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

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

Issue 2740233002: Remove CRWSessionController usage from BrowserViewController. (Closed)
Patch Set: 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 int GetCurrentItemIndex() const override; 133 int GetCurrentItemIndex() const override;
134 int GetPendingItemIndex() const override; 134 int GetPendingItemIndex() const override;
135 int GetLastCommittedItemIndex() const override; 135 int GetLastCommittedItemIndex() const override;
136 bool RemoveItemAtIndex(int index) override; 136 bool RemoveItemAtIndex(int index) override;
137 bool CanGoBack() const override; 137 bool CanGoBack() const override;
138 bool CanGoForward() const override; 138 bool CanGoForward() const override;
139 bool CanGoToOffset(int offset) const override; 139 bool CanGoToOffset(int offset) const override;
140 void GoBack() override; 140 void GoBack() override;
141 void GoForward() override; 141 void GoForward() override;
142 void GoToIndex(int index) override; 142 void GoToIndex(int index) override;
143 NavigationItemList GetBackwardItems() const override;
144 NavigationItemList GetForwardItems() const override;
143 void Reload(bool check_for_reposts) override; 145 void Reload(bool check_for_reposts) override;
146 void InsertStateFromManager(const NavigationManager* manager) override;
144 void OverrideDesktopUserAgentForNextPendingItem() override; 147 void OverrideDesktopUserAgentForNextPendingItem() override;
145 148
146 // Returns the current list of transient url rewriters, passing ownership to 149 // Returns the current list of transient url rewriters, passing ownership to
147 // the caller. 150 // the caller.
148 // TODO(crbug.com/546197): remove once NavigationItem creation occurs in this 151 // TODO(crbug.com/546197): remove once NavigationItem creation occurs in this
149 // class. 152 // class.
150 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>> 153 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>>
151 GetTransientURLRewriters(); 154 GetTransientURLRewriters();
152 155
153 // Called to reset the transient url rewriter list. 156 // Called to reset the transient url rewriter list.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // List of transient url rewriters added by |AddTransientURLRewriter()|. 198 // List of transient url rewriters added by |AddTransientURLRewriter()|.
196 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>> 199 std::unique_ptr<std::vector<BrowserURLRewriter::URLRewriter>>
197 transient_url_rewriters_; 200 transient_url_rewriters_;
198 201
199 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl); 202 DISALLOW_COPY_AND_ASSIGN(NavigationManagerImpl);
200 }; 203 };
201 204
202 } // namespace web 205 } // namespace web
203 206
204 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_ 207 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698