|
|
ash: Move ShelfWidget ownership to WmShelf and refactor access to it
This consolidates access to ShelfWidget in a single location.
* Move ShelfWidget ownership to WmShelf
* Remove RootWindowController::shelf_widget() and access it via WmShelf
cleanup
* Move HandleShowMessageCenterBubble to AcceleratorController because it no
longer depends on the aura-only ash::RootWindowController
* Eliminate WmShelf::SetShelfLayoutManager in favor of an explicit create,
shutdown, destroy cycle for ShelfWidget
* Move StatusAreaWidget creation slightly later, needed for above
There's still some ugliness here around ShelfWidget creation/destruction order
but it's better (or at least more explicit) than it was.
Pure refactor, no functional changes.
BUG= 615502
TEST=ash_unittests, unit_tests, manual tests of login with and without a
secondary display.
Committed: https://crrev.com/b551aba636f950844dad415bd73e08cdc815ebd6
Cr-Commit-Position: refs/heads/master@{#415826}
Total comments: 2
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+153 lines, -167 lines) |
Patch |
 |
M |
ash/accelerators/accelerator_controller_delegate_aura.cc
|
View
|
|
4 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ash/aura/wm_root_window_controller_aura.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shelf_aura.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/aura/wm_shelf_aura.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/accelerators/accelerator_controller.cc
|
View
|
|
4 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_widget.h
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_widget.cc
|
View
|
|
3 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/wm_shelf.cc
|
View
|
1
|
8 chunks |
+32 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ash/mus/accelerators/accelerator_controller_delegate_mus.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shelf_mus.h
|
View
|
1
2
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/mus/bridge/wm_shelf_mus.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/mus/root_window_controller.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.h
|
View
|
|
4 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ash/root_window_controller.cc
|
View
|
1
2
|
12 chunks |
+31 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ash/screen_util.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
2
|
6 chunks |
+8 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ash/shell/window_type_launcher.cc
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
ash/test/status_area_widget_test_helper.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/wm/overview/window_selector_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/wm/workspace_controller_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 14 (8 generated)
|