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 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_
8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h"
21 // A property key to store always-on-top flag.
22 AURA_EXPORT
extern const WindowProperty
<bool>* const kAlwaysOnTopKey
;
24 // A property key to store whether animations are disabled for the window. Type
25 // of value is an int.
26 AURA_EXPORT
extern const WindowProperty
<bool>* const kAnimationsDisabledKey
;
28 // A property key to store the can-maximize flag.
29 AURA_EXPORT
extern const WindowProperty
<bool>* const kCanMaximizeKey
;
31 // A property key to store the can-resize flag.
32 AURA_EXPORT
extern const WindowProperty
<bool>* const kCanResizeKey
;
34 // A property key to store if a window is a constrained window or not.
35 AURA_EXPORT
extern const WindowProperty
<bool>* const kConstrainedWindowKey
;
37 // A property key to indicate that a window should show that it deserves
39 AURA_EXPORT
extern const aura::WindowProperty
<bool>* const kDrawAttentionKey
;
41 // A property key to store the host window of a window. This lets
42 // WebContentsViews find the windows that should constrain NPAPI plugins.
43 AURA_EXPORT
extern const WindowProperty
<Window
*>* const kHostWindowKey
;
45 // A property key to store the window modality.
46 AURA_EXPORT
extern const WindowProperty
<ui::ModalType
>* const kModalKey
;
48 // A property key to store the restore bounds for a window.
49 AURA_EXPORT
extern const WindowProperty
<gfx::Rect
*>* const kRestoreBoundsKey
;
51 // A property key to store ui::WindowShowState for restoring a window.
52 // Used in Ash to remember the show state before the window was minimized.
53 AURA_EXPORT
extern const WindowProperty
<ui::WindowShowState
>* const
56 // A property key to store an input method object that handles a key event.
57 AURA_EXPORT
extern const WindowProperty
<ui::InputMethod
*>* const
58 kRootWindowInputMethodKey
;
60 // A property key to store ui::WindowShowState for a window.
61 // See ui/base/ui_base_types.h for its definition.
62 AURA_EXPORT
extern const WindowProperty
<ui::WindowShowState
>* const
70 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_