| Index: ui/base/touch/touch_device.h
|
| diff --git a/ui/base/touch/touch_device.h b/ui/base/touch/touch_device.h
|
| index fd75ebcc9c6714e66ae918ab7a276e299d6b9bb9..0045dbb3de1a16d7e78951331425bcf6b254bff7 100644
|
| --- a/ui/base/touch/touch_device.h
|
| +++ b/ui/base/touch/touch_device.h
|
| @@ -26,6 +26,29 @@ UI_BASE_EXPORT bool IsTouchDevicePresent();
|
| // http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints
|
| UI_BASE_EXPORT int MaxTouchPoints();
|
|
|
| +// Bit field values indicating what kind of pointer types are available. These
|
| +// enum must match content::PointerType enums.
|
| +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base
|
| +// GENERATED_JAVA_PREFIX_TO_STRIP: PointerType
|
| +enum PointerType {
|
| + PointerTypeNone = 1,
|
| + PointerTypeCoarse = 2,
|
| + PointerTypeFine = 4
|
| +};
|
| +
|
| +// Bit field values indicating what kind of pointer types are available. These
|
| +// enums must match content::HoverType enums.
|
| +enum HoverType {
|
| + HoverTypeNone = 1,
|
| + HoverTypeOnDemand = 2,
|
| + HoverTypeHover = 4
|
| +};
|
| +
|
| +UI_BASE_EXPORT int AvailablePointerTypes();
|
| +UI_BASE_EXPORT PointerType PrimaryPointerType();
|
| +UI_BASE_EXPORT int AvailableHoverTypes();
|
| +UI_BASE_EXPORT HoverType PrimaryHoverType();
|
| +
|
| #if defined(OS_ANDROID)
|
| bool RegisterTouchDeviceAndroid(JNIEnv* env);
|
| #endif
|
|
|