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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.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/editing/Editor.h
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index ac286f1c8cf7fac1b688d1877d24d3e601533f69..41a5b49adfbada602f5f88053a4315443332699a 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -254,10 +254,12 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
void replaceSelectionWithFragment(DocumentFragment*,
bool selectReplacement,
bool smartReplace,
- bool matchStyle);
+ bool matchStyle,
+ InputEvent::InputType);
void replaceSelectionWithText(const String&,
bool selectReplacement,
- bool smartReplace);
+ bool smartReplace,
+ InputEvent::InputType);
// TODO(xiaochengh): Replace |bool| parameters by |enum|.
void replaceSelectionAfterDragging(DocumentFragment*,
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingUtilities.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698