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

Issue 440753003: Omnibox: Make Exact Match Tab-to-Search Work (Closed)

Created:
6 years, 4 months ago by Mark P
Modified:
6 years, 4 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Project:
chromium
Visibility:
Public.

Description

Omnibox: Make Exact Match Tab-to-Search Work Tested interactively and adds unit test. Seems to behave as expected. BUG=47572 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287807

Patch Set 1 #

Total comments: 4

Patch Set 2 : peter's comments #

Total comments: 2

Patch Set 3 : Peter's comments round two #

Patch Set 4 : simplify constructor call in test #

Patch Set 5 : fix test #

Total comments: 2

Patch Set 6 : Peter's request about wchars #

Total comments: 2

Patch Set 7 : loop termination condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -42 lines) Patch
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 2 chunks +25 lines, -8 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_provider_unittest.cc View 1 2 3 6 chunks +79 lines, -20 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 3 4 5 6 9 chunks +43 lines, -14 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Mark P
Peter, please take a look. thanks, mark
6 years, 4 months ago (2014-08-04 21:21:10 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/440753003/diff/1/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (left): https://codereview.chromium.org/440753003/diff/1/chrome/browser/autocomplete/autocomplete_controller.cc#oldcode525 chrome/browser/autocomplete/autocomplete_controller.cc:525: if (!match->associated_keyword.get()) What does removing this conditional do? ...
6 years, 4 months ago (2014-08-04 21:54:23 UTC) #2
Mark P
Please take another look, thanks. https://codereview.chromium.org/440753003/diff/1/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (left): https://codereview.chromium.org/440753003/diff/1/chrome/browser/autocomplete/autocomplete_controller.cc#oldcode525 chrome/browser/autocomplete/autocomplete_controller.cc:525: if (!match->associated_keyword.get()) On 2014/08/04 ...
6 years, 4 months ago (2014-08-04 22:05:38 UTC) #3
Peter Kasting
Is it possible to test that scenario you're worried about with preserving the keywords of ...
6 years, 4 months ago (2014-08-04 22:53:11 UTC) #4
Mark P
On Mon, Aug 4, 2014 at 3:53 PM, <pkasting@chromium.org> wrote: > Is it possible to ...
6 years, 4 months ago (2014-08-04 22:57:03 UTC) #5
Mark P
https://codereview.chromium.org/440753003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/440753003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode535 chrome/browser/autocomplete/autocomplete_controller.cc:535: // Otherwise use the particular match's associated keyword. On ...
6 years, 4 months ago (2014-08-04 22:58:24 UTC) #6
Mark P
The CQ bit was checked by mpearson@chromium.org
6 years, 4 months ago (2014-08-04 22:58:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/440753003/40001
6 years, 4 months ago (2014-08-04 23:00:47 UTC) #8
Peter Kasting
On 2014/08/04 22:57:03, Mark P wrote: > Side comment: I think that code should go. ...
6 years, 4 months ago (2014-08-04 23:01:12 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 03:06:15 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 03:15:19 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg/builds/3068)
6 years, 4 months ago (2014-08-05 03:15:20 UTC) #12
Mark P
Peter, I had to fix a browser test and a minor android compilation error. You ...
6 years, 4 months ago (2014-08-05 20:28:19 UTC) #13
Peter Kasting
LGTM https://codereview.chromium.org/440753003/diff/80001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): https://codereview.chromium.org/440753003/diff/80001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode61 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:61: const wchar_t kSearchKeywordCompletionKeys[] = { ui::VKEY_O, 0 }; ...
6 years, 4 months ago (2014-08-05 21:03:47 UTC) #14
Mark P
https://codereview.chromium.org/440753003/diff/80001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): https://codereview.chromium.org/440753003/diff/80001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode61 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:61: const wchar_t kSearchKeywordCompletionKeys[] = { ui::VKEY_O, 0 }; On ...
6 years, 4 months ago (2014-08-05 22:20:06 UTC) #15
Mark P
The CQ bit was checked by mpearson@chromium.org
6 years, 4 months ago (2014-08-05 22:20:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/440753003/100001
6 years, 4 months ago (2014-08-05 22:21:58 UTC) #17
Peter Kasting
My goal here is to give you the most nit cycles possible for such a ...
6 years, 4 months ago (2014-08-05 23:13:36 UTC) #18
Mark P
The CQ bit was unchecked by mpearson@chromium.org
6 years, 4 months ago (2014-08-05 23:17:12 UTC) #19
Mark P
https://codereview.chromium.org/440753003/diff/100001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc File chrome/browser/ui/omnibox/omnibox_view_browsertest.cc (right): https://codereview.chromium.org/440753003/diff/100001/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc#newcode181 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc:181: for (; *keys; ++keys) On 2014/08/05 23:13:36, Peter Kasting ...
6 years, 4 months ago (2014-08-05 23:19:38 UTC) #20
Mark P
The CQ bit was checked by mpearson@chromium.org
6 years, 4 months ago (2014-08-05 23:19:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/440753003/120001
6 years, 4 months ago (2014-08-05 23:22:22 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-06 02:54:44 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 04:50:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/1474)
6 years, 4 months ago (2014-08-06 04:50:13 UTC) #25
Mark P
The CQ bit was checked by mpearson@chromium.org
6 years, 4 months ago (2014-08-06 17:35:26 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpearson@chromium.org/440753003/120001
6 years, 4 months ago (2014-08-06 17:35:54 UTC) #27
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 18:10:57 UTC) #28
Message was sent while issue was closed.
Change committed as 287807

Powered by Google App Engine
This is Rietveld 408576698