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 3 // found in the LICENSE file. 4 5 #ifndef PointerProperties_h 6 #define PointerProperties_h 7 8 namespace blink { 9 10 // The values of these enums must match their corresponding enums in 11 // WebSettings.h. 12 13 // Used as a bitfield so enums must be powers of 2. 14 enum PointerType { 15 PointerTypeNone = 1, 16 PointerTypeCoarse = 2, 17 PointerTypeFine = 4 18 }; 19 20 // Used as a bitfield so enums must be powers of 2. 21 enum HoverType { 22 HoverTypeNone = 1, 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”. 25 HoverTypeOnDemand = 2, 26 HoverTypeHover = 4 27 }; 28 29 } 30 31 #endif 32