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

Issue 2235233006: ash: Refactor Shelf ownership and ShelfView creation (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

ash: Refactor Shelf ownership and ShelfView creation This is a step toward replacing Shelf with WmShelf. See go/mash-shelf-refactor * Move Shelf ownership to ash::RootWindowController * Construct ShelfView in ShelfWidget * Remove Shelf usage from ShelfWidget implementation * Unfortunately, ShelfWidget::shelf() must remain for now as it is widely referenced. It will be easier to remove after alignment and autohide state move to WmShelf. * Eliminate Shelf::SetVisible() helper BUG=615502 TEST=existing ash_unittests and chrome unit_tests Committed: https://crrev.com/361185a2df3bfc21597d72dff241731e676885cd Cr-Commit-Position: refs/heads/master@{#411828}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : Eliminate Shelf::SetVisible #

Total comments: 6

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -63 lines) Patch
M ash/root_window_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 4 chunks +15 lines, -6 lines 0 comments Download
M ash/shelf/shelf.h View 1 2 4 chunks +7 lines, -9 lines 0 comments Download
M ash/shelf/shelf.cc View 1 2 4 chunks +10 lines, -20 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 4 chunks +12 lines, -3 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 13 chunks +35 lines, -25 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2235233006/diff/40001/ash/shelf/shelf.cc File ash/shelf/shelf.cc (right): https://codereview.chromium.org/2235233006/diff/40001/ash/shelf/shelf.cc#newcode40 ash/shelf/shelf.cc:40: shelf_view_(shelf_view), I'd like to ...
4 years, 4 months ago (2016-08-12 22:00:47 UTC) #8
msw
lgtm; nice step in the right direction https://codereview.chromium.org/2235233006/diff/40001/ash/shelf/shelf.cc File ash/shelf/shelf.cc (right): https://codereview.chromium.org/2235233006/diff/40001/ash/shelf/shelf.cc#newcode40 ash/shelf/shelf.cc:40: shelf_view_(shelf_view), On ...
4 years, 4 months ago (2016-08-12 22:39:53 UTC) #9
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/2235233006/60001
4 years, 4 months ago (2016-08-12 23:09:46 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-13 00:13:36 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-13 00:18:56 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/361185a2df3bfc21597d72dff241731e676885cd
Cr-Commit-Position: refs/heads/master@{#411828}

Powered by Google App Engine
This is Rietveld 408576698