Index: ui/base/win/touch_input.h |
diff --git a/ui/base/win/touch_input.h b/ui/base/win/touch_input.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cf2acb87fd4d2c2bb9796b05e2572e18111d2d22 |
--- /dev/null |
+++ b/ui/base/win/touch_input.h |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2013 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_WIN_TOUCH_INPUT_H_ |
+#define UI_BASE_WIN_TOUCH_INPUT_H_ |
+ |
+#include <windows.h> |
+ |
+#include "ui/base/ui_export.h" |
+ |
+namespace ui { |
+ |
+// Wrapper for GetTouchInputInfo, which is not defined before Win7. For |
+// earlier OS's, this function returns FALSE. |
+UI_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, |
+ UINT count, |
+ PTOUCHINPUT pointer, |
+ int size); |
+ |
+} // namespace ui |
+ |
+#endif // UI_BASE_WIN_TOUCH_INPUT_H_ |