Index: Source/core/testing/InternalSettings.cpp |
diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp |
index 28e64a38a73a9f3310190c3d48dc1a24e82e03c4..2224b0ca966fbb4d3295d5b4ec3a1ff9b56cc1fb 100644 |
--- a/Source/core/testing/InternalSettings.cpp |
+++ b/Source/core/testing/InternalSettings.cpp |
@@ -485,4 +485,53 @@ void InternalSettings::setDnsPrefetchLogging(bool enabled, ExceptionState& excep |
settings()->setLogDnsPrefetchAndPreconnect(enabled); |
} |
+void InternalSettings::setTextTrackBackgroundColor(const String& color, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackBackgroundColor(color); |
+} |
+ |
+ |
+void InternalSettings::setTextTrackFontFamily(const String& fontFamily, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackFontFamily(fontFamily); |
+} |
+ |
+void InternalSettings::setTextTrackFontStyle(const String& fontStyle, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackFontStyle(fontStyle); |
+} |
+ |
+void InternalSettings::setTextTrackFontVariant(const String& fontVariant, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackFontVariant(fontVariant); |
+} |
+ |
+void InternalSettings::setTextTrackTextColor(const String& color, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackTextColor(color); |
+} |
+ |
+void InternalSettings::setTextTrackTextShadow(const String& shadow, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackTextShadow(shadow); |
+} |
+ |
+void InternalSettings::setTextTrackTextSize(const String& size, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackTextSize(size); |
+} |
+ |
+void InternalSettings::setTextTrackWindowColor(const String& color, ExceptionState& exceptionState) |
+{ |
+ InternalSettingsGuardForSettings(); |
+ settings()->setTextTrackWindowColor(color); |
+} |
+ |
} |