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

Issue 2958012: [Mac] Bring back the omnibox globe for an encore. (Closed)

Created:
10 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

[Mac] Bring back the omnibox globe for an encore. BUG=49077 TEST=Globe is back at LHS of omnibox. Draggable, droppable, clickable. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52385

Patch Set 1 #

Patch Set 2 : gclient sync #

Total comments: 6

Patch Set 3 : Rohit's suggestions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -2 lines) Patch
M chrome/browser/cocoa/location_bar/autocomplete_text_field_cell_unittest.mm View 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/cocoa/location_bar/location_icon_decoration.mm View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/cocoa/location_bar/location_icon_decoration_unittest.mm View 2 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Scott Hess - ex-Googler
10 years, 5 months ago (2010-07-14 18:35:03 UTC) #1
rohitrao (ping after 24h)
LGTM Woohoo unittests! http://codereview.chromium.org/2958012/diff/2001/3002 File chrome/browser/cocoa/location_bar/location_icon_decoration.mm (right): http://codereview.chromium.org/2958012/diff/2001/3002#newcode33 chrome/browser/cocoa/location_bar/location_icon_decoration.mm:33: if (image_width <= width) At least ...
10 years, 5 months ago (2010-07-14 18:38:49 UTC) #2
Scott Hess - ex-Googler
10 years, 5 months ago (2010-07-14 18:48:13 UTC) #3
Now I just want an open waterfall...

http://codereview.chromium.org/2958012/diff/2001/3002
File chrome/browser/cocoa/location_bar/location_icon_decoration.mm (right):

http://codereview.chromium.org/2958012/diff/2001/3002#newcode33
chrome/browser/cocoa/location_bar/location_icon_decoration.mm:33: if
(image_width <= width)
On 2010/07/14 18:38:49, rohitrao wrote:
> At least it wasn't an off-by-one error.

I can only assume it was an accidental late edit, or I was concentrating on the
bubble decorations.

http://codereview.chromium.org/2958012/diff/2001/3003
File chrome/browser/cocoa/location_bar/location_icon_decoration_unittest.mm
(right):

http://codereview.chromium.org/2958012/diff/2001/3003#newcode37
chrome/browser/cocoa/location_bar/location_icon_decoration_unittest.mm:37: const
CGFloat kWide = 100.0, kNarrow = 10.0;
On 2010/07/14 18:38:49, rohitrao wrote:
> I prefer one variable per line.  Does the style guide say anything about this?

Done.

http://codereview.chromium.org/2958012/diff/2001/3003#newcode39
chrome/browser/cocoa/location_bar/location_icon_decoration_unittest.mm:39:
LocationBarDecoration::kOmittedWidth);
On 2010/07/14 18:38:49, rohitrao wrote:
> Can you add a comment like:
> // Decorations with no image should return kOmittedWidth.

Done.

Powered by Google App Engine
This is Rietveld 408576698