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

Issue 246009: [Mac] Support undo in the omnibox. (Closed)

Created:
11 years, 3 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] Support undo in the omnibox. BUG=http://crbug.com/18084 TEST=You should be able to undo and redo typing and pasting in the omnibox, unless autocomplete has kicked in or you selected/highlighted an entry in the popup. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31785

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.h View 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.mm View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_unittest.mm View 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rohitrao (ping after 24h)
Scott, do you want to try patching this in and seeing how it feels? This ...
11 years, 1 month ago (2009-10-26 22:08:15 UTC) #1
rohitrao (ping after 24h)
Moved the clearUndoChain functionality into the field, rather than in the edit view. Couple comments/concerns: ...
11 years, 1 month ago (2009-11-09 22:45:36 UTC) #2
Scott Hess - ex-Googler
http://codereview.chromium.org/246009/diff/5001/6001 File chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (right): http://codereview.chromium.org/246009/diff/5001/6001#newcode474 Line 474: [field_ clearUndoChain]; Did you consider having LocationBarViewMac::OnChanged() call ...
11 years, 1 month ago (2009-11-09 23:01:53 UTC) #3
rohitrao (ping after 24h)
Most comments addressed. I'm worried that the calls to clearUndoChain are destined to be scattered ...
11 years, 1 month ago (2009-11-10 00:22:41 UTC) #4
Scott Hess - ex-Googler
11 years, 1 month ago (2009-11-11 23:25:08 UTC) #5
lgtm.

Could it really be this easy?

Powered by Google App Engine
This is Rietveld 408576698