forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ash: Move alignment and autohide behavior from Shelf to WmShelf
This is a step toward replacing Shelf with WmShelf, which has a more sensible lifetime. It does not change shelf behavior. * Migrate the various getters and setters. * Before the shelf is constructed (after login) default the alignment to bottom-locked. After construction default to bottom. This is weird, but matches what we had before. * Add Shelf::wm_shelf() and use it in pieces of code that we know we'll have to refactor anyway (chrome, some ash/wm pieces we're not converting). * Move ShelfView::OnShelfAlignmentChanged() call into ShelfWidget. In general I'm trying to reduce outside access into ShelfView. * Convert Shelf* to WmShelf* where possible in tests. * Make AshTestBase::GetPrimaryShelf() public so it can be used in test utility functions outside of test classes. BUG=615502 TEST=ash_unittests, chrome unit_tests TBR=derat@chromium.org Review-Url: https://codereview.chromium.org/2272793005 Cr-Commit-Position: refs/heads/master@{#413987}
- Loading branch information
jamescook
authored and
Commit bot
committed
Aug 24, 2016
1 parent
8a0c47c
commit a18fb17
Showing
34 changed files
with
271 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.