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

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

Issue 2480713003: Window prerequisites for ShelfWindowWatcher panel support. (Closed)
Patch Set: Support and test pre-widget exo ShellSurface::SetApplicationId. Created 4 years, 1 month 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 | « components/exo/shell_surface_unittest.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 <string>
9
8 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
9 #include "ui/aura/aura_export.h" 11 #include "ui/aura/aura_export.h"
10 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
11 #include "ui/base/ui_base_types.h" 13 #include "ui/base/ui_base_types.h"
12 14
13 namespace ui { 15 namespace ui {
14 class InputMethod; 16 class InputMethod;
15 } 17 }
16 18
17 namespace aura { 19 namespace aura {
18 namespace client { 20 namespace client {
19 21
20 // Alphabetical sort. 22 // Alphabetical sort.
21 23
22 // A property key to store always-on-top flag. 24 // A property key to store always-on-top flag.
23 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; 25 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
24 26
25 // A property key to store whether animations are disabled for the window. Type 27 // A property key to store whether animations are disabled for the window. Type
26 // of value is an int. 28 // of value is an int.
27 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; 29 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
28 30
31 // A property key to store the app icon, typically larger for shelf icons, etc.
32 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey;
33
34 // A property key to store the string id of the app associated with this window.
35 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey;
36
29 // A property key to store the type of window that will be used to record 37 // A property key to store the type of window that will be used to record
30 // pointer metrics. See AppType in ash/shared/app_types.h for more details. 38 // pointer metrics. See AppType in ash/shared/app_types.h for more details.
31 AURA_EXPORT extern const WindowProperty<int>* const kAppType; 39 AURA_EXPORT extern const WindowProperty<int>* const kAppType;
32 40
33 // A property key to store the can-maximize flag. 41 // A property key to store the can-maximize flag.
34 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey; 42 AURA_EXPORT extern const WindowProperty<bool>* const kCanMaximizeKey;
35 43
36 // A property key to store the can-minimize flag. 44 // A property key to store the can-minimize flag.
37 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey; 45 AURA_EXPORT extern const WindowProperty<bool>* const kCanMinimizeKey;
38 46
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 84
77 // The inset of the topmost view in the client view from the top of the 85 // The inset of the topmost view in the client view from the top of the
78 // non-client view. The topmost view depends on the window type. The topmost 86 // non-client view. The topmost view depends on the window type. The topmost
79 // view is the tab strip for tabbed browser windows, the toolbar for popups, 87 // view is the tab strip for tabbed browser windows, the toolbar for popups,
80 // the web contents for app windows and varies for fullscreen windows. 88 // the web contents for app windows and varies for fullscreen windows.
81 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset; 89 AURA_EXPORT extern const aura::WindowProperty<int>* const kTopViewInset;
82 90
83 // The color of the window header. 91 // The color of the window header.
84 AURA_EXPORT extern const aura::WindowProperty<SkColor>* const kTopViewColor; 92 AURA_EXPORT extern const aura::WindowProperty<SkColor>* const kTopViewColor;
85 93
86 // A property key to store window icon. 94 // A property key to store the window icon, typically 16x16 for title bars.
87 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey; 95 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kWindowIconKey;
88 96
89 // Alphabetical sort. 97 // Alphabetical sort.
90 98
91 } // namespace client 99 } // namespace client
92 } // namespace aura 100 } // namespace aura
93 101
94 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 102 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698