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

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

Issue 2896943002: Add "stylus-tools" Wayland protocol. (Closed)
Patch Set: Addressed comments 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 | « third_party/wayland-protocols/unstable/stylus-tools/stylus-tools-unstable-v1.xml ('k') | ui/aura/client/aura_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698