| 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_EVENT_H_ | 5 #ifndef UI_BASE_EVENTS_EVENT_CONSTANTS_EVENT_H_ |
| 6 #define UI_BASE_EVENT_H_ | 6 #define UI_BASE_EVENTS_EVENT_CONSTANTS_EVENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/event_types.h" | 10 #include "base/event_types.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "ui/base/dragdrop/os_exchange_data.h" | 13 #include "ui/base/dragdrop/os_exchange_data.h" |
| 14 #include "ui/base/events.h" | 14 #include "ui/base/events/event_constants.h" |
| 15 #include "ui/base/gestures/gesture_types.h" | 15 #include "ui/base/gestures/gesture_types.h" |
| 16 #include "ui/base/keycodes/keyboard_codes.h" | 16 #include "ui/base/keycodes/keyboard_codes.h" |
| 17 #include "ui/base/ui_export.h" | 17 #include "ui/base/ui_export.h" |
| 18 #include "ui/gfx/point.h" | 18 #include "ui/gfx/point.h" |
| 19 | 19 |
| 20 namespace ui { | 20 namespace ui { |
| 21 class Transform; | 21 class Transform; |
| 22 | 22 |
| 23 class UI_EXPORT Event { | 23 class UI_EXPORT Event { |
| 24 public: | 24 public: |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 // touch_ids_bitfield_ is the set of touch_ids associate with this gesture. | 594 // touch_ids_bitfield_ is the set of touch_ids associate with this gesture. |
| 595 // This value is stored as a bitfield because the number of touch ids varies, | 595 // This value is stored as a bitfield because the number of touch ids varies, |
| 596 // but we currently don't need more than 32 touches at a time. | 596 // but we currently don't need more than 32 touches at a time. |
| 597 const unsigned int touch_ids_bitfield_; | 597 const unsigned int touch_ids_bitfield_; |
| 598 | 598 |
| 599 DISALLOW_COPY_AND_ASSIGN(GestureEvent); | 599 DISALLOW_COPY_AND_ASSIGN(GestureEvent); |
| 600 }; | 600 }; |
| 601 | 601 |
| 602 } // namespace ui | 602 } // namespace ui |
| 603 | 603 |
| 604 #endif // UI_BASE_EVENT_H_ | 604 #endif // UI_BASE_EVENTS_EVENT_CONSTANTS_EVENT_H_ |
| OLD | NEW |