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

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

Issue 2457523003: Support 'insertReplacementText' for spellcheck (Closed)
Patch Set: yosin@ comment#57 #58 addressed Created 4 years, 1 month 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 09e282cdf6faf23ff052b7ecaf7c7c74415f9d1c..2c6d30582fb1cdcfcf08c8b728bd09adcccc7b24 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.h
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.h
@@ -56,10 +56,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,
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698