Chromium Code Reviews

Issue 211030: [Mac] Expose AutocompleteEditViewMac to Cocoa code. (Closed)

Created:
11 years, 3 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
Reviewers:
rohitrao (ping after 24h)
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Expose AutocompleteEditViewMac to Cocoa code. This reduces the number of forwarding/delegate shenanigans we have to go through.

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rohit's comments #

Unified diffs Side-by-side diffs Stats (+250 lines, -245 lines)
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 5 chunks +8 lines, -7 lines 0 comments
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 6 chunks +5 lines, -23 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field.h View 1 chunk +15 lines, -12 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field.mm View 3 chunks +4 lines, -13 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field_editor.h View 3 chunks +6 lines, -12 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field_editor.mm View 2 chunks +18 lines, -9 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field_editor_unittest.mm View 4 chunks +58 lines, -56 lines 0 comments
M chrome/browser/cocoa/autocomplete_text_field_unittest.mm View 9 chunks +57 lines, -113 lines 0 comments
A chrome/browser/cocoa/autocomplete_text_field_unittest_helper.h View 1 chunk +51 lines, -0 lines 0 comments
A chrome/browser/cocoa/autocomplete_text_field_unittest_helper.mm View 1 chunk +27 lines, -0 lines 0 comments
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments

Messages

Total messages: 7 (0 generated)
Scott Hess - ex-Googler
Finally, am moderately happy with this. Figured I should stop here, though.
11 years, 3 months ago (2009-09-18 18:39:53 UTC) #1
rohitrao (ping after 24h)
On 2009/09/18 18:39:53, shess wrote: > Finally, am moderately happy with this. Figured I should ...
11 years, 3 months ago (2009-09-18 20:08:55 UTC) #2
Scott Hess - ex-Googler
Basically. I didn't want to pass the direct pointer, because as things are currently put ...
11 years, 3 months ago (2009-09-18 20:45:37 UTC) #3
rohitrao (ping after 24h)
http://codereview.chromium.org/211030/diff/1/4 File chrome/browser/cocoa/autocomplete_text_field.h (right): http://codereview.chromium.org/211030/diff/1/4#newcode36 Line 36: // Called when the user to pastes into ...
11 years, 3 months ago (2009-09-21 14:33:49 UTC) #4
Scott Hess - ex-Googler
http://codereview.chromium.org/211030/diff/1/4 File chrome/browser/cocoa/autocomplete_text_field.h (right): http://codereview.chromium.org/211030/diff/1/4#newcode36 Line 36: // Called when the user to pastes into ...
11 years, 3 months ago (2009-09-21 17:29:05 UTC) #5
rohitrao (ping after 24h)
LGTM What is the plan for the new delegate methods I added for paste and ...
11 years, 3 months ago (2009-09-21 18:00:36 UTC) #6
Scott Hess - ex-Googler
11 years, 3 months ago (2009-09-21 18:06:11 UTC) #7
I've got another CL queued up to handle them.  I wanted to keep this
one small so that there wouldn't be a bunch of second-order
contention...

-scott


On Mon, Sep 21, 2009 at 11:00 AM,  <rohitrao@chromium.org> wrote:
> LGTM
>
> What is the plan for the new delegate methods I added for paste and go?
> =A0Should
> they be observerized too?
>
>
> http://codereview.chromium.org/211030/diff/1/8
> File chrome/browser/cocoa/autocomplete_text_field_editor_unittest.mm
> (right):
>
> http://codereview.chromium.org/211030/diff/1/8#newcode59
> Line 59: // The removeFromSuperview call is needed to prevent crashes in
> later tests.
>>
>> Done. =A0I copied that from your comment in
>
> autocomplete_text_field_unittest.mm
>>
>> :-).
>
> Ooops :)
>
> http://codereview.chromium.org/211030
>

Powered by Google App Engine