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

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

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng review Created 4 years, 5 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.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 33b5df0e89dd0152b0f46cfba0eb594ae0df6aa9..b8d2e2d70f5ac25e1cae2f0d000bd2fd2352ac3e 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1557,6 +1557,11 @@ void Internals::setContinuousSpellCheckingEnabled(bool enabled)
contextDocument()->frame()->spellChecker().toggleContinuousSpellChecking();
}
+bool Internals::canHyphenate(const AtomicString& locale)
+{
+ return Hyphenation::get(locale);
+}
+
void Internals::setMockHyphenation(const AtomicString& locale)
{
Hyphenation::setForTesting(locale, adoptRef(new MockHyphenation));
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698