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 21 matching lines...) Expand all Loading... | |
32 kInsertOrderedList, | 32 kInsertOrderedList, |
33 kInsertUnorderedList, | 33 kInsertUnorderedList, |
34 kInsertHorizontalRule, | 34 kInsertHorizontalRule, |
35 kInsertFromPaste, | 35 kInsertFromPaste, |
36 kInsertFromDrop, | 36 kInsertFromDrop, |
37 kInsertFromYank, | 37 kInsertFromYank, |
38 kInsertTranspose, | 38 kInsertTranspose, |
39 kInsertReplacementText, | 39 kInsertReplacementText, |
40 kInsertCompositionText, | 40 kInsertCompositionText, |
41 // Deletion. | 41 // Deletion. |
42 kDeleteByComposition, | |
rlanday
2017/06/06 21:06:01
See the Input Events Level 2 working draft:
https:
| |
42 kDeleteWordBackward, | 43 kDeleteWordBackward, |
43 kDeleteWordForward, | 44 kDeleteWordForward, |
44 kDeleteSoftLineBackward, | 45 kDeleteSoftLineBackward, |
45 kDeleteSoftLineForward, | 46 kDeleteSoftLineForward, |
46 kDeleteHardLineBackward, | 47 kDeleteHardLineBackward, |
47 kDeleteHardLineForward, | 48 kDeleteHardLineForward, |
48 kDeleteContentBackward, | 49 kDeleteContentBackward, |
49 kDeleteContentForward, | 50 kDeleteContentForward, |
50 kDeleteByCut, | 51 kDeleteByCut, |
51 kDeleteByDrag, | 52 kDeleteByDrag, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 explicit InputEventDispatchMediator(InputEvent*); | 133 explicit InputEventDispatchMediator(InputEvent*); |
133 InputEvent& Event() const; | 134 InputEvent& Event() const; |
134 DispatchEventResult DispatchEvent(EventDispatcher&) const override; | 135 DispatchEventResult DispatchEvent(EventDispatcher&) const override; |
135 }; | 136 }; |
136 | 137 |
137 DEFINE_EVENT_TYPE_CASTS(InputEvent); | 138 DEFINE_EVENT_TYPE_CASTS(InputEvent); |
138 | 139 |
139 } // namespace blink | 140 } // namespace blink |
140 | 141 |
141 #endif // InputEvent_h | 142 #endif // InputEvent_h |
OLD | NEW |