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

Unified Diff: ash/root_window_controller_common.h

Issue 2027733002: Creates RootWindowControllerCommon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@create_containers_wm_types
Patch Set: merge Created 4 years, 7 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
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/root_window_controller_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller_common.h
diff --git a/ash/root_window_controller_common.h b/ash/root_window_controller_common.h
new file mode 100644
index 0000000000000000000000000000000000000000..4a0b8b40e188659132f42a1c27ef8e7f42ef829f
--- /dev/null
+++ b/ash/root_window_controller_common.h
@@ -0,0 +1,34 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_
+#define ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_
+
+#include "base/macros.h"
+
+namespace ash {
+namespace wm {
+class WmWindow;
+}
+
+// This will eventually become what is RootWindowController. During the
+// transition it contains code used by both the aura and mus implementations.
+// It should *not* contain any aura specific code.
+class RootWindowControllerCommon {
+ public:
+ explicit RootWindowControllerCommon(wm::WmWindow* root);
+ ~RootWindowControllerCommon();
+
+ // Creates the containers (WmWindows) used by the shell.
+ void CreateContainers();
+
+ private:
+ wm::WmWindow* root_;
+
+ DISALLOW_COPY_AND_ASSIGN(RootWindowControllerCommon);
+};
+
+} // namespace ash
+
+#endif // ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/root_window_controller_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698