Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1762)

Unified Diff: ash/mus/window_manager_application.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/mus/window_manager_application.cc
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
index 472cd79ea461c3e815bc2938a27d9ada1ebe35ea..552b2ff9ec3909cb0c29aa728a29dda99558d6fc 100644
--- a/ash/mus/window_manager_application.cc
+++ b/ash/mus/window_manager_application.cc
@@ -7,8 +7,8 @@
#include <utility>
#include "ash/mus/accelerator_registrar_impl.h"
-#include "ash/mus/bridge/wm_globals_mus.h"
#include "ash/mus/bridge/wm_lookup_mus.h"
+#include "ash/mus/bridge/wm_shell_mus.h"
#include "ash/mus/root_window_controller.h"
#include "ash/mus/root_windows_observer.h"
#include "ash/mus/shelf_layout_impl.h"
@@ -56,13 +56,13 @@ std::set<RootWindowController*> WindowManagerApplication::GetRootControllers() {
void WindowManagerApplication::OnRootWindowControllerGotRoot(
RootWindowController* root_controller) {
- if (globals_)
+ if (shell_)
return; // |root_controller| is the > 1 root, nothing to do.
if (connector_)
aura_init_.reset(new views::AuraInit(connector_, "ash_mus_resources.pak"));
- globals_.reset(new WmGlobalsMus(root_controller->root()->window_tree()));
+ shell_.reset(new WmShellMus(root_controller->root()->window_tree()));
lookup_.reset(new WmLookupMus);
}

Powered by Google App Engine
This is Rietveld 408576698