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

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

Issue 2809073002: cros: allow aura window not considered activatable for pointer event (Closed)
Patch Set: const ui::Event* Created 3 years, 8 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 18 matching lines...) Expand all
29 TOP_LEVEL_IN_WM, 29 TOP_LEVEL_IN_WM,
30 }; 30 };
31 31
32 // Alphabetical sort. 32 // Alphabetical sort.
33 33
34 // A property key to store whether accessibility focus falls back to widget or 34 // A property key to store whether accessibility focus falls back to widget or
35 // not. 35 // not.
36 AURA_EXPORT extern const WindowProperty<bool>* const 36 AURA_EXPORT extern const WindowProperty<bool>* const
37 kAccessibilityFocusFallsbackToWidgetKey; 37 kAccessibilityFocusFallsbackToWidgetKey;
38 38
39 // A property key to store whether activation on pointer event is enabled or
40 // not. The default value is true, which means windows are activated when a
41 // pointer down event occurs on them.
42 AURA_EXPORT extern const WindowProperty<bool>* const kActivateOnPointerKey;
43
39 // A property key to store always-on-top flag. 44 // A property key to store always-on-top flag.
40 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey; 45 AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
41 46
42 // 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
43 // of value is an int. 48 // of value is an int.
44 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey; 49 AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
45 50
46 // 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.
47 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey; 52 AURA_EXPORT extern const WindowProperty<gfx::ImageSkia*>* const kAppIconKey;
48 53
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 138
134 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const 139 AURA_EXPORT extern const WindowProperty<ui::mojom::WindowType>* const
135 kWindowTypeKey; 140 kWindowTypeKey;
136 141
137 // Alphabetical sort. 142 // Alphabetical sort.
138 143
139 } // namespace client 144 } // namespace client
140 } // namespace aura 145 } // namespace aura
141 146
142 #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