OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/base/touch/touch_device.h" | 5 #include "ui/base/touch/touch_device.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 // Platforms supporting touch link in an alternate implementation of this | 9 // Platforms supporting touch link in an alternate implementation of this |
10 // method. | 10 // method. |
11 bool IsTouchDevicePresent() { | 11 bool IsTouchDevicePresent() { |
12 return false; | 12 return false; |
13 } | 13 } |
14 | 14 |
15 bool CanDetectMaxTouchPoints() { | |
16 return false; | |
17 } | |
18 | |
19 int MaxTouchPoints() { | |
20 return -1; | |
Rick Byers
2013/10/10 22:42:40
I think you can safely return 0 here (and true abo
| |
21 } | |
22 | |
15 } // namespace ui | 23 } // namespace ui |
OLD | NEW |