| 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 SKY_ENGINE_CORE_CSS_POINTERPROPERTIES_H_ |
| 6 #define PointerProperties_h | 6 #define SKY_ENGINE_CORE_CSS_POINTERPROPERTIES_H_ |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 // The values of these enums must match their corresponding enums in | 10 // The values of these enums must match their corresponding enums in |
| 11 // WebSettings.h. | 11 // WebSettings.h. |
| 12 | 12 |
| 13 // Used as a bitfield so enums must be powers of 2. | 13 // Used as a bitfield so enums must be powers of 2. |
| 14 enum PointerType { | 14 enum PointerType { |
| 15 PointerTypeNone = 1, | 15 PointerTypeNone = 1, |
| 16 PointerTypeCoarse = 2, | 16 PointerTypeCoarse = 2, |
| 17 PointerTypeFine = 4 | 17 PointerTypeFine = 4 |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 // Used as a bitfield so enums must be powers of 2. | 20 // Used as a bitfield so enums must be powers of 2. |
| 21 enum HoverType { | 21 enum HoverType { |
| 22 HoverTypeNone = 1, | 22 HoverTypeNone = 1, |
| 23 // Indicates that the primary pointing system can hover, but it requires | 23 // Indicates that the primary pointing system can hover, but it requires |
| 24 // a significant action on the user’s part. e.g. hover on “long press”. | 24 // a significant action on the user’s part. e.g. hover on “long press”. |
| 25 HoverTypeOnDemand = 2, | 25 HoverTypeOnDemand = 2, |
| 26 HoverTypeHover = 4 | 26 HoverTypeHover = 4 |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } | 29 } |
| 30 | 30 |
| 31 #endif | 31 #endif // SKY_ENGINE_CORE_CSS_POINTERPROPERTIES_H_ |
| OLD | NEW |