Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: ui/events/event.h

Issue 1136503003: Consolidate ui/events/keycodes/dom[34]/ into .../dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/events/event.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/events/BUILD.gn ('k') | ui/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698