1a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// Copyright (c) 2013 The Chromium Authors. All rights reserved. 2a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)// found in the LICENSE file. 4a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) 5a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)#include "ui/base/touch/touch_device.h" 6a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) 7a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)namespace ui { 8a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) 9a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)bool IsTouchDevicePresent() { 10a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) // TODO(sadrul@chromium.org): Support evdev hotplugging. 11a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) return true; 12a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)} 13a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles) 141e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)int MaxTouchPoints() { 15f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) // Hard-code this to 11 until we have a real implementation. 16f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) return 11; 171e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)} 181e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 19a93a17c8d99d686bd4a1511e5504e5e6cc9fcadfTorne (Richard Coles)} // namespace ui 20