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

Issue 11791030: mac: New asset for the tabstrip border, tweak drawing. (Closed)

Created:
7 years, 11 months ago by Nico
Modified:
7 years, 11 months ago
Reviewers:
Robert Sesek, sail
CC:
chromium-reviews, sail+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

mac: New asset for the tabstrip border, tweak drawning. Paint the tab outline, new tab button outline, and the tabstrip border at 0.65 opacity in non-focused windows, like image_button_cell does already. Also change inactive tabs to not paint on top of the tabstrip. BUG=166403, 52468 TEST=look at tab strip, it now has a white line below the grey line again. With themes, the theme color shines through the separator line again. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175402

Patch Set 1 #

Patch Set 2 : tweak #

Total comments: 6

Patch Set 3 : round2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -12 lines) Patch
M chrome/app/theme/default_100_percent/mac/tab_inactive_center.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_100_percent/mac/tab_inactive_left.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_100_percent/mac/tab_inactive_right.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_100_percent/mac/toolbar_shade_top.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_200_percent/mac/tab_inactive_center.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_200_percent/mac/tab_inactive_left.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_200_percent/mac/tab_inactive_right.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/theme/default_200_percent/mac/toolbar_shade_top.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/image_button_cell.mm View 1 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_view.mm View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_view.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_view.mm View 1 2 6 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
7 years, 11 months ago (2013-01-07 20:15:01 UTC) #1
Nico
sail@ might be out?
7 years, 11 months ago (2013-01-07 20:33:55 UTC) #2
Robert Sesek
LGTM
7 years, 11 months ago (2013-01-07 20:56:16 UTC) #3
Nico
Please take another look, this changed a bit on feedback from sgabriel. Do we have ...
7 years, 11 months ago (2013-01-07 21:56:17 UTC) #4
Nico
https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/tabs/tab_view.mm File chrome/browser/ui/cocoa/tabs/tab_view.mm (right): https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/tabs/tab_view.mm#newcode426 chrome/browser/ui/cocoa/tabs/tab_view.mm:426: alpha, (I measured that this doesn't regress throbber performance.)
7 years, 11 months ago (2013-01-07 21:57:21 UTC) #5
Robert Sesek
On 2013/01/07 21:56:17, Nico wrote: > Please take another look, this changed a bit on ...
7 years, 11 months ago (2013-01-07 22:08:04 UTC) #6
Nico
Thanks, moved the constant to tab_view.h. https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/image_button_cell.mm File chrome/browser/ui/cocoa/image_button_cell.mm (left): https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/image_button_cell.mm#oldcode23 chrome/browser/ui/cocoa/image_button_cell.mm:23: } // namespace ...
7 years, 11 months ago (2013-01-07 22:20:15 UTC) #7
Robert Sesek
https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/image_button_cell.mm File chrome/browser/ui/cocoa/image_button_cell.mm (left): https://codereview.chromium.org/11791030/diff/4003/chrome/browser/ui/cocoa/image_button_cell.mm#oldcode23 chrome/browser/ui/cocoa/image_button_cell.mm:23: } // namespace On 2013/01/07 22:20:15, Nico wrote: > ...
7 years, 11 months ago (2013-01-07 22:24:27 UTC) #8
Robert Sesek
(still LGTM)
7 years, 11 months ago (2013-01-07 22:24:34 UTC) #9
sail
7 years, 11 months ago (2013-01-07 22:45:58 UTC) #10
Message was sent while issue was closed.
LGTM to me too!

Powered by Google App Engine
This is Rietveld 408576698