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

Issue 260008: [Mac] Cmd-Return in the omnibox should revert the omnibox text back to its or... (Closed)

Created:
11 years, 2 months ago by rohitrao (ping after 24h)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

[Mac] Cmd-Return in the omnibox should revert the omnibox text back to its original state. BUG=23514 TEST=Type a URL into the omnibox, then Cmd-Return. The omnibox text should revert to its original state. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29743

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -12 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.h View 2 3 4 5 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 2 3 4 5 4 chunks +14 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
rohitrao (ping after 24h)
An alternative would be to add a reset_on_accept_ member to AutocompleteEditViewMac and explicitly set it ...
11 years, 2 months ago (2009-10-05 02:22:23 UTC) #1
Scott Hess - ex-Googler
http://codereview.chromium.org/260008/diff/1/2 File chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (right): http://codereview.chromium.org/260008/diff/1/2#newcode812 Line 812: edit_view_->RevertAll(); Are you refering to how the GTK ...
11 years, 2 months ago (2009-10-06 18:25:29 UTC) #2
rohitrao (ping after 24h)
> It sounds like the odd man out is our wiring of > AutocompletePopupViewMac::AcceptInput() to ...
11 years, 2 months ago (2009-10-07 13:43:47 UTC) #3
Scott Hess - ex-Googler
On 2009/10/07 13:43:47, rohitrao wrote: > > It sounds like the odd man out is ...
11 years, 2 months ago (2009-10-08 17:58:23 UTC) #4
rohitrao (ping after 24h)
> Should probably prefer like-other-platforms as possible, and Cmd+Return being > the special-to-Mac version. Then ...
11 years, 2 months ago (2009-10-16 18:49:26 UTC) #5
rohitrao (ping after 24h)
Assuming my previous comments were correct, this is the resulting code. The popup changes are ...
11 years, 2 months ago (2009-10-16 19:29:22 UTC) #6
Scott Hess - ex-Googler
I think this is clearer than before. LGTM, but check my comment around -1. http://codereview.chromium.org/260008/diff/7001/8002 ...
11 years, 2 months ago (2009-10-21 20:58:16 UTC) #7
rohitrao (ping after 24h)
Hm, now when I click and drag off, I lose the selected row blue highlight ...
11 years, 2 months ago (2009-10-21 21:13:14 UTC) #8
rohitrao (ping after 24h)
On 2009/10/21 21:13:14, rohitrao wrote: > Hm, now when I click and drag off, I ...
11 years, 2 months ago (2009-10-21 21:22:27 UTC) #9
Scott Hess - ex-Googler
lgtm with nits. http://codereview.chromium.org/260008/diff/12004/12007 File chrome/browser/autocomplete/autocomplete_popup_view_mac.h (right): http://codereview.chromium.org/260008/diff/12004/12007#newcode112 Line 112: // Opens the URL corresponding ...
11 years, 2 months ago (2009-10-21 23:13:18 UTC) #10
rohitrao (ping after 24h)
http://codereview.chromium.org/260008/diff/12004/12007 File chrome/browser/autocomplete/autocomplete_popup_view_mac.h (right): http://codereview.chromium.org/260008/diff/12004/12007#newcode112 Line 112: // Opens the URL corresponding to the given ...
11 years, 2 months ago (2009-10-22 00:33:03 UTC) #11
Scott Hess - ex-Googler
11 years, 2 months ago (2009-10-22 04:30:36 UTC) #12
Just in case, LGTM.

Am happy with your changes, they aren't huge but the previous code was seeming a
bit cargo-cult, this feels more like we know what's going on.

Powered by Google App Engine
This is Rietveld 408576698