Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: ui/aura/client/aura_constants.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_
7
8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h"
11
12 namespace ui {
13 class InputMethod;
14 }
15
16 namespace aura {
17 namespace client {
18
19 // Alphabetical sort.
20
21 // A property key to store always-on-top flag.
22 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
23
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;
27
28 // A property key to store the can-maximize flag.
29 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey;
30
31 // A property key to store the can-minimize flag.
32 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey;
33
34 // A property key to store the can-resize flag.
35 AURA_EXPORT extern const WindowProperty<bool>* const kCanResizeKey;
36
37 // A property key to store if a window is a constrained window or not.
38 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
39
40 // A property key to indicate that a window should show that it deserves
41 // attention.
42 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
43
44 // A property key to store the host window of a window. This lets
45 // WebContentsViews find the windows that should constrain NPAPI plugins.
46 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey;
47
48 // A property key to store the window modality.
49 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;
50
51 // A property key to store the restore bounds for a window.
52 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey;
53
54 // A property key to store ui::WindowShowState for restoring a window.
55 // Used in Ash to remember the show state before the window was minimized.
56 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
57 kRestoreShowStateKey;
58
59 // A property key to store an input method object that handles a key event.
60 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const
61 kRootWindowInputMethodKey;
62
63 // A property key to store ui::WindowShowState for a window.
64 // See ui/base/ui_base_types.h for its definition.
65 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
66 kShowStateKey;
67
68 // Alphabetical sort.
69
70 } // namespace client
71 } // namespace aura
72
73 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698