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

Unified Diff: Source/core/testing/InternalSettings.cpp

Issue 1118613002: Hook up Android closed captions 'enabled' setting to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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: Source/core/testing/InternalSettings.cpp
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
index f7c896f5e1026b44bad940b6900dc9be57aa5d38..36cb1acded5f239d43323df9ec4026124f76b512 100644
--- a/Source/core/testing/InternalSettings.cpp
+++ b/Source/core/testing/InternalSettings.cpp
@@ -342,6 +342,12 @@ void InternalSettings::setDefaultVideoPosterURL(const String& url, ExceptionStat
settings()->setDefaultVideoPosterURL(url);
}
+void InternalSettings::setTextTracksEnabled(bool enabled, ExceptionState& exceptionState)
+{
+ InternalSettingsGuardForSettings();
+ settings()->setTextTracksEnabled(enabled);
+}
+
DEFINE_TRACE(InternalSettings)
{
visitor->trace(m_page);

Powered by Google App Engine
This is Rietveld 408576698