Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: ash/wm/wm_event.h

Issue 1890713002: Adds WmWindow and converts WindowState to use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 // TODO(sky): move to common.
13 namespace ash { 14 namespace ash {
14 namespace wm { 15 namespace wm {
15 16
16 // WMEventType defines a set of operations that can change the 17 // WMEventType defines a set of operations that can change the
17 // window's state type and bounds. 18 // window's state type and bounds.
18 enum WMEventType { 19 enum WMEventType {
19 // Following events are the request to become corresponding state. 20 // Following events are the request to become corresponding state.
20 // Note that this does not mean the window will be in corresponding 21 // Note that this does not mean the window will be in corresponding
21 // state and the request may not be fullfilled. 22 // state and the request may not be fullfilled.
22 23
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 gfx::Rect requested_bounds_; 115 gfx::Rect requested_bounds_;
115 116
116 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent); 117 DISALLOW_COPY_AND_ASSIGN(SetBoundsEvent);
117 }; 118 };
118 119
119 } // namespace wm 120 } // namespace wm
120 } // namespace ash 121 } // namespace ash
121 122
122 #endif // ASH_WM_WM_EVENT_H_ 123 #endif // ASH_WM_WM_EVENT_H_
123 124
OLDNEW
« ash/wm/window_state.h ('K') | « ash/wm/window_util_unittest.cc ('k') | ash/wm/wm_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698