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

Issue 290333015: Suggest about:blank autocompletion from BuiltinProvider. (Closed)

Created:
6 years, 7 months ago by msw
Modified:
6 years, 6 months ago
Reviewers:
Peter Kasting, Mark P
CC:
chromium-reviews, James Su, Mark P
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Suggest about:blank autocompletion from BuiltinProvider. Add support for [inline] autocomplete of about:blank. The support handles fixup of the scheme separator. Add BuiltinProviderTest.AboutBlank and do related cleanup. Update OmniboxViewTest.UndoRedo and do related cleanup. BUG=92577 TEST=about:blank is suggested in the omnibox; unit tests. R=mpearson@chromium.org,pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274083

Patch Set 1 #

Patch Set 2 : Refine about:blank suggestion logic. #

Patch Set 3 : Add an BuiltinProviderTest.AboutBlank unit test; cleanup. #

Patch Set 4 : Additional cleanup. #

Patch Set 5 : Sync and rebase. #

Patch Set 6 : Fix OmniboxViewTest.UndoRedo, minor cleanup. #

Total comments: 17

Patch Set 7 : Address comments. #

Total comments: 2

Patch Set 8 : Update comment. #

Total comments: 4

Patch Set 9 : Sync and rebase. #

Patch Set 10 : Address comment. #

Patch Set 11 : Remove a case that fails on Android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -73 lines) Patch
M chrome/browser/autocomplete/builtin_provider.cc View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/builtin_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +97 lines, -62 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
msw
Hey Peter, please take a look; thanks!
6 years, 7 months ago (2014-05-24 03:17:13 UTC) #1
Mark P
Why don't you add about:blank to the list of URLs BuiltinProvider can suggest? That seems ...
6 years, 7 months ago (2014-05-24 14:12:09 UTC) #2
msw
On 2014/05/24 14:12:09, Mark P wrote: > Why don't you add about:blank to the list ...
6 years, 6 months ago (2014-05-29 21:56:08 UTC) #3
Mark P
Try adding chrome://blank to the list of the URLs that can be suggested. I still ...
6 years, 6 months ago (2014-05-29 22:04:42 UTC) #4
Mark P
On Thu, May 29, 2014 at 3:04 PM, Mark Pearson <mpearson@chromium.org> wrote: > > Try ...
6 years, 6 months ago (2014-05-29 22:10:40 UTC) #5
msw
On 2014/05/29 22:04:42, Mark P wrote: > Try adding chrome://blank to the list of the ...
6 years, 6 months ago (2014-05-29 22:18:40 UTC) #6
Mark P
On Thu, May 29, 2014 at 3:18 PM, <msw@chromium.org> wrote: > On 2014/05/29 22:04:42, Mark ...
6 years, 6 months ago (2014-05-29 22:20:49 UTC) #7
msw
On 2014/05/29 22:10:40, Mark P wrote: > Ignore my stupid comment. I didn't read your ...
6 years, 6 months ago (2014-05-29 22:27:30 UTC) #8
Peter Kasting
Yeah, in general about:blank is a very special URL for security and UI. I don't ...
6 years, 6 months ago (2014-05-29 22:43:34 UTC) #9
msw
Test updated, please take a look; thanks!
6 years, 6 months ago (2014-05-29 22:49:50 UTC) #10
Mark P
https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc File chrome/browser/autocomplete/builtin_provider.cc (right): https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc#newcode108 chrome/browser/autocomplete/builtin_provider.cc:108: // Suggest about:blank for substrings, taking URL fixup into ...
6 years, 6 months ago (2014-05-29 23:48:04 UTC) #11
msw
Comments addressed, please take another look; thanks! https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc File chrome/browser/autocomplete/builtin_provider.cc (right): https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc#newcode108 chrome/browser/autocomplete/builtin_provider.cc:108: // Suggest ...
6 years, 6 months ago (2014-05-30 00:29:48 UTC) #12
Mark P
https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc File chrome/browser/autocomplete/builtin_provider.cc (right): https://codereview.chromium.org/290333015/diff/160001/chrome/browser/autocomplete/builtin_provider.cc#newcode108 chrome/browser/autocomplete/builtin_provider.cc:108: // Suggest about:blank for substrings, taking URL fixup into ...
6 years, 6 months ago (2014-05-30 18:16:40 UTC) #13
msw
Please take another look; thanks. https://codereview.chromium.org/290333015/diff/170001/chrome/browser/autocomplete/builtin_provider.cc File chrome/browser/autocomplete/builtin_provider.cc (right): https://codereview.chromium.org/290333015/diff/170001/chrome/browser/autocomplete/builtin_provider.cc#newcode109 chrome/browser/autocomplete/builtin_provider.cc:109: // This match does ...
6 years, 6 months ago (2014-05-30 18:31:09 UTC) #14
Mark P
lgtm
6 years, 6 months ago (2014-05-30 18:32:05 UTC) #15
msw
TBR'ing peter for omnibox_view_browsertest.cc and landing.
6 years, 6 months ago (2014-05-30 21:05:11 UTC) #16
msw
The CQ bit was checked by msw@chromium.org
6 years, 6 months ago (2014-05-30 21:05:16 UTC) #17
Peter Kasting
LGTM https://codereview.chromium.org/290333015/diff/190001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): https://codereview.chromium.org/290333015/diff/190001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode1405 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:1405: // Delete three characters; "about:bl" should not trigger ...
6 years, 6 months ago (2014-05-30 21:06:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/290333015/190001
6 years, 6 months ago (2014-05-30 21:06:41 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 02:13:17 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 02:17:05 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158475) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/70838) linux_chromium_chromeos_rel ...
6 years, 6 months ago (2014-05-31 02:17:06 UTC) #22
msw
Comment addressed and synced, landing. https://codereview.chromium.org/290333015/diff/190001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): https://codereview.chromium.org/290333015/diff/190001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode1405 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:1405: // Delete three characters; ...
6 years, 6 months ago (2014-05-31 02:43:23 UTC) #23
msw
The CQ bit was checked by msw@chromium.org
6 years, 6 months ago (2014-05-31 02:43:32 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/290333015/230001
6 years, 6 months ago (2014-05-31 02:44:52 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-31 06:27:39 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-31 08:02:47 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158605)
6 years, 6 months ago (2014-05-31 08:02:48 UTC) #28
msw
The CQ bit was checked by msw@chromium.org
6 years, 6 months ago (2014-05-31 16:05:07 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/290333015/230002
6 years, 6 months ago (2014-05-31 16:05:52 UTC) #30
commit-bot: I haz the power
6 years, 6 months ago (2014-05-31 22:51:45 UTC) #31
Message was sent while issue was closed.
Change committed as 274083

Powered by Google App Engine
This is Rietveld 408576698