OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_WM_WM_EVENT_H_ | 5 #ifndef ASH_WM_WM_EVENT_H_ |
6 #define ASH_WM_WM_EVENT_H_ | 6 #define ASH_WM_WM_EVENT_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/wm/wm_types.h" | 9 #include "ash/wm/wm_types.h" |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 namespace wm { | 13 namespace wm { |
14 | 14 |
15 // WMEventType defines a set of operations that can change the | 15 // WMEventType defines a set of operations that can change the |
16 // window's state type and bounds. | 16 // window's state type and bounds. |
17 enum WMEventType { | 17 enum WMEventType { |
18 // Following events are the request to become corresponding state. | 18 // Following events are the request to become corresponding state. |
19 // Note that this does not mean the window will be in corresponding | 19 // Note that this does not mean the window will be in corresponding |
20 // state and the request may not be fullfilled. | 20 // state and the request may not be fullfilled. |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 gfx::Rect requested_bounds_; | 113 gfx::Rect requested_bounds_; |
114 | 114 |
115 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent); | 115 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent); |
116 }; | 116 }; |
117 | 117 |
118 } // namespace wm | 118 } // namespace wm |
119 } // namespace ash | 119 } // namespace ash |
120 | 120 |
121 #endif // ASH_WM_WM_EVENT_H_ | 121 #endif // ASH_WM_WM_EVENT_H_ |
122 | 122 |
OLD | NEW |