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 kPointerTypeNone = 1 << 0, | 12 kPointerTypeNone = 1 << 0, |
13 kPointerTypeCoarse = 1 << 1, | 13 kPointerTypeCoarse = 1 << 1, |
14 kPointerTypeFine = 1 << 2 | 14 kPointerTypeFine = 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 { kHoverTypeNone = 1 << 0, kHoverTypeHover = 1 << 1 }; | 18 enum HoverType { kHoverTypeNone = 1 << 0, kHoverTypeHover = 1 << 1 }; |
19 } | 19 } // namespace blink |
20 | 20 |
21 #endif | 21 #endif |
OLD | NEW |