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 #include "ash/common/wm/wm_event.h" | 5 #include "ash/wm/wm_event.h" |
6 | 6 |
7 namespace ash { | 7 namespace ash { |
8 namespace wm { | 8 namespace wm { |
9 | 9 |
10 WMEvent::WMEvent(WMEventType type) : type_(type) {} | 10 WMEvent::WMEvent(WMEventType type) : type_(type) {} |
11 | 11 |
12 WMEvent::~WMEvent() {} | 12 WMEvent::~WMEvent() {} |
13 | 13 |
14 SetBoundsEvent::SetBoundsEvent(WMEventType type, const gfx::Rect& bounds) | 14 SetBoundsEvent::SetBoundsEvent(WMEventType type, const gfx::Rect& bounds) |
15 : WMEvent(type), requested_bounds_(bounds) {} | 15 : WMEvent(type), requested_bounds_(bounds) {} |
16 | 16 |
17 SetBoundsEvent::~SetBoundsEvent() {} | 17 SetBoundsEvent::~SetBoundsEvent() {} |
18 | 18 |
19 } // namespace wm | 19 } // namespace wm |
20 } // namespace ash | 20 } // namespace ash |
OLD | NEW |