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

Issue 232463007: Don't leave aborted URLs in the omnibox unless we're on a new tab. (Closed)

Created:
6 years, 8 months ago by Charlie Reis
Modified:
6 years, 8 months ago
Reviewers:
jam, nasko
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Don't leave aborted URLs in the omnibox unless we're on the NTP. BUG=355537 TEST=See bug for repro steps. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265044

Patch Set 1 #

Patch Set 2 : about:blank plus ShouldPreserveAbortedURLs #

Patch Set 3 : Fix and add tests. #

Total comments: 5

Patch Set 4 : Fix comments #

Total comments: 1

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -41 lines) Patch
M chrome/browser/ui/browser.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 2 chunks +45 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 2 chunks +11 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 2 chunks +52 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 1 chunk +21 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 2 chunks +14 lines, -26 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Charlie Reis
John, see comment 17 on the bug for the rationale here. Hope it's ok to ...
6 years, 8 months ago (2014-04-11 22:28:01 UTC) #1
jam
On 2014/04/11 22:28:01, Charlie Reis wrote: > John, see comment 17 on the bug for ...
6 years, 8 months ago (2014-04-11 22:36:57 UTC) #2
Charlie Reis
On 2014/04/11 22:36:57, jam wrote: > On 2014/04/11 22:28:01, Charlie Reis wrote: > > John, ...
6 years, 8 months ago (2014-04-11 22:44:25 UTC) #3
jam
On 2014/04/11 22:44:25, Charlie Reis wrote: > On 2014/04/11 22:36:57, jam wrote: > > On ...
6 years, 8 months ago (2014-04-11 23:25:48 UTC) #4
Charlie Reis
On 2014/04/11 23:25:48, jam wrote: > On 2014/04/11 22:44:25, Charlie Reis wrote: > > On ...
6 years, 8 months ago (2014-04-11 23:31:21 UTC) #5
jam
On 2014/04/11 23:31:21, Charlie Reis wrote: > On 2014/04/11 23:25:48, jam wrote: > > On ...
6 years, 8 months ago (2014-04-11 23:42:33 UTC) #6
Charlie Reis
On 2014/04/11 23:42:33, jam wrote: > On 2014/04/11 23:31:21, Charlie Reis wrote: > > On ...
6 years, 8 months ago (2014-04-11 23:45:08 UTC) #7
jam
On 2014/04/11 23:45:08, Charlie Reis wrote: > On 2014/04/11 23:42:33, jam wrote: > > On ...
6 years, 8 months ago (2014-04-14 05:26:50 UTC) #8
Peter Kasting
I am worried about the behavior proposed here; see comment on bug.
6 years, 8 months ago (2014-04-14 19:59:25 UTC) #9
Charlie Reis
Ok, I've revised this to support the middle click case (initial navigation of an unmodified ...
6 years, 8 months ago (2014-04-18 01:23:53 UTC) #10
Peter Kasting
As long as middle-clicking and alt-enter in the address bar work "as users expect", I'm ...
6 years, 8 months ago (2014-04-18 21:17:40 UTC) #11
Charlie Reis
On 2014/04/18 21:17:40, Peter Kasting wrote: > As long as middle-clicking and alt-enter in the ...
6 years, 8 months ago (2014-04-18 21:48:15 UTC) #12
jam
lgtm for content/public with nit https://codereview.chromium.org/232463007/diff/50001/content/public/browser/web_contents_delegate.h File content/public/browser/web_contents_delegate.h (right): https://codereview.chromium.org/232463007/diff/50001/content/public/browser/web_contents_delegate.h#newcode177 content/public/browser/web_contents_delegate.h:177: // preserved in the ...
6 years, 8 months ago (2014-04-21 07:31:08 UTC) #13
nasko
LGTM
6 years, 8 months ago (2014-04-21 16:43:07 UTC) #14
Charlie Reis
Thanks. https://codereview.chromium.org/232463007/diff/50001/content/public/browser/web_contents_delegate.h File content/public/browser/web_contents_delegate.h (right): https://codereview.chromium.org/232463007/diff/50001/content/public/browser/web_contents_delegate.h#newcode177 content/public/browser/web_contents_delegate.h:177: // preserved in the omnibox. Defaults to false. ...
6 years, 8 months ago (2014-04-21 17:28:59 UTC) #15
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 8 months ago (2014-04-21 17:29:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/232463007/90001
6 years, 8 months ago (2014-04-21 17:29:17 UTC) #17
commit-bot: I haz the power
6 years, 8 months ago (2014-04-21 19:41:40 UTC) #18
Message was sent while issue was closed.
Change committed as 265044

Powered by Google App Engine
This is Rietveld 408576698