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

Issue 934503002: Ash frames: dark frames now use white caption buttons. (Closed)

Created:
5 years, 10 months ago by benwells
Modified:
5 years, 10 months ago
Reviewers:
pkotwicz, oshima, James Cook
CC:
chromium-reviews, kalyank, sadrul, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ash frames: dark frames now use white caption buttons. Also included in this change is the removal of inactive caption assets. Instead of including these as assets, the normal assets are drawn with 20% alpha instead. TBR=oshima BUG=448308 Committed: https://crrev.com/cc4dc2dea6c65c7e03c560c678c2b57b4d217fa8 Cr-Commit-Position: refs/heads/master@{#316790}

Patch Set 1 #

Patch Set 2 : Tidy up #

Patch Set 3 : ash_unittests #

Total comments: 8

Patch Set 4 : Review feedback #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -87 lines) Patch
M ash/frame/caption_buttons/frame_caption_button.h View 3 chunks +0 lines, -6 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button.cc View 1 2 3 7 chunks +10 lines, -14 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button_container_view.h View 2 chunks +0 lines, -3 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button_container_view.cc View 4 chunks +0 lines, -7 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/frame/caption_buttons/frame_size_button_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/frame/default_header_painter.h View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M ash/frame/default_header_painter.cc View 1 2 3 6 chunks +50 lines, -38 lines 0 comments Download
M ash/frame/default_header_painter_unittest.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
M ash/resources/ash_resources.grd View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
D ash/resources/default_100_percent/common/window_control_icon_back_inactive.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/window_control_icon_close_inactive.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/window_control_icon_maximize_inactive.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/window_control_icon_minimize_inactive.png View Binary file 0 comments Download
D ash/resources/default_100_percent/common/window_control_icon_restore_inactive.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/window_control_icon_back_inactive.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/window_control_icon_close_inactive.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/window_control_icon_maximize_inactive.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/window_control_icon_minimize_inactive.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/window_control_icon_restore_inactive.png View Binary file 0 comments Download
M chrome/browser/ui/views/frame/browser_header_painter_ash.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc View 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
benwells
pkotwicz for ash/ jamescook for c/b/ui/views/frame oshima for binaries / grd
5 years, 10 months ago (2015-02-16 09:52:37 UTC) #2
pkotwicz
LGTM with comments Why the .zip file? https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc#newcode174 ash/frame/caption_buttons/frame_caption_button.cc:174: alpha = ...
5 years, 10 months ago (2015-02-17 18:56:43 UTC) #3
James Cook
LGTM but please address comments before landing https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc#newcode67 ash/frame/caption_buttons/frame_caption_button.cc:67: crossfade_icon_image_ = ...
5 years, 10 months ago (2015-02-17 22:16:55 UTC) #4
benwells
https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc#newcode67 ash/frame/caption_buttons/frame_caption_button.cc:67: crossfade_icon_image_ = icon_image_; On 2015/02/17 22:16:55, James Cook wrote: ...
5 years, 10 months ago (2015-02-17 22:18:38 UTC) #5
James Cook
https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc#newcode67 ash/frame/caption_buttons/frame_caption_button.cc:67: crossfade_icon_image_ = icon_image_; On 2015/02/17 22:18:38, benwells wrote: > ...
5 years, 10 months ago (2015-02-17 22:20:20 UTC) #6
benwells
zip file was a mistake :/ https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/934503002/diff/40001/ash/frame/caption_buttons/frame_caption_button.cc#newcode174 ash/frame/caption_buttons/frame_caption_button.cc:174: alpha = static_cast<int>(kInactiveIconAlpha ...
5 years, 10 months ago (2015-02-18 07:08:46 UTC) #8
benwells
As oshima is a way, and jamescook has reviewed, TBR'ing oshima.
5 years, 10 months ago (2015-02-18 07:09:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934503002/80001
5 years, 10 months ago (2015-02-18 09:11:42 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-18 09:47:50 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 09:48:41 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cc4dc2dea6c65c7e03c560c678c2b57b4d217fa8
Cr-Commit-Position: refs/heads/master@{#316790}

Powered by Google App Engine
This is Rietveld 408576698