| 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 #include <string> | 11 #include <string> |
| 12 #include <unordered_map> | 12 #include <unordered_map> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/event_types.h" | 16 #include "base/event_types.h" |
| 17 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
| 21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 22 #include "ui/events/event_constants.h" | 22 #include "ui/events/event_constants.h" |
| 23 #include "ui/events/gesture_event_details.h" | 23 #include "ui/events/gesture_event_details.h" |
| 24 #include "ui/events/gestures/gesture_types.h" | 24 #include "ui/events/gestures/gesture_types.h" |
| 25 #include "ui/events/keycodes/dom/dom_key.h" | 25 #include "ui/events/keycodes/dom/dom_key.h" |
| 26 #include "ui/events/keycodes/keyboard_codes.h" | 26 #include "ui/events/keycodes/keyboard_codes.h" |
| 27 #include "ui/events/latency_info.h" | |
| 28 #include "ui/gfx/geometry/point.h" | 27 #include "ui/gfx/geometry/point.h" |
| 29 #include "ui/gfx/geometry/point_conversions.h" | 28 #include "ui/gfx/geometry/point_conversions.h" |
| 29 #include "ui/latency/latency_info.h" |
| 30 | 30 |
| 31 namespace gfx { | 31 namespace gfx { |
| 32 class Transform; | 32 class Transform; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace ui { | 35 namespace ui { |
| 36 class CancelModeEvent; | 36 class CancelModeEvent; |
| 37 class EventTarget; | 37 class EventTarget; |
| 38 class KeyEvent; | 38 class KeyEvent; |
| 39 class LocatedEvent; | 39 class LocatedEvent; |
| (...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 // dispatched. This field gets a non-zero value only for gestures that are | 1048 // dispatched. This field gets a non-zero value only for gestures that are |
| 1049 // released through TouchDispositionGestureFilter::SendGesture. The gesture | 1049 // released through TouchDispositionGestureFilter::SendGesture. The gesture |
| 1050 // events that aren't fired directly in response to processing a touch-event | 1050 // events that aren't fired directly in response to processing a touch-event |
| 1051 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. | 1051 // (e.g. timer fired ones), this id is zero. See crbug.com/618738. |
| 1052 uint32_t unique_touch_event_id_; | 1052 uint32_t unique_touch_event_id_; |
| 1053 }; | 1053 }; |
| 1054 | 1054 |
| 1055 } // namespace ui | 1055 } // namespace ui |
| 1056 | 1056 |
| 1057 #endif // UI_EVENTS_EVENT_H_ | 1057 #endif // UI_EVENTS_EVENT_H_ |
| OLD | NEW |