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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 2493873002: Introduce Internals#replaceMisspelled() and Internals#setMarker() (Closed)
Patch Set: for yosin's nit 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/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index 6098d04f2d37550f9b05fdd5a5cdf5b00963e0b9..468647b63caaf1b5aef6deedad5d1a0b7d662712 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -184,6 +184,7 @@ class Internals final : public GarbageCollectedFinalized<Internals>,
ClientRect* boundingBox(Element*);
+ void setMarker(Document*, const Range*, const String&, ExceptionState&);
unsigned markerCountForNode(Node*, const String&, ExceptionState&);
unsigned activeMarkerCountForNode(Node*);
Range* markerRangeForNode(Node*,
@@ -293,6 +294,7 @@ class Internals final : public GarbageCollectedFinalized<Internals>,
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