OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_BASE_WIN_TOUCH_INPUT_H_ | 5 #ifndef UI_BASE_WIN_TOUCH_INPUT_H_ |
6 #define UI_BASE_WIN_TOUCH_INPUT_H_ | 6 #define UI_BASE_WIN_TOUCH_INPUT_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_base_export.h" |
11 | 11 |
12 namespace ui { | 12 namespace ui { |
13 | 13 |
14 // Wrapper for GetTouchInputInfo, which is not defined before Win7. For | 14 // Wrapper for GetTouchInputInfo, which is not defined before Win7. For |
15 // earlier OS's, this function returns FALSE. | 15 // earlier OS's, this function returns FALSE. |
16 UI_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, | 16 UI_BASE_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, |
17 UINT count, | 17 UINT count, |
18 PTOUCHINPUT pointer, | 18 PTOUCHINPUT pointer, |
19 int size); | 19 int size); |
20 | 20 |
21 } // namespace ui | 21 } // namespace ui |
22 | 22 |
23 #endif // UI_BASE_WIN_TOUCH_INPUT_H_ | 23 #endif // UI_BASE_WIN_TOUCH_INPUT_H_ |
OLD | NEW |