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

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

Issue 1028603004: Upstream ios/web/navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-testing
Patch Set: Rebase and resync Created 5 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_DELEGATE_H_
6 #define IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_DELEGATE_H_
7
8 namespace web {
9
10 struct LoadCommittedDetails;
11 class WebState;
12
13 // Delegate for NavigationManager to hand off parts of the navigation flow.
14 // TODO(stuartmorgan): See if this can be eliminated by moving more
15 class NavigationManagerDelegate {
16 public:
17 virtual ~NavigationManagerDelegate() {}
18
19 // Instructs the delegate to begin navigating to the pending entry.
20 // TODO(stuartmorgan): Remove this once more navigation logic moves to
21 // NavigationManagerImpl.
22 virtual void NavigateToPendingEntry() = 0;
23
24 // Informs the delegate that a navigation item has been commited.
25 virtual void OnNavigationItemCommitted(
26 const LoadCommittedDetails& load_details) = 0;
27
28 // Returns the WebState associated with this delegate.
29 virtual WebState* GetWebState() = 0;
30 };
31
32 } // namespace web
33
34 #endif // IOS_WEB_NAVIGATION_NAVIGATION_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/navigation/navigation_item_impl.mm ('k') | ios/web/navigation/navigation_manager_facade_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698