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

Issue 1350223005: mandoline: Make sure omnibox gets updated when navigating back/forwards. (Closed)

Created:
5 years, 3 months ago by sadrul
Modified:
5 years, 2 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, penghuang+watch-mandoline_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mandoline: Make sure omnibox gets updated when navigating back/forwards. . Change WebViewClient::TopLevelNavigate() to TopLevelNavigateRequest() to better reflect that the client can intercept the request and do things other than doing a navigation. . Introduce WebViewClient::TopLevelNavigationStarted(url) to notify the client when navigation starts. Update the omnibox from this callback. BUG=526268 Committed: https://crrev.com/367c9c47fd5dac05688ac2fe864db26d780e7c33 Cr-Commit-Position: refs/heads/master@{#351073}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : tot.merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -28 lines) Patch
M components/web_view/pending_web_view_load.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M components/web_view/pending_web_view_load.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M components/web_view/public/interfaces/web_view.mojom View 1 chunk +6 lines, -1 line 0 comments Download
M components/web_view/test_runner/test_runner_application_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/web_view/test_runner/test_runner_application_delegate.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/web_view/web_view_apptest.cc View 10 chunks +23 lines, -8 lines 0 comments Download
M components/web_view/web_view_impl.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M components/web_view/web_view_impl.cc View 1 2 3 5 chunks +6 lines, -4 lines 0 comments Download
M mandoline/ui/desktop_ui/browser_window.h View 1 chunk +2 lines, -1 line 0 comments Download
M mandoline/ui/desktop_ui/browser_window.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M mandoline/ui/phone_ui/phone_browser_application_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M mandoline/ui/phone_ui/phone_browser_application_delegate.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
sadrul
5 years, 3 months ago (2015-09-19 03:31:39 UTC) #2
sky
https://codereview.chromium.org/1350223005/diff/1/components/web_view/web_view_impl.cc File components/web_view/web_view_impl.cc (right): https://codereview.chromium.org/1350223005/diff/1/components/web_view/web_view_impl.cc#newcode207 components/web_view/web_view_impl.cc:207: client_->TopLevelNavigationStarted(request->url); Are you sure you don't want to notify ...
5 years, 3 months ago (2015-09-21 14:59:47 UTC) #3
sadrul
https://codereview.chromium.org/1350223005/diff/1/components/web_view/web_view_impl.cc File components/web_view/web_view_impl.cc (right): https://codereview.chromium.org/1350223005/diff/1/components/web_view/web_view_impl.cc#newcode207 components/web_view/web_view_impl.cc:207: client_->TopLevelNavigationStarted(request->url); On 2015/09/21 14:59:46, sky wrote: > Are you ...
5 years, 3 months ago (2015-09-23 04:32:14 UTC) #4
sky
https://codereview.chromium.org/1350223005/diff/20001/components/web_view/pending_web_view_load.h File components/web_view/pending_web_view_load.h (right): https://codereview.chromium.org/1350223005/diff/20001/components/web_view/pending_web_view_load.h#newcode42 components/web_view/pending_web_view_load.h:42: std::string pending_url_; Can we make this a GURL?
5 years, 3 months ago (2015-09-23 15:31:45 UTC) #5
sadrul
https://codereview.chromium.org/1350223005/diff/20001/components/web_view/pending_web_view_load.h File components/web_view/pending_web_view_load.h (right): https://codereview.chromium.org/1350223005/diff/20001/components/web_view/pending_web_view_load.h#newcode42 components/web_view/pending_web_view_load.h:42: std::string pending_url_; On 2015/09/23 15:31:44, sky wrote: > Can ...
5 years, 2 months ago (2015-09-27 05:29:39 UTC) #6
sky
LGTM
5 years, 2 months ago (2015-09-28 15:09:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1350223005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1350223005/60001
5 years, 2 months ago (2015-09-28 15:31:48 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-09-28 15:47:16 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 15:48:02 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/367c9c47fd5dac05688ac2fe864db26d780e7c33
Cr-Commit-Position: refs/heads/master@{#351073}

Powered by Google App Engine
This is Rietveld 408576698