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

Unified Diff: ios/web/navigation/navigation_manager_impl.h

Issue 1342953002: Added some public methods to web::NavigationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/navigation_manager_impl.h
diff --git a/ios/web/navigation/navigation_manager_impl.h b/ios/web/navigation/navigation_manager_impl.h
index 1433e6e88c96b53ce3f591042a908354909ccf95..820071b0207ecfb8d9dafa3367440b6dddeae5c2 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -73,16 +73,11 @@ class NavigationManagerImpl : public NavigationManager {
// by the navigation manager and may be deleted at any time.
NavigationItem* GetTransientItem() const;
- // Returns the committed NavigationItem at |index|.
- NavigationItem* GetItemAtIndex(size_t index) const;
-
// Temporary accessors and content/ class pass-throughs.
// TODO(stuartmorgan): Re-evaluate this list once the refactorings have
// settled down.
CRWSessionController* GetSessionController();
- int GetCurrentEntryIndex() const;
int GetLastCommittedEntryIndex() const;
- int GetEntryCount() const;
bool RemoveEntryAtIndex(int index);
int GetPendingEntryIndex() const;
void LoadURL(const GURL& url,
@@ -115,6 +110,9 @@ class NavigationManagerImpl : public NavigationManager {
void DiscardNonCommittedItems() override;
void AddTransientURLRewriter(
BrowserURLRewriter::URLRewriter rewriter) override;
+ int GetEntryCount() const override;
+ NavigationItem* GetItemAtIndex(size_t index) const override;
+ int GetCurrentEntryIndex() const override;
// Returns the current list of transient url rewriters, passing ownership to
// the caller.
« no previous file with comments | « no previous file | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698