| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 PointerProperties_h | 5 #ifndef PointerProperties_h |
| 6 #define PointerProperties_h | 6 #define PointerProperties_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 // Bit field values indicating available pointer types. | 10 // Bit field values indicating available pointer types. |
| 11 enum PointerType { | 11 enum PointerType { |
| 12 PointerTypeNone = 1 << 0, | 12 PointerTypeNone = 1 << 0, |
| 13 PointerTypeCoarse = 1 << 1, | 13 PointerTypeCoarse = 1 << 1, |
| 14 PointerTypeFine = 1 << 2 | 14 PointerTypeFine = 1 << 2 |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 // Bit field values indicating available hover types. | 17 // Bit field values indicating available hover types. |
| 18 enum HoverType { | 18 enum HoverType { HoverTypeNone = 1 << 0, HoverTypeHover = 1 << 1 }; |
| 19 HoverTypeNone = 1 << 0, | |
| 20 // Indicates that the primary pointing system can hover, but it requires | |
| 21 // a significant action on the user's part. e.g. hover on "long press". | |
| 22 HoverTypeOnDemand = 1 << 1, | |
| 23 HoverTypeHover = 1 << 2 | |
| 24 }; | |
| 25 } | 19 } |
| 26 | 20 |
| 27 #endif | 21 #endif |
| OLD | NEW |