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

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

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 years, 6 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/ash/session_util.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> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 type of window that will be used to record 54 // 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. 55 // pointer metrics. See AppType in ash/shared/app_types.h for more details.
56 AURA_EXPORT extern const WindowProperty<int>* const kAppType; 56 AURA_EXPORT extern const WindowProperty<int>* const kAppType;
57 57
58 // A property key to store the avatar icon that will be displayed on the window
59 // frame to indicate the owner of the window when needed.
60 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAvatarIconKey;
61
58 // A property key to store if a window is a constrained window or not. 62 // A property key to store if a window is a constrained window or not.
59 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey; 63 AURA_EXPORT extern const WindowProperty<bool>* const kConstrainedWindowKey;
60 64
61 // A property key to store if a window was created by a user gesture. 65 // A property key to store if a window was created by a user gesture.
62 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture; 66 AURA_EXPORT extern const WindowProperty<bool>* const kCreatedByUserGesture;
63 67
64 // A property key to indicate that a window should show that it deserves 68 // A property key to indicate that a window should show that it deserves
65 // attention. 69 // attention.
66 AURA_EXPORT extern const WindowProperty<bool>* const kDrawAttentionKey; 70 AURA_EXPORT extern const WindowProperty<bool>* const kDrawAttentionKey;
67 71
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 143
140 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const 144 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const
141 kWindowTypeKey; 145 kWindowTypeKey;
142 146
143 // Alphabetical sort. 147 // Alphabetical sort.
144 148
145 } // namespace client 149 } // namespace client
146 } // namespace aura 150 } // namespace aura
147 151
148 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 152 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/session_util.cc ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698