| 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 #include "ui/events/event.h" | 5 #include "ui/events/event.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 CASE_TYPE(ET_POINTER_DOWN); | 101 CASE_TYPE(ET_POINTER_DOWN); |
| 102 CASE_TYPE(ET_POINTER_MOVED); | 102 CASE_TYPE(ET_POINTER_MOVED); |
| 103 CASE_TYPE(ET_POINTER_UP); | 103 CASE_TYPE(ET_POINTER_UP); |
| 104 CASE_TYPE(ET_POINTER_CANCELLED); | 104 CASE_TYPE(ET_POINTER_CANCELLED); |
| 105 CASE_TYPE(ET_POINTER_ENTERED); | 105 CASE_TYPE(ET_POINTER_ENTERED); |
| 106 CASE_TYPE(ET_POINTER_EXITED); | 106 CASE_TYPE(ET_POINTER_EXITED); |
| 107 CASE_TYPE(ET_GESTURE_SCROLL_BEGIN); | 107 CASE_TYPE(ET_GESTURE_SCROLL_BEGIN); |
| 108 CASE_TYPE(ET_GESTURE_SCROLL_END); | 108 CASE_TYPE(ET_GESTURE_SCROLL_END); |
| 109 CASE_TYPE(ET_GESTURE_SCROLL_UPDATE); | 109 CASE_TYPE(ET_GESTURE_SCROLL_UPDATE); |
| 110 CASE_TYPE(ET_GESTURE_SHOW_PRESS); | 110 CASE_TYPE(ET_GESTURE_SHOW_PRESS); |
| 111 CASE_TYPE(ET_GESTURE_WIN8_EDGE_SWIPE); | |
| 112 CASE_TYPE(ET_GESTURE_TAP); | 111 CASE_TYPE(ET_GESTURE_TAP); |
| 113 CASE_TYPE(ET_GESTURE_TAP_DOWN); | 112 CASE_TYPE(ET_GESTURE_TAP_DOWN); |
| 114 CASE_TYPE(ET_GESTURE_TAP_CANCEL); | 113 CASE_TYPE(ET_GESTURE_TAP_CANCEL); |
| 115 CASE_TYPE(ET_GESTURE_BEGIN); | 114 CASE_TYPE(ET_GESTURE_BEGIN); |
| 116 CASE_TYPE(ET_GESTURE_END); | 115 CASE_TYPE(ET_GESTURE_END); |
| 117 CASE_TYPE(ET_GESTURE_TWO_FINGER_TAP); | 116 CASE_TYPE(ET_GESTURE_TWO_FINGER_TAP); |
| 118 CASE_TYPE(ET_GESTURE_PINCH_BEGIN); | 117 CASE_TYPE(ET_GESTURE_PINCH_BEGIN); |
| 119 CASE_TYPE(ET_GESTURE_PINCH_END); | 118 CASE_TYPE(ET_GESTURE_PINCH_END); |
| 120 CASE_TYPE(ET_GESTURE_PINCH_UPDATE); | 119 CASE_TYPE(ET_GESTURE_PINCH_UPDATE); |
| 121 CASE_TYPE(ET_GESTURE_LONG_PRESS); | 120 CASE_TYPE(ET_GESTURE_LONG_PRESS); |
| (...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 gfx::PointF(x, y), | 1284 gfx::PointF(x, y), |
| 1286 time_stamp, | 1285 time_stamp, |
| 1287 flags | EF_FROM_TOUCH), | 1286 flags | EF_FROM_TOUCH), |
| 1288 details_(details), | 1287 details_(details), |
| 1289 unique_touch_event_id_(unique_touch_event_id) {} | 1288 unique_touch_event_id_(unique_touch_event_id) {} |
| 1290 | 1289 |
| 1291 GestureEvent::~GestureEvent() { | 1290 GestureEvent::~GestureEvent() { |
| 1292 } | 1291 } |
| 1293 | 1292 |
| 1294 } // namespace ui | 1293 } // namespace ui |
| OLD | NEW |