| 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_EVENTS_EVENT_CONSTANTS_H_ | 5 #ifndef UI_EVENTS_EVENT_CONSTANTS_H_ |
| 6 #define UI_EVENTS_EVENT_CONSTANTS_H_ | 6 #define UI_EVENTS_EVENT_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace ui { | 8 namespace ui { |
| 9 | 9 |
| 10 // Event types. (prefixed because of a conflict with windows headers) | 10 // Event types. (prefixed because of a conflict with windows headers) |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 enum EventDeviceId { | 164 enum EventDeviceId { |
| 165 ED_UNKNOWN_DEVICE = -1 | 165 ED_UNKNOWN_DEVICE = -1 |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 // Pointing device type. | 168 // Pointing device type. |
| 169 enum class EventPointerType : int { | 169 enum class EventPointerType : int { |
| 170 POINTER_TYPE_UNKNOWN = 0, | 170 POINTER_TYPE_UNKNOWN = 0, |
| 171 POINTER_TYPE_MOUSE, | 171 POINTER_TYPE_MOUSE, |
| 172 POINTER_TYPE_PEN, | 172 POINTER_TYPE_PEN, |
| 173 POINTER_TYPE_TOUCH, | 173 POINTER_TYPE_TOUCH, |
| 174 POINTER_TYPE_ANY, |
| 174 }; | 175 }; |
| 175 | 176 |
| 176 // Device type for gesture events. | 177 // Device type for gesture events. |
| 177 enum class GestureDeviceType : int { | 178 enum class GestureDeviceType : int { |
| 178 DEVICE_UNKNOWN = 0, | 179 DEVICE_UNKNOWN = 0, |
| 179 DEVICE_TOUCHPAD, | 180 DEVICE_TOUCHPAD, |
| 180 DEVICE_TOUCHSCREEN, | 181 DEVICE_TOUCHSCREEN, |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 } // namespace ui | 184 } // namespace ui |
| 184 | 185 |
| 185 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ | 186 #endif // UI_EVENTS_EVENT_CONSTANTS_H_ |
| OLD | NEW |