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

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

Issue 2957163002: [Navigation Experiment] Add WKBasedNavigationManagerImpl. (Closed)
Patch Set: Patch for review Created 3 years, 6 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
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 92f7fbb9def3a5cb967d6c3d28eb7c669b060769..318741d0f179bff2506f0af575b20d46df3d8281 100644
--- a/ios/web/navigation/navigation_manager_impl.h
+++ b/ios/web/navigation/navigation_manager_impl.h
@@ -137,6 +137,11 @@ class NavigationManagerImpl : public NavigationManager {
// SessionStorageBuilder to persist session state.
virtual NavigationItemImpl* GetNavigationItemImplAtIndex(
size_t index) const = 0;
+
+ // Checks whether or not two URL are an in-page navigation (differing only
+ // in the fragment).
+ static bool AreURLsInPageNavigation(const GURL& existing_url,
Eugene But (OOO till 7-30) 2017/06/29 01:48:19 Could you please rename this to AreUrlsFragmentCha
danyao 2017/06/29 16:05:25 Done.
+ const GURL& new_url);
};
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698