Prevents double-clicks on a tab close button from aslo maximizing the browser
[chromium-blink-merge.git] / ash / wm / window_properties.cc
blob1689c90846536a6b59e7e080c546637c83e1d370
1 // Copyright (c) 2012 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/window_properties.h"
7 #include "ash/wm/window_state.h"
8 #include "ui/aura/window_property.h"
10 DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WindowState*);
12 namespace ash {
14 DEFINE_WINDOW_PROPERTY_KEY(bool, kStayInSameRootWindowKey, false);
15 DEFINE_WINDOW_PROPERTY_KEY(bool, kUsesScreenCoordinatesKey, false);
16 DEFINE_OWNED_WINDOW_PROPERTY_KEY(wm::WindowState,
17 kWindowStateKey, NULL);
19 } // namespace ash