Index: ui/base/touch/touch_device.cc |
diff --git a/ui/base/touch/touch_device.cc b/ui/base/touch/touch_device.cc |
index 7c8a62c76a5b106abe2ffd71b675e9be9d8a401d..f232563208f570900d1c4e620db24d9d6dc981f0 100644 |
--- a/ui/base/touch/touch_device.cc |
+++ b/ui/base/touch/touch_device.cc |
@@ -17,23 +17,23 @@ int MaxTouchPoints() { |
} |
int GetAvailablePointerTypes() { |
- // TODO(mustaq): Replace the stub below |
- return POINTER_TYPE_NONE; |
+ // Assume a non-touch-device with a keyboard and a mouse |
+ return POINTER_TYPE_FINE | POINTER_TYPE_NONE; |
} |
PointerType GetPrimaryPointerType() { |
- // TODO(mustaq): Replace the stub below |
- return POINTER_TYPE_NONE; |
+ // Assume a non-touch-device with a keyboard and a mouse |
+ return POINTER_TYPE_FINE; |
} |
int GetAvailableHoverTypes() { |
- // TODO(mustaq): Replace the stub below |
- return HOVER_TYPE_NONE; |
+ // Assume a non-touch-device with a keyboard and a mouse |
+ return HOVER_TYPE_HOVER | HOVER_TYPE_NONE; |
} |
HoverType GetPrimaryHoverType() { |
- // TODO(mustaq): Replace the stub below |
- return HOVER_TYPE_NONE; |
+ // Assume a non-touch-device with a keyboard and a mouse |
+ return HOVER_TYPE_HOVER; |
} |
} // namespace ui |