|
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
Committed: https://crrev.com/a18fb174daa8e0c2770ce8f71807856de55f032c
Cr-Commit-Position: refs/heads/master@{#413987}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -289 lines) |
Patch |
 |
M |
ash/app_list/app_list_presenter_delegate.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf.h
|
View
|
1
|
5 chunks |
+3 lines, -35 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf.cc
|
View
|
|
3 chunks |
+3 lines, -53 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_layout_manager.h
|
View
|
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_layout_manager.cc
|
View
|
|
5 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_widget.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf.h
|
View
|
|
6 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf.cc
|
View
|
1
2
|
6 chunks |
+44 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager_unittest.cc
|
View
|
|
34 chunks |
+53 lines, -55 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget_unittest.cc
|
View
|
|
9 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ash/shell/context_menu.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shell_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/context_menu_mus.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_base.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_base.cc
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_resizer_unittest.cc
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/wm/immersive_fullscreen_controller_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_layout_manager_unittest.cc
|
View
|
1
|
7 chunks |
+19 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_window_resizer_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/wm/window_animations.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_layout_manager_unittest.cc
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace/workspace_window_resizer_unittest.cc
|
View
|
|
7 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/first_run/steps/tray_step.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/supervised/supervised_user_creation_screen.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
|
View
|
|
5 chunks |
+18 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 19 (11 generated)
|