|
|
mash: Move ownership of ShelfDelegate to WmShell
This removes some ash::Shell access in the shelf, which we need to eliminate
to port to mus.
* Move ShelfDelegate to //ash/common
* Move ownership to WmShell
* Move ShelfDelegate creation slightly earlier by doing it on Shelf creation,
rather than lazily on access. It can't happen in WmShell::Initialize() because
Chrome's implementation depends on the user being logged in.
TODO: Fix ash::ShelfWindowWatcher ownership and creation time.
BUG= 629244
TEST=ash_unittests, chrome unit_tests and browser_tests
TBR=rockot@chromium.org
Committed: https://crrev.com/ff5220bf49573c720e26bfa025011fa198038f27
Cr-Commit-Position: refs/heads/master@{#407497}
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+120 lines, -167 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
ash/common/shelf/shelf_delegate.h
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm_shell.h
|
View
|
|
5 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/common/wm_shell.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/metrics/user_metrics_recorder.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.h
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
D |
ash/shelf/shelf_delegate.h
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_layout_manager.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_widget_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
1
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
1
|
5 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ash/shell/shelf_delegate_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/sysui/shelf_delegate_mus.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/sysui/sysui_application.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/test/shelf_test_api.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/test/shell_test_api.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/test/shell_test_api.cc
|
View
|
1
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/test/test_shelf_delegate.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/arc/arc_auth_service.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/bookmark_app_helper.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
View
|
1
|
3 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc
|
View
|
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
Total messages: 41 (30 generated)
|