| 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 "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" |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 DomCode code, | 651 DomCode code, |
| 652 int flags, | 652 int flags, |
| 653 DomKey key, | 653 DomKey key, |
| 654 base::char16 character, | 654 base::char16 character, |
| 655 base::TimeDelta time_stamp); | 655 base::TimeDelta time_stamp); |
| 656 | 656 |
| 657 // Create a character event. | 657 // Create a character event. |
| 658 KeyEvent(base::char16 character, KeyboardCode key_code, int flags); | 658 KeyEvent(base::char16 character, KeyboardCode key_code, int flags); |
| 659 | 659 |
| 660 // Used for synthetic events with code of DOM KeyboardEvent (e.g. 'KeyA') | 660 // Used for synthetic events with code of DOM KeyboardEvent (e.g. 'KeyA') |
| 661 // See also: ui/events/keycodes/dom3/dom_values.txt | 661 // See also: ui/events/keycodes/dom/dom_values.txt |
| 662 KeyEvent(EventType type, | 662 KeyEvent(EventType type, |
| 663 KeyboardCode key_code, | 663 KeyboardCode key_code, |
| 664 DomCode code, | 664 DomCode code, |
| 665 int flags); | 665 int flags); |
| 666 | 666 |
| 667 KeyEvent(const KeyEvent& rhs); | 667 KeyEvent(const KeyEvent& rhs); |
| 668 | 668 |
| 669 KeyEvent& operator=(const KeyEvent& rhs); | 669 KeyEvent& operator=(const KeyEvent& rhs); |
| 670 | 670 |
| 671 ~KeyEvent() override; | 671 ~KeyEvent() override; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 | 879 |
| 880 const GestureEventDetails& details() const { return details_; } | 880 const GestureEventDetails& details() const { return details_; } |
| 881 | 881 |
| 882 private: | 882 private: |
| 883 GestureEventDetails details_; | 883 GestureEventDetails details_; |
| 884 }; | 884 }; |
| 885 | 885 |
| 886 } // namespace ui | 886 } // namespace ui |
| 887 | 887 |
| 888 #endif // UI_EVENTS_EVENT_H_ | 888 #endif // UI_EVENTS_EVENT_H_ |
| OLD | NEW |