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