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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.h

Issue 2258663003: [InputEvent] Support |deleteByCut|&|insertFromPaste| with |dataTransfer| field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support cut/paste with |dataTransfer| field and correct event order Created 4 years, 4 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 5017b7df3b32793fe8e43f54733551d2a8cd2cb8..af0d93a0eed3e3008aee41e2db6140c54d8196b3 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -87,10 +87,10 @@ public:
bool canDelete() const;
bool canSmartCopyOrDelete() const;
- void cut();
+ void cut(EditorCommandSource);
void copy();
- void paste();
- void pasteAsPlainText();
+ void paste(EditorCommandSource);
+ void pasteAsPlainText(EditorCommandSource);
void performDelete();
static void countEvent(ExecutionContext*, const Event*);

Powered by Google App Engine
This is Rietveld 408576698