blob: a0f182a120030ec50d7141f5116ca6b184d7e187 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (c) 2013 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 UI_WM_CORE_WM_STATE_H_
#define UI_WM_CORE_WM_STATE_H_
#include <memory>
#include "ui/wm/core/wm_core_export.h"
namespace wm {
class CaptureController;
class TransientWindowController;
class TransientWindowStackingClient;
// Installs state needed by the window manager.
class WM_CORE_EXPORT WMState {
public:
WMState();
WMState(const WMState&) = delete;
WMState& operator=(const WMState&) = delete;
~WMState();
private:
std::unique_ptr<TransientWindowStackingClient> window_stacking_client_;
std::unique_ptr<TransientWindowController> transient_window_client_;
// NOTE: this is really only needed in ash
std::unique_ptr<CaptureController> capture_controller_;
};
} // namespace wm
#endif // UI_WM_CORE_WM_STATE_H_
|