• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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()10 bool IsTouchDevicePresent() {
11   return ui::TouchFactory::GetInstance()->IsTouchDevicePresent();
12 }
13 
MaxTouchPoints()14 int MaxTouchPoints() {
15   return ui::TouchFactory::GetInstance()->GetMaxTouchPoints();
16 }
17 
18 }  // namespace ui
19