OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 InputEvent_h | 5 #ifndef InputEvent_h |
6 #define InputEvent_h | 6 #define InputEvent_h |
7 | 7 |
8 #include "core/clipboard/DataTransfer.h" | 8 #include "core/clipboard/DataTransfer.h" |
9 #include "core/dom/Range.h" | 9 #include "core/dom/Range.h" |
10 #include "core/dom/StaticRange.h" | 10 #include "core/dom/StaticRange.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 // Insertion. | 28 // Insertion. |
29 InsertText, | 29 InsertText, |
30 InsertLineBreak, | 30 InsertLineBreak, |
31 InsertParagraph, | 31 InsertParagraph, |
32 InsertOrderedList, | 32 InsertOrderedList, |
33 InsertUnorderedList, | 33 InsertUnorderedList, |
34 InsertHorizontalRule, | 34 InsertHorizontalRule, |
35 InsertFromPaste, | 35 InsertFromPaste, |
36 InsertFromDrop, | 36 InsertFromDrop, |
37 InsertReplacementText, | 37 InsertReplacementText, |
| 38 InsertCompositionText, |
38 // Deletion. | 39 // Deletion. |
39 DeleteComposedCharacterForward, | |
40 DeleteComposedCharacterBackward, | |
41 DeleteWordBackward, | 40 DeleteWordBackward, |
42 DeleteWordForward, | 41 DeleteWordForward, |
43 DeleteLineBackward, | 42 DeleteLineBackward, |
44 DeleteLineForward, | 43 DeleteLineForward, |
45 DeleteContentBackward, | 44 DeleteContentBackward, |
46 DeleteContentForward, | 45 DeleteContentForward, |
47 DeleteByCut, | 46 DeleteByCut, |
48 DeleteByDrag, | 47 DeleteByDrag, |
49 // History. | 48 // History. |
50 HistoryUndo, | 49 HistoryUndo, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 explicit InputEventDispatchMediator(InputEvent*); | 128 explicit InputEventDispatchMediator(InputEvent*); |
130 InputEvent& event() const; | 129 InputEvent& event() const; |
131 DispatchEventResult dispatchEvent(EventDispatcher&) const override; | 130 DispatchEventResult dispatchEvent(EventDispatcher&) const override; |
132 }; | 131 }; |
133 | 132 |
134 DEFINE_EVENT_TYPE_CASTS(InputEvent); | 133 DEFINE_EVENT_TYPE_CASTS(InputEvent); |
135 | 134 |
136 } // namespace blink | 135 } // namespace blink |
137 | 136 |
138 #endif // InputEvent_h | 137 #endif // InputEvent_h |
OLD | NEW |