|
|
ash: Move shelf alignment and auto-hide calls from Shell to Shelf
Shelf (aka ShelfController) should be the single point of access for alignment
and auto-hide state.
* Eliminate Shell::GetShelfAlignment and SetShelfAlignment
* Eliminate Shell::GetShelfAutoHideBehavior and SetShelfAutoHideBehavior
* Convert Shelf::GetAutoHideBehavior() to auto_hide_behavior()
* Use Shelf::ForPrimaryDisplay() in unit tests to avoid accessing the
RootWindowController.
BUG= 615502
TEST=existing ash_unittests and unit_tests
Committed: https://crrev.com/6afad6dbdc55b439182cadbd9cd08efd3f7ae6ee
Cr-Commit-Position: refs/heads/master@{#396994}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+95 lines, -161 lines) |
Patch |
 |
M |
ash/content/keyboard_overlay/keyboard_overlay_delegate_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.h
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.cc
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget_unittest.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
|
1 chunk |
+0 lines, -20 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
|
|
2 chunks |
+16 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
|
View
|
|
4 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/context_menu_mus.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/sysui/shelf_delegate_mus.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/wm/dock/docked_window_resizer_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/wm/panels/panel_window_resizer_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/first_run/steps/tray_step.cc
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
View
|
|
7 chunks |
+14 lines, -26 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 18 (8 generated)
|