Chromium Code Reviews| Index: ui/base/touch/touch_device_aurax11.cc |
| diff --git a/ui/base/touch/touch_device_aurax11.cc b/ui/base/touch/touch_device_aurax11.cc |
| index 52ecc75787e04ba02f3b3a9097deb4ec361cf395..0d3ff144db77910c8c71c6049458c3fadffdf6cc 100644 |
| --- a/ui/base/touch/touch_device_aurax11.cc |
| +++ b/ui/base/touch/touch_device_aurax11.cc |
| @@ -16,23 +16,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; |
|
sadrul
2014/12/07 17:46:18
Should this look at IsTouchDevicePresent() before
mustaq
2014/12/09 20:46:19
Done adding a check for the presence of a touch-de
|
| } |
| 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; |
|
sadrul
2014/12/07 17:46:18
Shouldn't all these look at IsTouchDevicePresent()
mustaq
2014/12/09 20:46:19
Done. See my comment above.
|
| } |
| } // namespace ui |