Prevents double-clicks on a tab close button from aslo maximizing the browser
[chromium-blink-merge.git] / ash / wm / wm_event.cc
blob803a0a46a38a5fcade41099536d304bd5956e6c6
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
3 // found in the LICENSE file.
5 #include "ash/wm/wm_event.h"
7 namespace ash {
8 namespace wm {
10 WMEvent::WMEvent(WMEventType type)
11 : type_(type) {
14 WMEvent::~WMEvent() {
17 SetBoundsEvent::SetBoundsEvent(WMEventType type, const gfx::Rect& bounds)
18 : WMEvent(type),
19 requested_bounds_(bounds) {
22 SetBoundsEvent::~SetBoundsEvent() {
25 } // namespace wm
26 } // namespace ash