diff options
author | sblom@microsoft.com <sblom@microsoft.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 12:53:41 +0000 |
---|---|---|
committer | sblom@microsoft.com <sblom@microsoft.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-26 12:53:41 +0000 |
commit | 0426d4426428f7a0d141b74900fa6fea48f83bf5 (patch) | |
tree | b89660eb4025918471bce86f86ab8e3db2881ac4 /ui/base/touch/touch_device_aurax11.cc | |
parent | 40f84269ce9163b37845e65f9d8d765f97804a28 (diff) | |
download | chromium_src-0426d4426428f7a0d141b74900fa6fea48f83bf5.zip chromium_src-0426d4426428f7a0d141b74900fa6fea48f83bf5.tar.gz chromium_src-0426d4426428f7a0d141b74900fa6fea48f83bf5.tar.bz2 |
Chromium side of maxTouchPoints implementation.
Intent to implement-and-ship: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/maxTouchPoints/blink-dev/ayzxdztUlOQ/rd-z_Jo3ocIJ
navigator.maxTouchPoints is defined in the W3C Pointer Events
standard draft:
http://www.w3.org/TR/pointerevents/#widl-Navigator-maxTouchPoints
Depends on blink revision 160153:
https://src.chromium.org/viewvc/blink?view=revision&revision=160153
BUG=248918
Review URL: https://codereview.chromium.org/26764002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231203 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/touch/touch_device_aurax11.cc')
-rw-r--r-- | ui/base/touch/touch_device_aurax11.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/base/touch/touch_device_aurax11.cc b/ui/base/touch/touch_device_aurax11.cc index 04d435e..d3b6df4 100644 --- a/ui/base/touch/touch_device_aurax11.cc +++ b/ui/base/touch/touch_device_aurax11.cc @@ -11,4 +11,8 @@ bool IsTouchDevicePresent() { return ui::TouchFactory::GetInstance()->IsTouchDevicePresent(); } +int MaxTouchPoints() { + return kMaxTouchPointsUnknown; +} + } // namespace ui |