Index: ui/base/touch/touch_device_ozone.cc |
diff --git a/ui/base/touch/touch_device_ozone.cc b/ui/base/touch/touch_device_ozone.cc |
index bc81a754eb4b00adaf5d8f70cee2d635c473d23c..f2f31587e22bcb37a1b12dc3872fa9788baedb30 100644 |
--- a/ui/base/touch/touch_device_ozone.cc |
+++ b/ui/base/touch/touch_device_ozone.cc |
@@ -17,23 +17,23 @@ int MaxTouchPoints() { |
} |
int GetAvailablePointerTypes() { |
- // TODO(mustaq): Replace the stub below |
- return POINTER_TYPE_NONE; |
+ // Assume a touch-device with a keyboard |
+ return POINTER_TYPE_COARSE | POINTER_TYPE_NONE; |
} |
PointerType GetPrimaryPointerType() { |
- // TODO(mustaq): Replace the stub below |
- return POINTER_TYPE_NONE; |
+ // Assume a touch-device with a keyboard |
+ return POINTER_TYPE_COARSE; |
} |
int GetAvailableHoverTypes() { |
- // TODO(mustaq): Replace the stub below |
- return HOVER_TYPE_NONE; |
+ // Assume a touch-device with a keyboard |
+ return HOVER_TYPE_ON_DEMAND | HOVER_TYPE_NONE; |
} |
HoverType GetPrimaryHoverType() { |
- // TODO(mustaq): Replace the stub below |
- return HOVER_TYPE_NONE; |
+ // Assume a touch-device with a keyboard |
+ return HOVER_TYPE_ON_DEMAND; |
} |
} // namespace ui |