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

Side by Side Diff: third_party/WebKit/Source/core/events/InputEvent.h

Issue 2777863003: [InputEvent] Distinguish between soft line and hard line (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
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 23 matching lines...) Expand all
34 InsertHorizontalRule, 34 InsertHorizontalRule,
35 InsertFromPaste, 35 InsertFromPaste,
36 InsertFromDrop, 36 InsertFromDrop,
37 InsertFromYank, 37 InsertFromYank,
38 InsertTranspose, 38 InsertTranspose,
39 InsertReplacementText, 39 InsertReplacementText,
40 InsertCompositionText, 40 InsertCompositionText,
41 // Deletion. 41 // Deletion.
42 DeleteWordBackward, 42 DeleteWordBackward,
43 DeleteWordForward, 43 DeleteWordForward,
44 DeleteLineBackward, 44 DeleteSoftLineBackward,
45 DeleteLineForward, 45 DeleteSoftLineForward,
46 DeleteHardLineBackward,
47 DeleteHardLineForward,
46 DeleteContentBackward, 48 DeleteContentBackward,
47 DeleteContentForward, 49 DeleteContentForward,
48 DeleteByCut, 50 DeleteByCut,
49 DeleteByDrag, 51 DeleteByDrag,
50 // History. 52 // History.
51 HistoryUndo, 53 HistoryUndo,
52 HistoryRedo, 54 HistoryRedo,
53 // Formatting. 55 // Formatting.
54 FormatBold, 56 FormatBold,
55 FormatItalic, 57 FormatItalic,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 explicit InputEventDispatchMediator(InputEvent*); 132 explicit InputEventDispatchMediator(InputEvent*);
131 InputEvent& event() const; 133 InputEvent& event() const;
132 DispatchEventResult dispatchEvent(EventDispatcher&) const override; 134 DispatchEventResult dispatchEvent(EventDispatcher&) const override;
133 }; 135 };
134 136
135 DEFINE_EVENT_TYPE_CASTS(InputEvent); 137 DEFINE_EVENT_TYPE_CASTS(InputEvent);
136 138
137 } // namespace blink 139 } // namespace blink
138 140
139 #endif // InputEvent_h 141 #endif // InputEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698