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

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

Issue 2738953003: [InputEvent] Support 'insertFromYank' for macOS (Closed)
Patch Set: yosin's review: Only implement yank Created 3 years, 9 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 16 matching lines...) Expand all
27 None, 27 None,
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 InsertFromYank,
37 InsertReplacementText, 38 InsertReplacementText,
38 InsertCompositionText, 39 InsertCompositionText,
39 // Deletion. 40 // Deletion.
40 DeleteWordBackward, 41 DeleteWordBackward,
41 DeleteWordForward, 42 DeleteWordForward,
42 DeleteLineBackward, 43 DeleteLineBackward,
43 DeleteLineForward, 44 DeleteLineForward,
44 DeleteContentBackward, 45 DeleteContentBackward,
45 DeleteContentForward, 46 DeleteContentForward,
46 DeleteByCut, 47 DeleteByCut,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 explicit InputEventDispatchMediator(InputEvent*); 129 explicit InputEventDispatchMediator(InputEvent*);
129 InputEvent& event() const; 130 InputEvent& event() const;
130 DispatchEventResult dispatchEvent(EventDispatcher&) const override; 131 DispatchEventResult dispatchEvent(EventDispatcher&) const override;
131 }; 132 };
132 133
133 DEFINE_EVENT_TYPE_CASTS(InputEvent); 134 DEFINE_EVENT_TYPE_CASTS(InputEvent);
134 135
135 } // namespace blink 136 } // namespace blink
136 137
137 #endif // InputEvent_h 138 #endif // InputEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698