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" | |
sadrul
2016/08/26 00:23:10
This doesn't seem necessary.
xlai (Olivia)
2016/08/26 14:59:58
It is necessary. base::char16 is used in various p
sadrul
2016/08/26 15:01:12
Oh ok. My bad.
| |
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 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1002 // dispatched. This field gets a non-zero value only for gestures that are | 1003 // dispatched. This field gets a non-zero value only for gestures that are |
1003 // released through TouchDispositionGestureFilter::SendGesture. The gesture | 1004 // released through TouchDispositionGestureFilter::SendGesture. The gesture |
1004 // events that aren't fired directly in response to processing a touch-event | 1005 // events that aren't fired directly in response to processing a touch-event |
1005 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. | 1006 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. |
1006 uint32_t unique_touch_event_id_; | 1007 uint32_t unique_touch_event_id_; |
1007 }; | 1008 }; |
1008 | 1009 |
1009 } // namespace ui | 1010 } // namespace ui |
1010 | 1011 |
1011 #endif // UI_EVENTS_EVENT_H_ | 1012 #endif // UI_EVENTS_EVENT_H_ |
OLD | NEW |