Chromium Code Reviews| Index: ui/base/touch/touch_device.h |
| diff --git a/ui/base/touch/touch_device.h b/ui/base/touch/touch_device.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0e47584fc23918da9a6b97a7c58d1927da4fd238 |
| --- /dev/null |
| +++ b/ui/base/touch/touch_device.h |
| @@ -0,0 +1,19 @@ |
| +// 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. |
| + |
| +#ifndef UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
| +#define UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
| + |
| +#include "ui/base/ui_export.h" |
| + |
| +namespace ui { |
| +namespace base { |
| + |
| +// Returns true if a touch device is available. |
| +UI_EXPORT bool IsTouchDevicePresent(); |
|
sky
2012/08/23 22:54:34
This file should be named touch_device_win
girard
2012/08/24 14:30:12
Done. (Renamed both header and source files.)
|
| + |
| +} // namespace base |
| +} // namespace ui |
| + |
| +#endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_ |