| Index: ui/base/touch/touch_device_win.cc
|
| diff --git a/ui/base/touch/touch_device_win.cc b/ui/base/touch/touch_device_win.cc
|
| deleted file mode 100644
|
| index 18f2f120d67ed226730aab723a84b96eaa123e4c..0000000000000000000000000000000000000000
|
| --- a/ui/base/touch/touch_device_win.cc
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "ui/base/touch/touch_device.h"
|
| -#include "base/win/windows_version.h"
|
| -#include <windows.h>
|
| -
|
| -namespace ui {
|
| -
|
| -bool IsTouchDevicePresent() {
|
| - int value = GetSystemMetrics(SM_DIGITIZER);
|
| - return (value & NID_READY) &&
|
| - ((value & NID_INTEGRATED_TOUCH) || (value & NID_EXTERNAL_TOUCH));
|
| -}
|
| -
|
| -int MaxTouchPoints() {
|
| - if (!IsTouchDevicePresent())
|
| - return 0;
|
| -
|
| - return GetSystemMetrics(SM_MAXIMUMTOUCHES);
|
| -}
|
| -
|
| -} // namespace ui
|
|
|