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

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

Issue 8894018: Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/client/activation_delegate.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 10
11 namespace aura { 11 namespace aura {
12 // Window property keys that are shared between aura_shell and chrome/views. 12
13 // Alphabetical sort.
14
15 // A property key to store the activation delegate for a window. The type of the
16 // value is |aura::ActivationDelegate*|.
17 AURA_EXPORT extern const char kActivationDelegateKey[];
13 18
14 // A property key to store always-on-top flag. The type of the value is boolean. 19 // A property key to store always-on-top flag. The type of the value is boolean.
15 AURA_EXPORT extern const char kAlwaysOnTopKey[]; 20 AURA_EXPORT extern const char kAlwaysOnTopKey[];
16 21
22 // A property key to store the drag and drop delegate for a window. The type of
23 // the value is |aura::WindowDragDropDelegate*|.
24 AURA_EXPORT extern const char kDragDropDelegateKey[];
25
26 // A property key to store the boolean property of window modality.
27 AURA_EXPORT extern const char kModalKey[];
28
17 // A property key to store the restore bounds for a window. The type 29 // A property key to store the restore bounds for a window. The type
18 // of the value is |gfx::Rect*|. 30 // of the value is |gfx::Rect*|.
19 AURA_EXPORT extern const char kRestoreBoundsKey[]; 31 AURA_EXPORT extern const char kRestoreBoundsKey[];
20 32
33 // A property key to store the drag and drop client for the root window. The
34 // type of the value is |aura::DragDropClient*|.
35 AURA_EXPORT extern const char kRootWindowDragDropClientKey[];
36
37 // A property key to store the tooltip client for the root window. The type of
38 // the value is |aura::TooltipClient*|.
39 AURA_EXPORT extern const char kRootWindowTooltipClientKey[];
40
41 // A property key to store what the client defines as the active window on the
42 // RootWindow. The type of the value is |aura::Window*|.
43 AURA_EXPORT extern const char kRootWindowActiveWindow[];
44
45 // A property key to store a client that handles window activation. The type of
46 // the value is |aura::ActivationClient*|.
47 AURA_EXPORT extern const char kRootWindowActivationClient[];
48
49 // A property key for a value from aura::ShadowType describing the drop shadow
50 // that should be displayed under the window. If unset, no shadow is displayed.
51 AURA_EXPORT extern const char kShadowTypeKey[];
52
21 // A property key to store ui::WindowShowState for a window. 53 // A property key to store ui::WindowShowState for a window.
22 // See ui/base/ui_base_types.h for its definition. 54 // See ui/base/ui_base_types.h for its definition.
23 AURA_EXPORT extern const char kShowStateKey[]; 55 AURA_EXPORT extern const char kShowStateKey[];
24 56
25 // A property key to store tooltip text for a window. The type of the value 57 // A property key to store tooltip text for a window. The type of the value
26 // is |string16*|. 58 // is |string16*|.
27 AURA_EXPORT extern const char kTooltipTextKey[]; 59 AURA_EXPORT extern const char kTooltipTextKey[];
28 60
29 // A property key to store the boolean property of window modality. 61 // Alphabetical sort.
30 AURA_EXPORT extern const char kModalKey[];
31 62
32 // A property key for a value from aura::ShadowType describing the drop shadow
33 // that should be displayed under the window. If unset, no shadow is displayed.
34 AURA_EXPORT extern const char kShadowTypeKey[];
35
36 // A property key to store the drag and drop client for the root window. The
37 // type of the value is |aura::DragDropClient*|.
38 AURA_EXPORT extern const char kRootWindowDragDropClientKey[];
39
40 // A property key to store the drag and drop delegate for a window. The type of
41 // the value is |aura::WindowDragDropDelegate*|.
42 AURA_EXPORT extern const char kDragDropDelegateKey[];
43
44 // A property key to store the tooltip client for the root window. The type of
45 // the value is |aura::TooltipClient*|.
46 AURA_EXPORT extern const char kRootWindowTooltipClientKey[];
47 } // namespace aura 63 } // namespace aura
48 64
49 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 65 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/aura/client/activation_delegate.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698