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

Side by Side Diff: ui/base/win/touch_input.cc

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/win/touch_input.h ('k') | ui/base/window_open_disposition.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ui/base/win/touch_input.h" 5 #include "ui/base/win/touch_input.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 UI_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, 9 BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle,
10 UINT count, 10 UINT count,
11 PTOUCHINPUT pointer, 11 PTOUCHINPUT pointer,
12 int size) { 12 int size) {
13 typedef BOOL(WINAPI *GetTouchInputInfoPtr)(HTOUCHINPUT, UINT, 13 typedef BOOL(WINAPI *GetTouchInputInfoPtr)(HTOUCHINPUT, UINT,
14 PTOUCHINPUT, int); 14 PTOUCHINPUT, int);
15 static GetTouchInputInfoPtr get_touch_input_info_func = 15 static GetTouchInputInfoPtr get_touch_input_info_func =
16 reinterpret_cast<GetTouchInputInfoPtr>( 16 reinterpret_cast<GetTouchInputInfoPtr>(
17 GetProcAddress(GetModuleHandleA("user32.dll"), "GetTouchInputInfo")); 17 GetProcAddress(GetModuleHandleA("user32.dll"), "GetTouchInputInfo"));
18 if (get_touch_input_info_func) 18 if (get_touch_input_info_func)
19 return get_touch_input_info_func(handle, count, pointer, size); 19 return get_touch_input_info_func(handle, count, pointer, size);
20 return FALSE; 20 return FALSE;
21 } 21 }
22 22
23 } // namespace ui 23 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/win/touch_input.h ('k') | ui/base/window_open_disposition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698