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

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: yosin's review2, fix nits 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 bb4f288eeff57a27c655bfb2b74af8383b3bffbb..e7e27fa462af0f61251d6c35ca6b477720bba31f 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*);
« 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