InternalSettings.idl [plain text]
enum ForcedAccessibilityValue { "system", "on", "off" };
[
NoInterfaceObject,
JSGenerateToJSObject,
ExportMacro=WEBCORE_TESTSUPPORT_EXPORT,
] interface InternalSettings : InternalSettingsGenerated {
[MayThrowException] void setTouchEventEmulationEnabled(boolean enabled);
[MayThrowException] void setStandardFontFamily(DOMString family, DOMString script);
[MayThrowException] void setSerifFontFamily(DOMString family, DOMString script);
[MayThrowException] void setSansSerifFontFamily(DOMString family, DOMString script);
[MayThrowException] void setFixedFontFamily(DOMString family, DOMString script);
[MayThrowException] void setCursiveFontFamily(DOMString family, DOMString script);
[MayThrowException] void setFantasyFontFamily(DOMString family, DOMString script);
[MayThrowException] void setPictographFontFamily(DOMString family, DOMString script);
[MayThrowException] void setFontFallbackPrefersPictographs(boolean preferPictographs);
[MayThrowException] void setWebFontsAlwaysFallBack(boolean enable);
[MayThrowException] void setTextAutosizingEnabled(boolean enabled);
[MayThrowException] void setTextAutosizingWindowSizeOverride(long width, long height);
[MayThrowException] void setCanStartMedia(boolean enabled);
[Conditional=VIDEO_TRACK, MayThrowException] void setShouldDisplayTrackKind(DOMString kind, boolean enabled);
[Conditional=VIDEO_TRACK, MayThrowException] boolean shouldDisplayTrackKind(DOMString trackKind);
[MayThrowException] void setDefaultVideoPosterURL(DOMString poster);
[MayThrowException] void setTimeWithoutMouseMovementBeforeHidingControls(unrestricted double time);
[MayThrowException] void setMediaTypeOverride(DOMString mediaTypeOverride);
void setAllowsAirPlayForMediaPlayback(boolean available);
[Conditional=MEDIA_STREAM, MayThrowException] void setMediaCaptureRequiresSecureConnection(boolean enable);
[MayThrowException] void setForcePendingWebGLPolicy(boolean forced);
[MayThrowException] void setQuickTimePluginReplacementEnabled(boolean enabled);
[MayThrowException] void setYouTubeFlashPluginReplacementEnabled(boolean enabled);
[MayThrowException] void setEditingBehavior(DOMString behavior);
[MayThrowException] void setShouldConvertPositionStyleOnCopy(boolean convertPosition);
void setLangAttributeAwareFormControlUIEnabled(boolean enabled);
[MayThrowException] void setPreferMIMETypeForImages(boolean preferMimeTypeForImage);
[MayThrowException] void setStorageBlockingPolicy(DOMString policy);
[MayThrowException] void setImagesEnabled(boolean enabled);
[MayThrowException] void setPDFImageCachingPolicy(DOMString policy);
[MayThrowException] void setUseLegacyBackgroundSizeShorthandBehavior(boolean enabled);
[MayThrowException] void setAutoscrollForDragAndDropEnabled(boolean enabled);
[MayThrowException] void setBackgroundShouldExtendBeyondPage(boolean hasExtendedBackground);
[MayThrowException] void setScrollingTreeIncludesFrames(boolean enabled);
[MayThrowException] void setMinimumTimerInterval(unrestricted double intervalInSeconds);
[MayThrowException] void setAllowsInlineMediaPlayback(boolean allows);
[MayThrowException] void setAllowsInlineMediaPlaybackAfterFullscreen(boolean allows);
[MayThrowException] void setInlineMediaPlaybackRequiresPlaysInlineAttribute(boolean requires);
void setIndexedDBWorkersEnabled(boolean requires);
[MayThrowException] DOMString userInterfaceDirectionPolicy();
[MayThrowException] void setUserInterfaceDirectionPolicy(DOMString policy);
[MayThrowException] DOMString systemLayoutDirection();
[MayThrowException] void setSystemLayoutDirection(DOMString direction);
[MayThrowException] boolean variationFontsEnabled();
[MayThrowException] void setVariationFontsEnabled(boolean enabled);
[MayThrowException] boolean deferredCSSParserEnabled();
[MayThrowException] void setDeferredCSSParserEnabled(boolean enabled);
attribute ForcedAccessibilityValue forcedColorsAreInvertedAccessibilityValue;
attribute ForcedAccessibilityValue forcedDisplayIsMonochromeAccessibilityValue;
attribute ForcedAccessibilityValue forcedPrefersReducedMotionAccessibilityValue;
void setInputEventsEnabled(boolean enabled);
};