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

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

Issue 2457523003: Support 'insertReplacementText' for spellcheck (Closed)
Patch Set: fix for nit from Yosi_UTC9, Xiaocheng Created 4 years, 2 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/clipboard/DataTransfer.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.h b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
index aebebc806b36fce8b7aec2bc0d1c6bfb8179fdf9..9c6b410e8148880a15a28f657d8ba49cfe8ac0fb 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -57,10 +57,12 @@ class CORE_EXPORT DataTransfer final
DEFINE_WRAPPERTYPEINFO();
public:
- // Whether this transfer is serving a drag-drop or copy-paste request.
+ // Whether this transfer is serving a drag-drop, copy-paste, spellcheck,
+ // auto-correct or similar request.
enum DataTransferType {
CopyAndPaste,
DragAndDrop,
+ InsertReplacementText,
};
static DataTransfer* create(DataTransferType,

Powered by Google App Engine
This is Rietveld 408576698