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

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

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: xiaocheng's review 2: Remove unrelated changes and added more checks 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/DataObject.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.h b/third_party/WebKit/Source/core/clipboard/DataObject.h
index 9cd3e3d3b7a36eb62c33448be6b67a3b4b51b951..b2d5b9cd8c018fa1c246f79d3cf828d42b64d8e3 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -56,6 +56,8 @@ class CORE_EXPORT DataObject : public GarbageCollectedFinalized<DataObject>,
public:
static DataObject* createFromPasteboard(PasteMode);
+ static DataObject* createFromPlainTextAndHTML(const String& plainText,
+ const String& htmlText);
static DataObject* createFromString(const String&);
static DataObject* create();
static DataObject* create(WebDragData);

Powered by Google App Engine
This is Rietveld 408576698