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

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

Issue 2889523003: Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId (Closed)
Patch Set: Created 3 years, 7 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
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> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // A property key to store always-on-top flag. 44 // A property key to store always-on-top flag.
45 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; 45 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
46 46
47 // A property key to store whether animations are disabled for the window. Type 47 // A property key to store whether animations are disabled for the window. Type
48 // of value is an int. 48 // of value is an int.
49 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; 49 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
50 50
51 // A property key to store the app icon, typically larger for shelf icons, etc. 51 // A property key to store the app icon, typically larger for shelf icons, etc.
52 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; 52 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey;
53 53
54 // A property key to store the string id of the app associated with this window.
55 AURA_EXPORT extern const WindowProperty<std::string*>* const kAppIdKey;
56
54 // A property key to store the type of window that will be used to record 57 // A property key to store the type of window that will be used to record
55 // pointer metrics. See AppType in ash/shared/app_types.h for more details. 58 // pointer metrics. See AppType in ash/shared/app_types.h for more details.
56 AURA_EXPORT extern const WindowProperty<int>* const kAppType; 59 AURA_EXPORT extern const WindowProperty<int>* const kAppType;
57 60
58 // A property key to store if a window is a constrained window or not. 61 // A property key to store if a window is a constrained window or not.
59 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; 62 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
60 63
61 // A property key to store if a window was created by a user gesture. 64 // A property key to store if a window was created by a user gesture.
62 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; 65 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture;
63 66
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 138
136 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const 139 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const
137 kWindowTypeKey; 140 kWindowTypeKey;
138 141
139 // Alphabetical sort. 142 // Alphabetical sort.
140 143
141 } // namespace client 144 } // namespace client
142 } // namespace aura 145 } // namespace aura
143 146
144 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 147 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698