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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index fa23c27ee79c996cc558bd21b7270c4dfc09b142..5cae897e056d65175ca4df990736e42354c33fcc 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -288,9 +288,11 @@ class Internals final : public GarbageCollectedFinalized<Internals>,
bool allowChildFrameContent,
ExceptionState&) const;
- bool hasSpellingMarker(Document*, int from, int length);
- bool hasGrammarMarker(Document*, int from, int length);
- void setSpellCheckingEnabled(bool);
+ void setSpellingMarker(Document*, ExceptionState&);
+ bool hasSpellingMarker(Document*, int from, int length, ExceptionState&);
+ bool hasGrammarMarker(Document*, int from, int length, ExceptionState&);
+ void setSpellCheckingEnabled(bool, ExceptionState&);
+ void replaceMisspelled(Document*, const String&, ExceptionState&);
bool canHyphenate(const AtomicString& locale);
void setMockHyphenation(const AtomicString& locale);

Powered by Google App Engine
This is Rietveld 408576698