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

Issue 337027: [Mac] Adjust Omnibox implementation to not break undo chain. (Closed)

Created:
11 years, 1 month ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Adjust Omnibox implementation to not break undo chain. This does not fix undo, it just makes the implementation break it less. BUG=18084 TEST=Omnibox should continue to work. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30071

Patch Set 1 #

Total comments: 2

Patch Set 2 : Tweak a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -1 line) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/cocoa/autocomplete_text_field.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.mm View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_unittest.mm View 1 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Scott Hess - ex-Googler
Here you go, even tests that it doesn't break undo (I think).
11 years, 1 month ago (2009-10-26 18:32:16 UTC) #1
rohitrao (ping after 24h)
LGTM This looks pretty much the same as your original idea, just structured nicely instead ...
11 years, 1 month ago (2009-10-26 18:56:01 UTC) #2
Scott Hess - ex-Googler
11 years, 1 month ago (2009-10-26 19:11:57 UTC) #3
http://codereview.chromium.org/337027/diff/1/5
File chrome/browser/cocoa/autocomplete_text_field_unittest.mm (right):

http://codereview.chromium.org/337027/diff/1/5#newcode590
Line 590: // Get a font different from the field's default font.
On 2009/10/26 18:56:02, rohitrao wrote:
> Why is the font important?

The font is immaterial, just wanted to make sure that the string being pushed in
differed materially from the field's defaults so that when I pull it out things
don't match coincidentally.  I'll try to augment the comment a bit.

Powered by Google App Engine
This is Rietveld 408576698