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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index d12d61aac45390980eca55e4832cb7b37f1f4745..1f5aa80205c0ec8c49bb926da28a4976c1fe36a3 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -420,7 +420,10 @@ const String& nonBreakingSpaceString();
// Functions dispatch InputEvent
const StaticRangeVector* targetRangesForInputEvent(const Node&);
-DispatchEventResult dispatchBeforeInputInsertText(Node*, const String& data);
+DispatchEventResult dispatchBeforeInputInsertText(
+ Node*,
+ const String& data,
+ InputEvent::InputType = InputEvent::InputType::InsertText);
DispatchEventResult dispatchBeforeInputEditorCommand(Node*,
InputEvent::InputType,
const StaticRangeVector*);

Powered by Google App Engine
This is Rietveld 408576698