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

Issue 2679133003: [ash-md] Wired in the Shelf color to be derived from the Wallpaper. (Closed)

Created:
3 years, 10 months ago by bruthig
Modified:
3 years, 9 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Wired in the Shelf color to be derived from the Wallpaper. This CL adds a flag, which is disabled by default, that will color the shelf based on a color extracted from the current wallpaper. BUG=595010 TEST=ash_unittest, components_unittests Review-Url: https://codereview.chromium.org/2679133003 Cr-Commit-Position: refs/heads/master@{#453101} Committed: https://chromium.googlesource.com/chromium/src/+/33189d2b610025a3f8595e3cf6cc1347ad6a9d41

Patch Set 1 #

Patch Set 2 : Added --ash-shelf-color command line switch. #

Patch Set 3 : Merge with changes to https://codereview.chromium.org/2690513002 #

Patch Set 4 : Polish and tests #

Patch Set 5 : Fixed ash_unittests so they compile. #

Patch Set 6 : Ready for review. #

Total comments: 14

Patch Set 7 : Addressed msw@ comments from patch set 6. #

Patch Set 8 : Added Ash.Wallpaper.TimeSpentExtractingColors histogram. #

Total comments: 2

Patch Set 9 : Addressed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+721 lines, -141 lines) Patch
M ash/common/ash_switches.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M ash/common/ash_switches.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ash/common/shelf/app_list_button.h View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M ash/common/shelf/app_list_button.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/shelf/overflow_bubble_view.cc View 1 2 3 2 chunks +1 line, -5 lines 0 comments Download
M ash/common/shelf/overflow_button.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M ash/common/shelf/overflow_button.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/shelf/shelf_background_animator.h View 1 2 3 4 5 6 7 chunks +28 lines, -15 lines 0 comments Download
M ash/common/shelf/shelf_background_animator.cc View 1 2 3 4 5 6 5 chunks +44 lines, -22 lines 0 comments Download
M ash/common/shelf/shelf_background_animator_observer.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M ash/common/shelf/shelf_background_animator_unittest.cc View 1 2 3 4 5 10 chunks +59 lines, -43 lines 0 comments Download
M ash/common/shelf/shelf_constants.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf_constants.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_view.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/shelf/shelf_view.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf_widget.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_widget.cc View 1 2 3 4 5 5 chunks +8 lines, -8 lines 0 comments Download
M ash/common/system/status_area_widget.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/status_area_widget.cc View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M ash/common/system/tray/tray_background_view.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/tray/tray_background_view.cc View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M ash/common/wallpaper/wallpaper_controller.h View 1 2 3 5 7 chunks +35 lines, -1 line 0 comments Download
M ash/common/wallpaper/wallpaper_controller.cc View 1 2 3 4 5 6 7 8 8 chunks +80 lines, -0 lines 0 comments Download
M ash/common/wallpaper/wallpaper_controller_observer.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ash/common/wm/dock/docked_window_layout_manager.cc View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 2 chunks +21 lines, -0 lines 0 comments Download
M components/wallpaper/BUILD.gn View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A components/wallpaper/wallpaper_color_calculator.h View 1 2 3 4 5 6 7 8 1 chunk +87 lines, -0 lines 0 comments Download
A components/wallpaper/wallpaper_color_calculator.cc View 1 2 3 4 5 6 7 1 chunk +77 lines, -0 lines 0 comments Download
A components/wallpaper/wallpaper_color_calculator_observer.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A components/wallpaper/wallpaper_color_calculator_unittest.cc View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (20 generated)
bruthig
bshe@, can you please review changes in: - ash/common/wallpaper* - components/wallpaper/* sky@, can you please ...
3 years, 10 months ago (2017-02-23 22:45:18 UTC) #12
sky
+msw to review the shelf changes.
3 years, 10 months ago (2017-02-24 00:56:32 UTC) #14
sky
3 years, 10 months ago (2017-02-24 00:57:10 UTC) #15
msw
lgtm with a few nits https://codereview.chromium.org/2679133003/diff/100001/ash/common/shelf/app_list_button.h File ash/common/shelf/app_list_button.h (right): https://codereview.chromium.org/2679133003/diff/100001/ash/common/shelf/app_list_button.h#newcode77 ash/common/shelf/app_list_button.h:77: // Color used to ...
3 years, 10 months ago (2017-02-24 02:28:12 UTC) #18
sky
chrome LGTM (I'm rubber stamping the shelf changes as msw reviewed them)
3 years, 10 months ago (2017-02-24 04:13:51 UTC) #19
bruthig
Mark, can you review histograms.xml?
3 years, 10 months ago (2017-02-24 09:04:31 UTC) #21
Mark P
tentative histograms.xml lgtm assuming if you fix the one issue https://codereview.chromium.org/2679133003/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2679133003/diff/140001/tools/metrics/histograms/histograms.xml#newcode2146 ...
3 years, 10 months ago (2017-02-24 17:42:08 UTC) #22
bshe
wallpaper lgtm with nits https://codereview.chromium.org/2679133003/diff/100001/ash/common/wallpaper/wallpaper_controller.cc File ash/common/wallpaper/wallpaper_controller.cc (right): https://codereview.chromium.org/2679133003/diff/100001/ash/common/wallpaper/wallpaper_controller.cc#newcode44 ash/common/wallpaper/wallpaper_controller.cc:44: ash::switches::kAshShelfColor)) { nit: ash:: namespace ...
3 years, 10 months ago (2017-02-24 18:30:36 UTC) #23
bruthig
Thanks all, sending to CQ. https://codereview.chromium.org/2679133003/diff/100001/ash/common/shelf/app_list_button.h File ash/common/shelf/app_list_button.h (right): https://codereview.chromium.org/2679133003/diff/100001/ash/common/shelf/app_list_button.h#newcode77 ash/common/shelf/app_list_button.h:77: // Color used to ...
3 years, 10 months ago (2017-02-25 17:51:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2679133003/160001
3 years, 10 months ago (2017-02-25 17:51:47 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/33189d2b610025a3f8595e3cf6cc1347ad6a9d41
3 years, 10 months ago (2017-02-25 18:55:06 UTC) #30
sketch420stoner
lgtm
3 years, 9 months ago (2017-03-22 15:27:09 UTC) #32
sketch420stoner
lgtm
3 years, 9 months ago (2017-03-22 16:37:44 UTC) #33
sketch420stoner
3 years, 9 months ago (2017-03-22 16:37:46 UTC) #34
Message was sent while issue was closed.
lgtm

lgtm

Powered by Google App Engine
This is Rietveld 408576698