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

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

Issue 10826085: Fixing problems with constrained windows (i.e. print preview) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added property flag to distinguish constrained windows Created 8 years, 4 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 | « chrome/browser/ui/views/constrained_window_views.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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_ 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
11 11
12 namespace ui { 12 namespace ui {
13 class InputMethod; 13 class InputMethod;
14 } 14 }
15 15
16 namespace aura { 16 namespace aura {
17 namespace client { 17 namespace client {
18 18
19 // Alphabetical sort. 19 // Alphabetical sort.
20 20
21 // A property key to store always-on-top flag. 21 // A property key to store always-on-top flag.
22 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; 22 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
23 23
24 // A property key to store whether animations are disabled for the window. Type 24 // A property key to store whether animations are disabled for the window. Type
25 // of value is an int. 25 // of value is an int.
26 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; 26 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
27 27
28 // The window is a constrained window and lives therefore entirely within
29 // another aura window.
30 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
Ben Goodger (Google) 2012/08/01 15:40:09 i'd rather not have this property live in aura. in
Mr4D (OOO till 08-26) 2012/08/01 16:42:28 Done.
31
28 // A property key to indicate that a window should show that it deserves 32 // A property key to indicate that a window should show that it deserves
29 // attention. 33 // attention.
30 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; 34 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
31 35
32 // A property key to store the window modality. 36 // A property key to store the window modality.
33 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; 37 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;
34 38
35 // A property key to store the restore bounds for a window. 39 // A property key to store the restore bounds for a window.
36 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; 40 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey;
37 41
38 // A property key to store an input method object that handles a key event. 42 // A property key to store an input method object that handles a key event.
39 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const 43 AURA_EXPORT extern const WindowProperty<ui::InputMethod*>* const
40 kRootWindowInputMethodKey; 44 kRootWindowInputMethodKey;
41 45
42 // A property key to store ui::WindowShowState for a window. 46 // A property key to store ui::WindowShowState for a window.
43 // See ui/base/ui_base_types.h for its definition. 47 // See ui/base/ui_base_types.h for its definition.
44 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const 48 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
45 kShowStateKey; 49 kShowStateKey;
46 50
47 // Alphabetical sort. 51 // Alphabetical sort.
48 52
49 } // namespace client 53 } // namespace client
50 } // namespace aura 54 } // namespace aura
51 55
52 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 56 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698