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; } |