Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: ui/base/win/touch_input.h

Issue 12566007: Wrap calls to GetTouchInputInfo (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correcting namespace references. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698