Chromium Code Reviews
Description[Navigation Experiment] Add skeleton WKBasedNavigationManagerImpl.
Introduced WebViewNavigationProxy protocol to expose navigation related
WKWebView APIs to WKBasedNavigationManagerImpl.
Moved WebLoadParams and AreURLsInPageNavigation from LegacyNavigationManagerImpl
to the parent NavigationManagerImpl to allow sharing with
WKBasedNavigationManagerImpl.
Also replaced CRWSessionController API calls in navigation_manager_impl_unittest
with the equivalent NavigationManager APIs so these unit tests can be shared to
test WKBasedNavigationManagerImpl. A special case is CanGoBackWithTransientItem:
NavigationManager::AddTransientItem() expects a non-null pending (or committed)
item to exist (the session controller version doesn't check this), so updated
the test setup to avoid the error. This matches real-world usage.
BUG=734150
Review-Url: https://codereview.chromium.org/2957163002
Cr-Commit-Position: refs/heads/master@{#483756}
Committed: https://chromium.googlesource.com/chromium/src/+/fc108a3f8b0a86e98f379d27a8cc525ab1e30b99
Patch Set 1 #
Total comments: 7
Patch Set 2 : Patch for review #
Total comments: 29
Patch Set 3 : Changed WebViewNavigationProxy to a protocol #
Total comments: 11
Patch Set 4 : Rename to CRWWebViewNavigationProxy #
Total comments: 2
Patch Set 5 : Patch for landing #Messages
Total messages: 37 (22 generated)
|