OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TOUCH_TOUCH_DEVICE_H_ | 5 #ifndef UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
6 #define UI_BASE_TOUCH_TOUCH_DEVICE_H_ | 6 #define UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/base/ui_base_export.h" | 9 #include "ui/base/ui_base_export.h" |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 HOVER_TYPE_ON_DEMAND = 1 << 1, | 58 HOVER_TYPE_ON_DEMAND = 1 << 1, |
59 HOVER_TYPE_HOVER = 1 << 2, | 59 HOVER_TYPE_HOVER = 1 << 2, |
60 HOVER_TYPE_LAST = HOVER_TYPE_HOVER | 60 HOVER_TYPE_LAST = HOVER_TYPE_HOVER |
61 }; | 61 }; |
62 | 62 |
63 UI_BASE_EXPORT int GetAvailablePointerTypes(); | 63 UI_BASE_EXPORT int GetAvailablePointerTypes(); |
64 UI_BASE_EXPORT PointerType GetPrimaryPointerType(); | 64 UI_BASE_EXPORT PointerType GetPrimaryPointerType(); |
65 UI_BASE_EXPORT int GetAvailableHoverTypes(); | 65 UI_BASE_EXPORT int GetAvailableHoverTypes(); |
66 UI_BASE_EXPORT HoverType GetPrimaryHoverType(); | 66 UI_BASE_EXPORT HoverType GetPrimaryHoverType(); |
67 | 67 |
68 #if defined(OS_ANDROID) | |
69 bool RegisterTouchDeviceAndroid(JNIEnv* env); | |
70 #endif | |
71 | |
72 } // namespace ui | 68 } // namespace ui |
73 | 69 |
74 #endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_ | 70 #endif // UI_BASE_TOUCH_TOUCH_DEVICE_H_ |
OLD | NEW |