Chromium Code Reviews| Index: ui/base/touch/touch_device.h |
| diff --git a/ui/base/touch/touch_device.h b/ui/base/touch/touch_device.h |
| index e6c715616d3ffde5bc258eb1bd70e7dad8be15c9..0473b300e64a3bb44c1861302f062615bb697b2d 100644 |
| --- a/ui/base/touch/touch_device.h |
| +++ b/ui/base/touch/touch_device.h |
| @@ -5,6 +5,8 @@ |
| #ifndef UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
| #define UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
| +#include <tuple> |
| + |
| #include "build/build_config.h" |
| #include "ui/base/ui_base_export.h" |
| @@ -60,9 +62,12 @@ enum HoverType { |
| HOVER_TYPE_LAST = HOVER_TYPE_HOVER |
| }; |
| +UI_BASE_EXPORT std::pair<int, int> GetAvailablePointerAndHoverTypes(); |
| UI_BASE_EXPORT int GetAvailablePointerTypes(); |
| +UI_BASE_EXPORT PointerType GetPrimaryPointerType(int available_pointer_types); |
| UI_BASE_EXPORT PointerType GetPrimaryPointerType(); |
| UI_BASE_EXPORT int GetAvailableHoverTypes(); |
| +UI_BASE_EXPORT HoverType GetPrimaryHoverType(int avaliable_hover_types); |
| UI_BASE_EXPORT HoverType GetPrimaryHoverType(); |
|
sadrul
2016/09/01 23:22:35
Can you remove these old versions of the API?
Tobias Sargeant
2016/09/02 12:18:08
Done.
|
| } // namespace ui |