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

Issue 207047: [Mac] Convert Omnibox paste-and-go to use AutocompleteTextFieldObserver. (Closed)

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

Description

[Mac] Convert Omnibox paste-and-go to use AutocompleteTextFieldObserver. Obvious result of Rohit's addition of paste-and-go and my refactor to add AutocompleteTextFieldObserver. Bonus prize of unit tests for cocoa/ part of Rohit's change.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comment change. #

Patch Set 3 : Oops - remove test before its time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -75 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 2 chunks +3 lines, -13 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.h View 1 chunk +14 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.mm View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_editor.h View 2 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_editor.mm View 2 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_editor_unittest.mm View 1 2 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_unittest_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Scott Hess - ex-Googler
Sorry about the egregious conversion of -insertMenuItem: to -addMenuItem:. When writing the test, I was ...
11 years, 3 months ago (2009-09-21 22:56:05 UTC) #1
rohitrao (ping after 24h)
LGTM There are many other tests that would benefit from GMock and OCMock. I'll put ...
11 years, 3 months ago (2009-09-23 17:47:12 UTC) #2
Scott Hess - ex-Googler
http://codereview.chromium.org/207047/diff/1/8 File chrome/browser/cocoa/autocomplete_text_field_editor_unittest.mm (right): http://codereview.chromium.org/207047/diff/1/8#newcode178 Line 178: // TODO(shess): Check the titles, too? Enforce order, ...
11 years, 3 months ago (2009-09-23 19:45:20 UTC) #3
Scott Hess - ex-Googler
11 years, 3 months ago (2009-09-23 20:14:49 UTC) #4
And I will, um, remove the test which didn't pass because it tested code which
didn't exist until the code review I'll be sending you presently.  Sigh and
double-sigh.

On 2009/09/23 19:45:20, shess wrote:
> http://codereview.chromium.org/207047/diff/1/8
> File chrome/browser/cocoa/autocomplete_text_field_editor_unittest.mm (right):
> 
> http://codereview.chromium.org/207047/diff/1/8#newcode178
> Line 178: // TODO(shess): Check the titles, too?  Enforce order, or allow
> On 2009/09/23 17:47:12, rohitrao wrote:
> > We should enforce order, because the menu should always go Cut/Copy/Paste.
> 
> I'll strip the "enforce order" part from the todo.

Powered by Google App Engine
This is Rietveld 408576698