The flag will be --mus. In this mode ash and chrome will run in the same process (the browser process), and mus will run in a separate process.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/12a19e335d08d57c1517991c904c2390841cb105 commit 12a19e335d08d57c1517991c904c2390841cb105 Author: sky <sky@chromium.org> Date: Fri Mar 24 23:40:36 2017 Adds the ability to run chromeos with mus In this config the browser process contains chrome and ash. Mus is in a separate process. This patch is just the plumbing for the switch and detection, it doesn't actually work yet. BUG= 704985 TEST=none R=rockot@chromium.org, tsepez@chromium.org Review-Url: https://codereview.chromium.org/2775873002 Cr-Commit-Position: refs/heads/master@{#459599} [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/BUILD.gn [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/chrome_main.cc [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/mash/BUILD.gn [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/mash/chrome_mash_manifest.json [add] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/mash/chrome_mus_manifest.json [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/app/mash/mash_runner.cc [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/browser/chrome_content_browser_manifest_overlay.json [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/browser/ui/ash/ash_util.cc [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/browser/ui/ash/ash_util.h [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/common/chrome_switches.cc [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/common/chrome_switches.h [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/test/BUILD.gn [modify] https://crrev.com/12a19e335d08d57c1517991c904c2390841cb105/chrome/test/base/mojo_test_connector.cc
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a commit 494c6cbdea529cc6aa1e4e344bdc732d61d91d3a Author: sky <sky@chromium.org> Date: Mon Mar 27 20:57:48 2017 Gets chrome --mus some what working This makes chrome work in --mus mode. It comes up and displays stuff, but I have no doubt a bunch of stuff doesn't work. BUG= 704985 , 705592 , 705595 , 705591 , 678949 TEST=none R=erg@chromium.org Review-Url: https://codereview.chromium.org/2777223002 Cr-Commit-Position: refs/heads/master@{#459875} [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/aura/wm_shell_aura.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/aura/wm_shell_aura.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/common/wm_shell.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/bridge/wm_shell_mus.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/bridge/wm_shell_mus.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/test/wm_test_helper.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/window_manager.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/window_manager.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/mus/window_manager_application.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/public/cpp/BUILD.gn [add] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/public/cpp/config.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/shell.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/shell.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ash/test/ash_test_helper.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/chromeos/BUILD.gn [add] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/chromeos/ash_config.cc [add] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/chromeos/ash_config.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/chromeos/preferences.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/BUILD.gn [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/ash/ash_init.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/ash/ash_init.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/ash/ash_util.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/ash/ash_util.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/ash/chrome_shell_delegate.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/chrome/browser/ui/views/frame/native_browser_frame_factory_chromeos.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ui/aura/mus/window_manager_delegate.h [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ui/aura/mus/window_tree_client.cc [modify] https://crrev.com/494c6cbdea529cc6aa1e4e344bdc732d61d91d3a/ui/aura/mus/window_tree_client.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b commit fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b Author: sky <sky@chromium.org> Date: Mon Mar 27 23:52:27 2017 WindowTreeHostManager::GetRootWindowForDisplayId -> WmShell::GetRoo... WindowTreeHostManager isn't used in mus/mash where as WmShell always works. BUG= 704985 TEST=none R=msw@chromium.org Review-Url: https://codereview.chromium.org/2779653003 Cr-Commit-Position: refs/heads/master@{#459943} [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/accelerators/accelerator_controller_delegate_aura.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/app_list/app_list_presenter_delegate.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/shell/window_watcher.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/sticky_keys/sticky_keys_overlay_unittest.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/wm/drag_window_controller.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/ash/wm/immersive_fullscreen_controller_unittest.cc [modify] https://crrev.com/fdef0a41cb0137a12e40bad9bdf7f39e53a2d51b/chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.cc
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d8462c3cca625a374bd9ffabb5b23178a53b70e2 commit d8462c3cca625a374bd9ffabb5b23178a53b70e2 Author: sky <sky@chromium.org> Date: Wed Mar 29 15:47:44 2017 Make WmShellMus use classic types for mus mushrome mode should mostly use classic code. This makes WmShellMus use classic code where appropriate. BUG= 704985 TEST=none R=msw@chromium.org Review-Url: https://codereview.chromium.org/2783563002 Cr-Commit-Position: refs/heads/master@{#460400} [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/mus/bridge/wm_shell_mus.cc [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/mus/bridge/wm_shell_mus.h [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/wm/maximize_mode/maximize_mode_event_handler_aura.h [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_ozone.h [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/wm/window_cycle_event_filter_aura.h [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/ash/wm/workspace/workspace_event_handler_aura.h [modify] https://crrev.com/d8462c3cca625a374bd9ffabb5b23178a53b70e2/chrome/browser/ui/ash/ash_init.cc
This is done, you can now run mushrome mode with --mus.
Comment 1 by bugdroid1@chromium.org
, Mar 24 2017