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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.h

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: xiaocheng's review 3: Rebase and remove updateStyleAndLayoutIgnorePendingStylesheets() Created 4 years 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/clipboard/DataTransfer.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.h b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
index 658dffdfd98f69c9ec3170228bb65182de539134..62401098b0c57f64c335139a10a606a9a0371211 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -61,12 +61,14 @@ class CORE_EXPORT DataTransfer final
enum DataTransferType {
CopyAndPaste,
DragAndDrop,
- InsertReplacementText,
+ InputEvent,
};
static DataTransfer* create(DataTransferType,
DataTransferAccessPolicy,
DataObject*);
+ static DataTransfer* createForInputEvent(const String& plainText,
+ const String& htmlText);
~DataTransfer();
bool isForCopyAndPaste() const { return m_transferType == CopyAndPaste; }
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | third_party/WebKit/Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698