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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.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/Editor.h
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index 7e39bb99a54ccbbbb6ea46f99d797d6d0840cfea..fd0fb01c3fa430bdb883e358ce350e1e238a7eb3 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -186,9 +186,11 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
bool executeCommand(const String& commandName, const String& value);
bool insertText(const String&, KeyboardEvent* triggeringEvent);
- bool insertTextWithoutSendingTextEvent(const String&,
- bool selectInsertedText,
- TextEvent* triggeringEvent);
+ bool insertTextWithoutSendingTextEvent(
+ const String&,
+ bool selectInsertedText,
+ TextEvent* triggeringEvent,
+ InputEvent::InputType = InputEvent::InputType::InsertText);
bool insertLineBreak();
bool insertParagraphSeparator();
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698