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_ |