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_EVENTS_EVENT_H_ | 5 #ifndef UI_EVENTS_EVENT_H_ |
6 #define UI_EVENTS_EVENT_H_ | 6 #define UI_EVENTS_EVENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/event_types.h" | 13 #include "base/event_types.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/strings/string16.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
18 #include "ui/events/event_constants.h" | 19 #include "ui/events/event_constants.h" |
19 #include "ui/events/gesture_event_details.h" | 20 #include "ui/events/gesture_event_details.h" |
20 #include "ui/events/gestures/gesture_types.h" | 21 #include "ui/events/gestures/gesture_types.h" |
21 #include "ui/events/keycodes/dom/dom_key.h" | 22 #include "ui/events/keycodes/dom/dom_key.h" |
22 #include "ui/events/keycodes/keyboard_codes.h" | 23 #include "ui/events/keycodes/keyboard_codes.h" |
23 #include "ui/events/latency_info.h" | 24 #include "ui/events/latency_info.h" |
24 #include "ui/gfx/geometry/point.h" | 25 #include "ui/gfx/geometry/point.h" |
25 #include "ui/gfx/geometry/point_conversions.h" | 26 #include "ui/gfx/geometry/point_conversions.h" |
26 | 27 |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 // dispatched. This field gets a non-zero value only for gestures that are | 1007 // dispatched. This field gets a non-zero value only for gestures that are |
1007 // released through TouchDispositionGestureFilter::SendGesture. The gesture | 1008 // released through TouchDispositionGestureFilter::SendGesture. The gesture |
1008 // events that aren't fired directly in response to processing a touch-event | 1009 // events that aren't fired directly in response to processing a touch-event |
1009 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. | 1010 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. |
1010 uint32_t unique_touch_event_id_; | 1011 uint32_t unique_touch_event_id_; |
1011 }; | 1012 }; |
1012 | 1013 |
1013 } // namespace ui | 1014 } // namespace ui |
1014 | 1015 |
1015 #endif // UI_EVENTS_EVENT_H_ | 1016 #endif // UI_EVENTS_EVENT_H_ |
OLD | NEW |