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

Issue 1948963002: [Mac][Material Design] Fix toolbar height on Retina. (Closed)

Created:
4 years, 7 months ago by shrike
Modified:
4 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac][Material Design] Fix toolbar height on Retina. A recent change to center the toolbar's buttons and textfield on Retina displays throws them off-center on Retina when in Material Design. This change bypasses the adjustment in this case. Note that on Retina there is an odd number of pixels between the top and bottom edges of the toolbar, which means that the location bar's contents cannot be exactly centered. This is per spec (it also occurs on ChromeOS). Lastly, this cl makes the location bar shadow color transparent. R=avi@chromium.org BUG=605140 Committed: https://crrev.com/90b73afb789c6a84ce25579c08bb4ac55164c768 Cr-Commit-Position: refs/heads/master@{#392379}

Patch Set 1 #

Patch Set 2 : Prepare for review. #

Total comments: 2

Patch Set 3 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -14 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 2 2 chunks +20 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
shrike
PTAL
4 years, 7 months ago (2016-05-07 14:21:02 UTC) #4
Avi (use Gerrit)
https://codereview.chromium.org/1948963002/diff/20001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): https://codereview.chromium.org/1948963002/diff/20001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode1039 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:1039: // When on a Retina display, -[ToolbarContrller baseToolbarHeight] reduces ...
4 years, 7 months ago (2016-05-07 15:12:24 UTC) #5
shrike
PTAL https://codereview.chromium.org/1948963002/diff/20001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): https://codereview.chromium.org/1948963002/diff/20001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode1039 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:1039: // When on a Retina display, -[ToolbarContrller baseToolbarHeight] ...
4 years, 7 months ago (2016-05-07 18:22:34 UTC) #6
Avi (use Gerrit)
lgtm
4 years, 7 months ago (2016-05-07 18:54:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948963002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948963002/40001
4 years, 7 months ago (2016-05-09 16:25:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1948963002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1948963002/40001
4 years, 7 months ago (2016-05-09 18:01:01 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-09 18:41:45 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/90b73afb789c6a84ce25579c08bb4ac55164c768 Cr-Commit-Position: refs/heads/master@{#392379}
4 years, 7 months ago (2016-05-09 18:43:01 UTC) #16
shrike
4 years, 3 months ago (2016-08-30 17:40:13 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2294733004/ by shrike@chromium.org.

The reason for reverting is: Testing for cause of regression..

Powered by Google App Engine
This is Rietveld 408576698