Chromium Code Reviews
Descriptionmash: Move the shelf DimmerView out of shelf_widget.cc.
Move DimmerView to ash/shelf/dimmer_view.[h|cc].
Add a static Create helper for View&Widget creation.
Convert aura::WindowOberserver->WmWindowObserver.
(and move observation from ShelfWidget to DimmerView)
Nix ShelfWidget's pointer to the DimmerView's widget.
Make the dimmer widget be owned by its native widget.
Pass WmShelf not ShelfWidget to DimmerView.
Undim on ShelfWidget::Shutdown.
BUG=615155
TEST=Automated tests; no Chrome OS shelf dimmer changes.
R=jamescook@chromium.org
Committed: https://crrev.com/36af7b5e3aa2816d67e720bfd633029b82a724f1
Cr-Commit-Position: refs/heads/master@{#409558}
Patch Set 1 #Patch Set 2 : Move dimmer creation to a static helper; fix widget ownership. #Patch Set 3 : Pass the WmShelf; Use WmWindowObserver; undim on ShelfWidget::Shutdown. #Patch Set 4 : Sync and rebase. #
Total comments: 26
Patch Set 5 : Address comments. #
Messages
Total messages: 19 (12 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||