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

Issue 9310017: Revert 120005 - Enabled pressing TAB to traverse through the Omnibox results, removed moving the ... (Closed)

Created:
8 years, 10 months ago by kinuko
Modified:
8 years, 10 months ago
Reviewers:
aaron.randolph
CC:
chromium-reviews, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Revert 120005 - Enabled pressing TAB to traverse through the Omnibox results, removed moving the caret to the end of the line with TAB, and filtered out redundant URLs. This adds the ability to move through Omnibox result matches using TAB in addition to the arrow keys. To enable this, pressing TAB to move the caret to the end of the line was removed and the keyword hint/shortcut logic has been modified. The Omnibox popup now shows keyword markers on the right side of matches that have associated keywords (represented by a right arrow). When this kind of match is selected, and the keyword is accepted, the match changes appearance by animating in the associated keyword match from the right to display the "Search X for <>" message. If multiple matches have the same keyword then only the most relevant match will display the keyword marker and hint. Pressing TAB while a keyword hint is shown will enter keyword mode in place; the results will no longer change when keyword mode is entered. Additionally, substituting keyword provider matches will only be shown if a keyword substitution is available. Finally, results with redundant destination URLs (e.g., "foo.com", "www.foo.com") will have the less relevant URLs filtered out. This also addresses some GTK omnibox browsertest flakiness; see bug 112041. Contributed by aaron.randolph@gmail.com BUG=57748, 76278, 77662, 80934, 84420 TEST=Press TAB to move the selection down the list of results, SHIFT+TAB to move up. Review URL: http://codereview.chromium.org/6731036 TBR=aaron.randolph@gmail.com Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120018

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -993 lines) Patch
M AUTHORS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete.h View 3 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete.cc View 5 chunks +5 lines, -49 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.cc View 7 chunks +19 lines, -53 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.h View 6 chunks +0 lines, -37 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.cc View 4 chunks +4 lines, -78 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_model.h View 7 chunks +15 lines, -22 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_model.cc View 6 chunks +60 lines, -27 lines 0 comments Download
A + chrome/browser/autocomplete/autocomplete_popup_model_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_unittest.cc View 11 chunks +17 lines, -134 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider_unittest.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider.h View 5 chunks +10 lines, -23 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider.cc View 10 chunks +61 lines, -111 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider_unittest.cc View 2 chunks +1 line, -11 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h View 3 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 9 chunks +31 lines, -31 lines 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc View 5 chunks +18 lines, -28 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view.h View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 7 chunks +34 lines, -132 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc View 9 chunks +20 lines, -29 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.h View 6 chunks +3 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc View 7 chunks +17 lines, -98 lines 0 comments Download
MM chrome/browser/ui/views/location_bar/location_bar_view.cc View 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views.cc View 3 chunks +9 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_win.cc View 4 chunks +16 lines, -20 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/in_process_browser_test.h View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/base/keycodes/keyboard_code_conversion_mac.mm View 2 chunks +1 line, -2 lines 0 comments Download
M ui/base/keycodes/keyboard_codes_posix.h View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kinuko
8 years, 10 months ago (2012-02-01 03:02:39 UTC) #1
kinuko
On 2012/02/01 03:02:39, kinuko wrote: Aaron, I'm reverting this as we're suspecting it might have ...
8 years, 10 months ago (2012-02-01 03:06:31 UTC) #2
Peter Kasting
On 2012/02/01 03:06:31, kinuko wrote: > On 2012/02/01 03:02:39, kinuko wrote: > > Aaron, I'm ...
8 years, 10 months ago (2012-02-02 06:33:20 UTC) #3
kinuko
Sorry not to follow up, my changes sometimes get reverted with simple comments like that ...
8 years, 10 months ago (2012-02-02 07:00:03 UTC) #4
kinuko
(+pkasting) On Wed, Feb 1, 2012 at 11:00 PM, <kinuko@chromium.org> wrote: > Sorry not to ...
8 years, 10 months ago (2012-02-02 07:05:22 UTC) #5
Peter Kasting
Thanks, that's the info I was looking for.
8 years, 10 months ago (2012-02-02 07:08:19 UTC) #6
aaron.randolph
I've been trying to replicate this, but haven't had any luck. I notice all the ...
8 years, 10 months ago (2012-02-02 11:36:27 UTC) #7
kinuko
On Thu, Feb 2, 2012 at 3:36 AM, <aaron.randolph@gmail.com> wrote: > I've been trying to ...
8 years, 10 months ago (2012-02-02 20:57:45 UTC) #8
Peter Kasting
8 years, 10 months ago (2012-02-04 00:23:21 UTC) #9
I think we should try re-landing this change and see if the same bots fail the
same ways.  If so we can roll back out again quickly.

I'll try to do this now.

Powered by Google App Engine
This is Rietveld 408576698