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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.h

Issue 2457523003: Support 'insertReplacementText' for spellcheck (Closed)
Patch Set: 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/editing/Editor.h
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h
index 27e6d9f4b37830f391b80e3ab4b76dc40297268e..dfae8fc342f3289d09b78fc70c8f8462d7c9004e 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -255,10 +255,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*,

Powered by Google App Engine
This is Rietveld 408576698