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

Issue 2888014: [Mac] Convert content settings to LocationBarDecoration, cleanup. (Closed)

Created:
10 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews, John Grabowski, Erik does not do reviews, ben+cc_chromium.org, pam+watch_chromium.org, Aaron Boodman
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

[Mac] Convert content settings to LocationBarDecoration, cleanup. Cleanup removes all of the AutocompleteTextFieldIcon-based stuff from the cell implementation. BUG=none TEST=content settings still appear at the right times and places. TEST=content settings can be clicked on and the popup is positioned right. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52798

Patch Set 1 #

Total comments: 5

Patch Set 2 : tweak loop #

Patch Set 3 : noop change aiming for a clean try run. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -461 lines) Patch
M chrome/browser/cocoa/extensions/extension_action_context_menu.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/location_bar/autocomplete_text_field.mm View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.h View 3 chunks +8 lines, -50 lines 0 comments Download
M chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm View 10 chunks +13 lines, -179 lines 0 comments Download
A chrome/browser/cocoa/location_bar/content_setting_decoration.h View 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/location_bar/content_setting_decoration.mm View 1 chunk +88 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/location_bar/location_bar_view_mac.h View 4 chunks +4 lines, -92 lines 0 comments Download
M chrome/browser/cocoa/location_bar/location_bar_view_mac.mm View 1 6 chunks +18 lines, -135 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Scott Hess - ex-Googler
Getting to the final stretch, here! Feels nice to delete code from AutocompleteTextFieldCell :-).
10 years, 5 months ago (2010-07-16 17:49:59 UTC) #1
rohitrao (ping after 24h)
LGTM, with a few nits. There's probably some more cleaning up we can do in ...
10 years, 5 months ago (2010-07-16 18:17:24 UTC) #2
Scott Hess - ex-Googler
thanks for the fast turnaround. http://codereview.chromium.org/2888014/diff/1/7 File chrome/browser/cocoa/location_bar/content_setting_decoration.mm (right): http://codereview.chromium.org/2888014/diff/1/7#newcode66 chrome/browser/cocoa/location_bar/content_setting_decoration.mm:66: frame = GetDrawRectInFrame(frame); On ...
10 years, 5 months ago (2010-07-16 18:44:32 UTC) #3
rohitrao (ping after 24h)
LGTM >> You didn't change the name of this method? > > I think I ...
10 years, 5 months ago (2010-07-16 18:46:12 UTC) #4
Scott Hess - ex-Googler
10 years, 5 months ago (2010-07-16 18:52:02 UTC) #5
Yeah, I've queued up the try run...

On Fri, Jul 16, 2010 at 11:46 AM, Rohit Rao <rohitrao@chromium.org> wrote:
> LGTM
>
>>> You didn't change the name of this method?
>>
>> I think I blathered about "Get DrawRect In Frame" meaning DrawRect was a
>> noun.  And I didn't have a better idea.  ImageRect?
>
> Meh, was mostly just making sure you had tried to compile this :)
> Speaking of, another mac try run might not be bad, since the patch
> failed the last time.
>

Powered by Google App Engine
This is Rietveld 408576698