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_VIEWS_COREWM_WM_STATE_H_ | 5 #ifndef UI_VIEWS_COREWM_WM_STATE_H_ |
6 #define UI_VIEWS_COREWM_WM_STATE_H_ | 6 #define UI_VIEWS_COREWM_WM_STATE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 namespace corewm { | 12 namespace corewm { |
13 | 13 |
| 14 class TransientWindowController; |
14 class TransientWindowStackingClient; | 15 class TransientWindowStackingClient; |
15 | 16 |
16 // Installs state needed by the window manager. | 17 // Installs state needed by the window manager. |
17 class VIEWS_EXPORT WMState { | 18 class VIEWS_EXPORT WMState { |
18 public: | 19 public: |
19 WMState(); | 20 WMState(); |
20 ~WMState(); | 21 ~WMState(); |
21 | 22 |
22 // WindowStackingClient: | 23 // WindowStackingClient: |
23 private: | 24 private: |
24 scoped_ptr<TransientWindowStackingClient> window_stacking_client_; | 25 scoped_ptr<TransientWindowStackingClient> window_stacking_client_; |
| 26 scoped_ptr<TransientWindowController> transient_window_client_; |
25 | 27 |
26 DISALLOW_COPY_AND_ASSIGN(WMState); | 28 DISALLOW_COPY_AND_ASSIGN(WMState); |
27 }; | 29 }; |
28 | 30 |
29 } // namespace corewm | 31 } // namespace corewm |
30 } // namespace views | 32 } // namespace views |
31 | 33 |
32 #endif // UI_VIEWS_COREWM_WM_STATE_H_ | 34 #endif // UI_VIEWS_COREWM_WM_STATE_H_ |
OLD | NEW |