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 3 // found in the LICENSE file. 4 5 #include "ui/base/touch/touch_device.h" 6 #include "ui/events/x/touch_factory_x11.h" 7 8 namespace ui { 9 IsTouchDevicePresent()10bool IsTouchDevicePresent() { 11 return ui::TouchFactory::GetInstance()->IsTouchDevicePresent(); 12 } 13 MaxTouchPoints()14int MaxTouchPoints() { 15 return ui::TouchFactory::GetInstance()->GetMaxTouchPoints(); 16 } 17 18 } // namespace ui 19