Chromium Code Reviews| 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..dbbb4c7fb17fd6dbd4608c88b22cb3050723662d |
| --- /dev/null |
| +++ b/ash/root_window_controller_common.h |
| @@ -0,0 +1,35 @@ |
| +// 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 "ash/ash_export.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 ASH_EXPORT RootWindowControllerCommon { |
|
James Cook
2016/05/31 18:22:58
Does this need to be exported? For tests?
sky
2016/05/31 19:26:55
It doesn't. Removed.
|
| + 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_ |