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

Issue 5966006: Hitting Tab should always move cursor to end of omnibox text. (Closed)

Created:
9 years, 12 months ago by James Su
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Hitting Tab should always move cursor to end of omnibox text. BUG=66850 TEST=AutocompleteEditViewTest.TabMoveCursorToEnd and InstantTest.TabKey Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72920

Patch Set 1 #

Patch Set 2 : Fix compilation issue. #

Patch Set 3 : Fix windows port and tests. #

Patch Set 4 : Avoid rerunning query when pressing tab to commit suggest. #

Patch Set 5 : Fix a bug in windows port. #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase and fix tab in keyword mode. #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase. #

Patch Set 11 : Fix AutocompleteEditViewViews. #

Total comments: 12

Patch Set 12 : Update. #

Patch Set 13 : Fix Linux build. #

Patch Set 14 : Fix Mac build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -170 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit.h View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit.cc View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +57 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +41 lines, -28 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +48 lines, -36 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_views.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_views.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +24 lines, -16 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_win.cc View 1 2 3 4 5 6 7 8 9 5 chunks +20 lines, -9 lines 0 comments Download
M chrome/browser/browser_focus_uitest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_browsertest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 5 chunks +24 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/location_bar/suggested_text_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
James Su
This CL is not complete yet. Windows port and many tests yet to be fixed. ...
9 years, 12 months ago (2010-12-24 00:58:37 UTC) #1
James Su
This CL is ready for review.
9 years, 11 months ago (2011-01-04 17:50:14 UTC) #2
sky
I haven't looked at the code, but in trying this out it seems as though ...
9 years, 11 months ago (2011-01-04 21:19:40 UTC) #3
James Su
CL has been updated, please try again.
9 years, 11 months ago (2011-01-05 01:37:26 UTC) #4
James Su
This CL still has problem when pressing Tab key to finalize instant suggest in keyword ...
9 years, 11 months ago (2011-01-06 18:19:20 UTC) #5
sky
Let me know when it's updated, and I'll give it another try. -Scott On Thu, ...
9 years, 11 months ago (2011-01-06 18:38:02 UTC) #6
James Su
Sorry for taking so long to update this CL. Please try it again. Regards James ...
9 years, 11 months ago (2011-01-15 05:57:20 UTC) #7
sky
It seems like tab still triggers rerunning the query. It shouldn't do that. -Scott On ...
9 years, 11 months ago (2011-01-18 23:06:23 UTC) #8
James Su
On 2011/01/18 23:06:23, sky wrote: > It seems like tab still triggers rerunning the query. ...
9 years, 11 months ago (2011-01-18 23:22:04 UTC) #9
sky
On Tue, Jan 18, 2011 at 3:22 PM, <suzhe@chromium.org> wrote: > On 2011/01/18 23:06:23, sky ...
9 years, 11 months ago (2011-01-18 23:36:07 UTC) #10
James Su
On 2011/01/18 23:36:07, sky wrote: > On Tue, Jan 18, 2011 at 3:22 PM, <mailto:suzhe@chromium.org> ...
9 years, 11 months ago (2011-01-18 23:51:25 UTC) #11
sky
On Tue, Jan 18, 2011 at 3:51 PM, <suzhe@chromium.org> wrote: > On 2011/01/18 23:36:07, sky ...
9 years, 11 months ago (2011-01-19 00:29:16 UTC) #12
James Su
On 2011/01/19 00:29:16, sky wrote: > On Tue, Jan 18, 2011 at 3:51 PM, <mailto:suzhe@chromium.org> ...
9 years, 11 months ago (2011-01-19 00:35:19 UTC) #13
sky
On Tue, Jan 18, 2011 at 4:35 PM, <suzhe@chromium.org> wrote: > On 2011/01/19 00:29:16, sky ...
9 years, 11 months ago (2011-01-19 01:34:00 UTC) #14
James Su
On 2011/01/19 00:35:19, James Su wrote: > On 2011/01/19 00:29:16, sky wrote: > > On ...
9 years, 11 months ago (2011-01-19 02:01:01 UTC) #15
James Su
Any update?
9 years, 11 months ago (2011-01-20 23:19:07 UTC) #16
sky
Sorry, Nicholas was out yesterday and I'm out today. The more I think about it, ...
9 years, 11 months ago (2011-01-21 00:21:01 UTC) #17
James Su
On 2011/01/21 00:21:01, sky wrote: > Sorry, Nicholas was out yesterday and I'm out today. ...
9 years, 11 months ago (2011-01-21 00:47:16 UTC) #18
James Su
As M10 deadline is coming. I'm wondering if it's better to postpone the bug to ...
9 years, 11 months ago (2011-01-21 22:04:08 UTC) #19
sky
Yes, that's fine by me. -Scott On Fri, Jan 21, 2011 at 2:04 PM, <suzhe@chromium.org> ...
9 years, 11 months ago (2011-01-24 16:56:08 UTC) #20
James Su
The CL has been rebased. Add oshima for AutocompleteEditViewViews part.
9 years, 10 months ago (2011-01-27 19:22:45 UTC) #21
sky
http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc File chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (right): http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc#newcode1653 chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc:1653: OnBeforePossibleChange(); Do we need the OnBefore/after here? http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc#newcode1888 chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc:1888: ...
9 years, 10 months ago (2011-01-27 19:55:31 UTC) #22
James Su
http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc File chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc (right): http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc#newcode1653 chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc:1653: OnBeforePossibleChange(); On 2011/01/27 19:55:31, sky wrote: > Do we ...
9 years, 10 months ago (2011-01-27 20:07:16 UTC) #23
oshima
James, I was working on refactoring a while ago, that eliminates round trip to controller ...
9 years, 10 months ago (2011-01-27 21:17:44 UTC) #24
sky
http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_win.cc File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_win.cc#newcode2577 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:2577: long length = GetTextLength(); On 2011/01/27 20:07:16, James Su ...
9 years, 10 months ago (2011-01-27 21:47:20 UTC) #25
James Su
http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_views.cc File chrome/browser/autocomplete/autocomplete_edit_view_views.cc (right): http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_views.cc#newcode212 chrome/browser/autocomplete/autocomplete_edit_view_views.cc:212: } On 2011/01/27 21:17:44, oshima wrote: > instant is ...
9 years, 10 months ago (2011-01-27 21:55:52 UTC) #26
James Su
http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_win.cc File chrome/browser/autocomplete/autocomplete_edit_view_win.cc (right): http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_win.cc#newcode2577 chrome/browser/autocomplete/autocomplete_edit_view_win.cc:2577: long length = GetTextLength(); On 2011/01/27 21:47:20, sky wrote: ...
9 years, 10 months ago (2011-01-27 22:04:59 UTC) #27
oshima
On Thu, Jan 27, 2011 at 1:55 PM, <suzhe@chromium.org> wrote: > > > http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_views.cc > ...
9 years, 10 months ago (2011-01-27 22:13:40 UTC) #28
sky
On Thu, Jan 27, 2011 at 2:04 PM, <suzhe@chromium.org> wrote: > > http://codereview.chromium.org/5966006/diff/49001/chrome/browser/autocomplete/autocomplete_edit_view_win.cc > File ...
9 years, 10 months ago (2011-01-27 22:19:40 UTC) #29
James Su
On 2011/01/27 22:19:40, sky wrote: > On Thu, Jan 27, 2011 at 2:04 PM, <mailto:suzhe@chromium.org> ...
9 years, 10 months ago (2011-01-27 22:28:02 UTC) #30
James Su
Please help review again.
9 years, 10 months ago (2011-01-28 00:59:34 UTC) #31
sky
9 years, 10 months ago (2011-01-28 01:12:40 UTC) #32
LGTM

Powered by Google App Engine
This is Rietveld 408576698