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

Issue 3046029: [Mac] First pass at final sizing of toolbar items. (Closed)

Created:
10 years, 4 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
Reviewers:
Robert Sesek, Bons
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] First pass at final sizing of toolbar items. Toolbar.xib changes: - buttons from 31x27 to 29x29 so that the visual is 27x27. - shift things left to take up opened space. - omnibox to 29 pixels tall. - wrench also to 29x29. - all of that raised a single pixel to recenter. - swap positions of home and reload. Modify home-button-adjustment code to reflect rearranged home/reload positions. Increase Omnibox font size by one point to match increased field height (and Windows Omnibox). Revise various font clients to recognize this. Shift Omnibox baseline and other measurements to account for increased height. Shift globe/search icon in by one pixel so icons on both sides of Omnibox are 4px from border. Matching shift in popup. Fix EV-bubble to use appropriate green for text, rather than black. Push out bubble to have a single-pixel space WRT Omnibox border. Tighten corners to tuck into Omnibox corners. Handle different lhs padding versus location icon (image should end up in same spot, even though the bubble draws outside the image). BUG=50575 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54188

Patch Set 1 #

Total comments: 2

Patch Set 2 : Sigh. Fix unit tests which were positioning dependent. #

Patch Set 3 : Don't disable unit tests for realz, sorry. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -978 lines) Patch
M chrome/app/nibs/Toolbar.xib View 35 chunks +51 lines, -945 lines 1 comment Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_popup_view_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/autocomplete_text_field_unittest.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/bubble_decoration.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/bubble_decoration.mm View 1 7 chunks +52 lines, -14 lines 0 comments Download
M chrome/browser/cocoa/location_bar/keyword_hint_decoration.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/location_bar_view_mac.mm View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/cocoa/toolbar_controller_unittest.mm View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Scott Hess - ex-Googler
There is more to be done, especially around browser actions. After this, I have a ...
10 years, 4 months ago (2010-07-28 22:46:16 UTC) #1
Bons
LGTM http://codereview.chromium.org/3046029/diff/1/7 File chrome/browser/cocoa/location_bar/bubble_decoration.mm (right): http://codereview.chromium.org/3046029/diff/1/7#newcode20 chrome/browser/cocoa/location_bar/bubble_decoration.mm:20: // handles things. Here, it just draws the ...
10 years, 4 months ago (2010-07-29 01:04:27 UTC) #2
Scott Hess - ex-Googler
Sigh. Tree is open and I forgot to send a try job. http://codereview.chromium.org/3046029/diff/1/7 File chrome/browser/cocoa/location_bar/bubble_decoration.mm ...
10 years, 4 months ago (2010-07-29 18:05:34 UTC) #3
Bons
LGTM Thanks for the re-wording. On Thu, Jul 29, 2010 at 2:05 PM, <shess@chromium.org> wrote: ...
10 years, 4 months ago (2010-07-29 18:08:23 UTC) #4
Scott Hess - ex-Googler
Thx. I need to upgrade to 10.6 so that running unit tests locally isn't so ...
10 years, 4 months ago (2010-07-29 20:23:47 UTC) #5
Robert Sesek
10 years, 4 months ago (2010-07-30 14:37:21 UTC) #6
http://codereview.chromium.org/3046029/diff/9001/10001
File chrome/app/nibs/Toolbar.xib (right):

http://codereview.chromium.org/3046029/diff/9001/10001#newcode5
chrome/app/nibs/Toolbar.xib:5: <string
key="IBDocument.SystemVersion">9L31a</string>
Please only save XIBs on 10.6.

Powered by Google App Engine
This is Rietveld 408576698