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

Issue 2235513002: mash shelf: Don't create shelf DimmerView in ShelfWidget on mus (Closed)

Created:
4 years, 4 months ago by James Cook
Modified:
4 years, 4 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash shelf: Don't create shelf DimmerView in ShelfWidget on mus This removes another aura dependency from ShelfWidget. * Introduce a pure-virtual interface for the DimmerView. * Delegate creation of the WmDimmerView out via WmShelf. * Return a null WmDimmerView on mus, indicating dimming is not supported. * Clean up some |shelf| vs. |shelf_widget| confusion in ShelfWidget. BUG=615155 TEST=existing ash_unittests Committed: https://crrev.com/896df1b1c68d4463c8ff5f05ff2c8b60a7d2e52b Cr-Commit-Position: refs/heads/master@{#410896}

Patch Set 1 #

Patch Set 2 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -39 lines) Patch
M ash/aura/wm_shelf_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/aura/wm_shelf_aura.cc View 2 chunks +5 lines, -0 lines 0 comments Download
A ash/common/shelf/wm_dimmer_view.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 2 chunks +9 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 1 chunk +6 lines, -1 line 0 comments Download
M ash/shelf/dimmer_view.h View 4 chunks +12 lines, -8 lines 0 comments Download
M ash/shelf/dimmer_view.cc View 2 chunks +16 lines, -8 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 12 chunks +30 lines, -22 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
James Cook
msw, please take a look. I went the pure-virtual interface route as it ended up ...
4 years, 4 months ago (2016-08-09 23:41:28 UTC) #4
msw
lgtm
4 years, 4 months ago (2016-08-09 23:48:58 UTC) #5
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/2235513002/20001
4 years, 4 months ago (2016-08-09 23:56:37 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-10 00:30:49 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 00:32:57 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/896df1b1c68d4463c8ff5f05ff2c8b60a7d2e52b
Cr-Commit-Position: refs/heads/master@{#410896}

Powered by Google App Engine
This is Rietveld 408576698