OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_WM_CORE_WM_STATE_H_ | 5 #ifndef UI_WM_CORE_WM_STATE_H_ |
6 #define UI_WM_CORE_WM_STATE_H_ | 6 #define UI_WM_CORE_WM_STATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/wm/core/wm_core_export.h" | 9 #include "ui/wm/wm_export.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 class PlatformEventSource; | 12 class PlatformEventSource; |
13 } | 13 } |
14 | 14 |
15 namespace wm { | 15 namespace wm { |
16 | 16 |
17 class TransientWindowController; | 17 class TransientWindowController; |
18 class TransientWindowStackingClient; | 18 class TransientWindowStackingClient; |
19 | 19 |
20 // Installs state needed by the window manager. | 20 // Installs state needed by the window manager. |
21 class WM_CORE_EXPORT WMState { | 21 class WM_EXPORT WMState { |
22 public: | 22 public: |
23 WMState(); | 23 WMState(); |
24 ~WMState(); | 24 ~WMState(); |
25 | 25 |
26 // WindowStackingClient: | 26 // WindowStackingClient: |
27 private: | 27 private: |
28 scoped_ptr<TransientWindowStackingClient> window_stacking_client_; | 28 scoped_ptr<TransientWindowStackingClient> window_stacking_client_; |
29 scoped_ptr<TransientWindowController> transient_window_client_; | 29 scoped_ptr<TransientWindowController> transient_window_client_; |
30 scoped_ptr<ui::PlatformEventSource> event_source_; | 30 scoped_ptr<ui::PlatformEventSource> event_source_; |
31 | 31 |
32 DISALLOW_COPY_AND_ASSIGN(WMState); | 32 DISALLOW_COPY_AND_ASSIGN(WMState); |
33 }; | 33 }; |
34 | 34 |
35 } // namespace wm | 35 } // namespace wm |
36 | 36 |
37 #endif // UI_WM_CORE_WM_STATE_H_ | 37 #endif // UI_WM_CORE_WM_STATE_H_ |
OLD | NEW |