|
mash: Use ChromeLauncherControllerImpl, remove Mus subclass stub.
Use ChromeLauncherControllerImpl in mash with a fake ShelfModel.
Update BrowserShortcutLauncherItemController to not crash in mash:
-Use BrowserList::GetLastActive instead of ash::wm::GetActiveWindow.
-Use the locally cached |shelf_model_| instead of Shell's accessor.
Avoid crashes by disabling some behavior in mash (no Shell):
-Skip BrowserStatusMonitor's activation client observation.
-Skip ChromeLauncherController's SystemTrayDelegate & Keyboard use.
-Use a stub MultiUserWindowManager instance.
Remove unused ChromeLauncherControllerMus stub.
TODO: Fix disabled behavior and bad interaction in mash.
BUG= 557406
TEST=No classic Chrome OS or chrome --mash behavior changes.
R=jamescook@chromium.org
Review-Url: https://codereview.chromium.org/2835063003
Cr-Commit-Position: refs/heads/master@{#467228}
Committed: https://chromium.googlesource.com/chromium/src/+/6fd672f43f11c93d78c93f39c9d0fb9a50d98375
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -391 lines) |
Patch |
|
M |
chrome/browser/ui/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/app_window_launcher_controller.h
|
View
|
1
2
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
View
|
1
|
6 chunks |
+21 lines, -23 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/browser_status_monitor.cc
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
|
View
|
1
|
3 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h
|
View
|
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
|
D |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc
|
View
|
|
1 chunk |
+0 lines, -231 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/extension_launcher_context_menu.cc
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/launcher_context_menu.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc
|
View
|
1
|
4 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
Total messages: 25 (19 generated)
|