OLD | NEW |
---|---|
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 107 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
108 kPreFullscreenShowStateKey; | 108 kPreFullscreenShowStateKey; |
109 | 109 |
110 // A property key to store the resize behavior, which is a bitmask of the | 110 // A property key to store the resize behavior, which is a bitmask of the |
111 // ui::mojom::kResizeBehavior values. | 111 // ui::mojom::kResizeBehavior values. |
112 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; | 112 AURA_EXPORT extern const WindowProperty<int32_t>* const kResizeBehaviorKey; |
113 | 113 |
114 // A property key to store the restore bounds for a window. | 114 // A property key to store the restore bounds for a window. |
115 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; | 115 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; |
116 | 116 |
117 // A property key to store whether the window should only consume stylus | |
118 // input events. | |
119 AURA_EXPORT extern const WindowProperty<bool>* const kStylusOnlyKey; | |
sky
2017/05/24 21:36:38
AFAICT this is only used in chrome. If so, can it
Vladislav Kaznacheev
2017/05/24 22:19:45
Done.
| |
120 | |
117 // A property key to store ui::WindowShowState for a window. | 121 // A property key to store ui::WindowShowState for a window. |
118 // See ui/base/ui_base_types.h for its definition. | 122 // See ui/base/ui_base_types.h for its definition. |
119 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const | 123 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const |
120 kShowStateKey; | 124 kShowStateKey; |
121 | 125 |
122 // A property key to store the title of the window; sometimes shown to users. | 126 // A property key to store the title of the window; sometimes shown to users. |
123 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; | 127 AURA_EXPORT extern const WindowProperty<base::string16*>* const kTitleKey; |
124 | 128 |
125 // The inset of the topmost view in the client view from the top of the | 129 // The inset of the topmost view in the client view from the top of the |
126 // non-client view. The topmost view depends on the window type. The topmost | 130 // non-client view. The topmost view depends on the window type. The topmost |
(...skipping 12 matching lines...) Expand all Loading... | |
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_ |
OLD | NEW |