[Nav Experiment] Implement GetVisibleItem().

Desktop / Chromium - Danyao Wang [google.com] - 8 August 2017 17:30 EDT

Also tweaked DCHECK in CRWWebController because |webViewNavigationProxy| should return nil instead of triggering DCHECK if the underlying web
view is not set.

Bug: 734150 Change-Id: I83b501de1551aca36014a6f2f304230dab0aac69 Reviewed-on: https://chromium-review.googlesource.com/606115 Commit-Queue: Danyao Wang

3847be9 [Nav Experiment] Implement GetVisibleItem().
.../navigation/navigation_manager_impl_unittest.mm | 120 +++++++++++++++++++++
.../navigation/wk_based_navigation_manager_impl.h | 3 +
.../navigation/wk_based_navigation_manager_impl.mm | 28 ++++-
ios/web/web_state/ui/crw_web_controller.mm | 1 +
4 files changed, 148 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share