OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_ |
| 6 #define ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace ash { |
| 11 namespace wm { |
| 12 class WmWindow; |
| 13 } |
| 14 |
| 15 // This will eventually become what is RootWindowController. During the |
| 16 // transition it contains code used by both the aura and mus implementations. |
| 17 // It should *not* contain any aura specific code. |
| 18 class RootWindowControllerCommon { |
| 19 public: |
| 20 explicit RootWindowControllerCommon(wm::WmWindow* root); |
| 21 ~RootWindowControllerCommon(); |
| 22 |
| 23 // Creates the containers (WmWindows) used by the shell. |
| 24 void CreateContainers(); |
| 25 |
| 26 private: |
| 27 wm::WmWindow* root_; |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(RootWindowControllerCommon); |
| 30 }; |
| 31 |
| 32 } // namespace ash |
| 33 |
| 34 #endif // ASH_ROOT_WINDOW_CONTROLLER_COMMON_H_ |
OLD | NEW |