1 | /* |
2 | * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. |
3 | * |
4 | * Copyright (C) 2017 Apple Inc. All rights reserved. |
5 | * |
6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions |
8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. |
14 | * |
15 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' |
16 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
17 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
18 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS |
19 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
20 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
21 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
22 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
23 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
25 | * THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ |
27 | |
28 | #pragma once |
29 | |
30 | #include "SettingsBase.h" |
31 | #include <wtf/RefCounted.h> |
32 | |
33 | namespace WebCore { |
34 | |
35 | class Page; |
36 | |
37 | class Settings : public SettingsBase, public RefCounted<Settings> { |
38 | WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; |
39 | public: |
40 | static Ref<Settings> create(Page*); |
41 | ~Settings(); |
42 | |
43 | bool CSSOMViewScrollingAPIEnabled() const { return m_CSSOMViewScrollingAPIEnabled; } |
44 | void setCSSOMViewScrollingAPIEnabled(bool CSSOMViewScrollingAPIEnabled) { m_CSSOMViewScrollingAPIEnabled = CSSOMViewScrollingAPIEnabled; } |
45 | bool DOMPasteAllowed() const { return m_DOMPasteAllowed; } |
46 | void setDOMPasteAllowed(bool DOMPasteAllowed) { m_DOMPasteAllowed = DOMPasteAllowed; } |
47 | bool HTTPSUpgradeEnabled() const { return m_HTTPSUpgradeEnabled; } |
48 | void setHTTPSUpgradeEnabled(bool HTTPSUpgradeEnabled) { m_HTTPSUpgradeEnabled = HTTPSUpgradeEnabled; } |
49 | bool accelerated2dCanvasEnabled() const { return m_accelerated2dCanvasEnabled; } |
50 | void setAccelerated2dCanvasEnabled(bool accelerated2dCanvasEnabled) { m_accelerated2dCanvasEnabled = accelerated2dCanvasEnabled; } |
51 | bool acceleratedCompositedAnimationsEnabled() const { return m_acceleratedCompositedAnimationsEnabled; } |
52 | WEBCORE_EXPORT void setAcceleratedCompositedAnimationsEnabled(bool); |
53 | bool acceleratedCompositingEnabled() const { return m_acceleratedCompositingEnabled; } |
54 | WEBCORE_EXPORT void setAcceleratedCompositingEnabled(bool); |
55 | bool acceleratedCompositingForFixedPositionEnabled() const { return m_acceleratedCompositingForFixedPositionEnabled; } |
56 | void setAcceleratedCompositingForFixedPositionEnabled(bool acceleratedCompositingForFixedPositionEnabled) { m_acceleratedCompositingForFixedPositionEnabled = acceleratedCompositingForFixedPositionEnabled; } |
57 | bool acceleratedDrawingEnabled() const { return m_acceleratedDrawingEnabled; } |
58 | void setAcceleratedDrawingEnabled(bool acceleratedDrawingEnabled) { m_acceleratedDrawingEnabled = acceleratedDrawingEnabled; } |
59 | bool acceleratedFiltersEnabled() const { return m_acceleratedFiltersEnabled; } |
60 | void setAcceleratedFiltersEnabled(bool acceleratedFiltersEnabled) { m_acceleratedFiltersEnabled = acceleratedFiltersEnabled; } |
61 | bool adClickAttributionEnabled() const { return m_adClickAttributionEnabled; } |
62 | void setAdClickAttributionEnabled(bool adClickAttributionEnabled) { m_adClickAttributionEnabled = adClickAttributionEnabled; } |
63 | bool aggressiveTileRetentionEnabled() const { return m_aggressiveTileRetentionEnabled; } |
64 | void setAggressiveTileRetentionEnabled(bool aggressiveTileRetentionEnabled) { m_aggressiveTileRetentionEnabled = aggressiveTileRetentionEnabled; } |
65 | bool allowContentSecurityPolicySourceStarToMatchAnyProtocol() const { return m_allowContentSecurityPolicySourceStarToMatchAnyProtocol; } |
66 | void setAllowContentSecurityPolicySourceStarToMatchAnyProtocol(bool allowContentSecurityPolicySourceStarToMatchAnyProtocol) { m_allowContentSecurityPolicySourceStarToMatchAnyProtocol = allowContentSecurityPolicySourceStarToMatchAnyProtocol; } |
67 | bool allowCrossOriginSubresourcesToAskForCredentials() const { return m_allowCrossOriginSubresourcesToAskForCredentials; } |
68 | void setAllowCrossOriginSubresourcesToAskForCredentials(bool allowCrossOriginSubresourcesToAskForCredentials) { m_allowCrossOriginSubresourcesToAskForCredentials = allowCrossOriginSubresourcesToAskForCredentials; } |
69 | bool allowDisplayOfInsecureContent() const { return m_allowDisplayOfInsecureContent; } |
70 | void setAllowDisplayOfInsecureContent(bool allowDisplayOfInsecureContent) { m_allowDisplayOfInsecureContent = allowDisplayOfInsecureContent; } |
71 | bool allowFileAccessFromFileURLs() const { return m_allowFileAccessFromFileURLs; } |
72 | void setAllowFileAccessFromFileURLs(bool allowFileAccessFromFileURLs) { m_allowFileAccessFromFileURLs = allowFileAccessFromFileURLs; } |
73 | bool allowMediaContentTypesRequiringHardwareSupportAsFallback() const { return m_allowMediaContentTypesRequiringHardwareSupportAsFallback; } |
74 | void setAllowMediaContentTypesRequiringHardwareSupportAsFallback(bool allowMediaContentTypesRequiringHardwareSupportAsFallback) { m_allowMediaContentTypesRequiringHardwareSupportAsFallback = allowMediaContentTypesRequiringHardwareSupportAsFallback; } |
75 | bool allowMultiElementImplicitSubmission() const { return m_allowMultiElementImplicitSubmission; } |
76 | void setAllowMultiElementImplicitSubmission(bool allowMultiElementImplicitSubmission) { m_allowMultiElementImplicitSubmission = allowMultiElementImplicitSubmission; } |
77 | bool allowRunningOfInsecureContent() const { return m_allowRunningOfInsecureContent; } |
78 | void setAllowRunningOfInsecureContent(bool allowRunningOfInsecureContent) { m_allowRunningOfInsecureContent = allowRunningOfInsecureContent; } |
79 | bool () const { return m_allowSettingAnyXHRHeaderFromFileURLs; } |
80 | void (bool ) { m_allowSettingAnyXHRHeaderFromFileURLs = allowSettingAnyXHRHeaderFromFileURLs; } |
81 | bool allowUniversalAccessFromFileURLs() const { return m_allowUniversalAccessFromFileURLs; } |
82 | void setAllowUniversalAccessFromFileURLs(bool allowUniversalAccessFromFileURLs) { m_allowUniversalAccessFromFileURLs = allowUniversalAccessFromFileURLs; } |
83 | bool allowsInlineMediaPlayback() const { return m_allowsInlineMediaPlayback; } |
84 | void setAllowsInlineMediaPlayback(bool allowsInlineMediaPlayback) { m_allowsInlineMediaPlayback = allowsInlineMediaPlayback; } |
85 | bool allowsInlineMediaPlaybackAfterFullscreen() const { return m_allowsInlineMediaPlaybackAfterFullscreen; } |
86 | void setAllowsInlineMediaPlaybackAfterFullscreen(bool allowsInlineMediaPlaybackAfterFullscreen) { m_allowsInlineMediaPlaybackAfterFullscreen = allowsInlineMediaPlaybackAfterFullscreen; } |
87 | bool allowsPictureInPictureMediaPlayback() const { return m_allowsPictureInPictureMediaPlayback; } |
88 | void setAllowsPictureInPictureMediaPlayback(bool allowsPictureInPictureMediaPlayback) { m_allowsPictureInPictureMediaPlayback = allowsPictureInPictureMediaPlayback; } |
89 | bool alwaysUseAcceleratedOverflowScroll() const { return m_alwaysUseAcceleratedOverflowScroll; } |
90 | void setAlwaysUseAcceleratedOverflowScroll(bool alwaysUseAcceleratedOverflowScroll) { m_alwaysUseAcceleratedOverflowScroll = alwaysUseAcceleratedOverflowScroll; } |
91 | bool animatedImageAsyncDecodingEnabled() const { return m_animatedImageAsyncDecodingEnabled; } |
92 | void setAnimatedImageAsyncDecodingEnabled(bool animatedImageAsyncDecodingEnabled) { m_animatedImageAsyncDecodingEnabled = animatedImageAsyncDecodingEnabled; } |
93 | bool () const { return m_appleMailPaginationQuirkEnabled; } |
94 | void (bool ) { m_appleMailPaginationQuirkEnabled = appleMailPaginationQuirkEnabled; } |
95 | bool asyncFrameScrollingEnabled() const { return m_asyncFrameScrollingEnabled; } |
96 | WEBCORE_EXPORT void setAsyncFrameScrollingEnabled(bool); |
97 | bool asyncOverflowScrollingEnabled() const { return m_asyncOverflowScrollingEnabled; } |
98 | WEBCORE_EXPORT void setAsyncOverflowScrollingEnabled(bool); |
99 | bool asynchronousSpellCheckingEnabled() const { return m_asynchronousSpellCheckingEnabled; } |
100 | void setAsynchronousSpellCheckingEnabled(bool asynchronousSpellCheckingEnabled) { m_asynchronousSpellCheckingEnabled = asynchronousSpellCheckingEnabled; } |
101 | bool audioPlaybackRequiresUserGesture() const { return m_audioPlaybackRequiresUserGesture; } |
102 | void setAudioPlaybackRequiresUserGesture(bool audioPlaybackRequiresUserGesture) { m_audioPlaybackRequiresUserGesture = audioPlaybackRequiresUserGesture; } |
103 | WEBCORE_EXPORT bool authorAndUserStylesEnabled() const; |
104 | WEBCORE_EXPORT void setAuthorAndUserStylesEnabled(bool); |
105 | bool autoscrollForDragAndDropEnabled() const { return m_autoscrollForDragAndDropEnabled; } |
106 | void setAutoscrollForDragAndDropEnabled(bool autoscrollForDragAndDropEnabled) { m_autoscrollForDragAndDropEnabled = autoscrollForDragAndDropEnabled; } |
107 | bool autostartOriginPlugInSnapshottingEnabled() const { return m_autostartOriginPlugInSnapshottingEnabled; } |
108 | void setAutostartOriginPlugInSnapshottingEnabled(bool autostartOriginPlugInSnapshottingEnabled) { m_autostartOriginPlugInSnapshottingEnabled = autostartOriginPlugInSnapshottingEnabled; } |
109 | double backForwardCacheExpirationInterval() const { return m_backForwardCacheExpirationInterval; } |
110 | void setBackForwardCacheExpirationInterval(double backForwardCacheExpirationInterval) { m_backForwardCacheExpirationInterval = backForwardCacheExpirationInterval; } |
111 | bool backgroundShouldExtendBeyondPage() const { return m_backgroundShouldExtendBeyondPage; } |
112 | WEBCORE_EXPORT void setBackgroundShouldExtendBeyondPage(bool); |
113 | bool backspaceKeyNavigationEnabled() const { return m_backspaceKeyNavigationEnabled; } |
114 | void setBackspaceKeyNavigationEnabled(bool backspaceKeyNavigationEnabled) { m_backspaceKeyNavigationEnabled = backspaceKeyNavigationEnabled; } |
115 | bool beaconAPIEnabled() const { return m_beaconAPIEnabled; } |
116 | void setBeaconAPIEnabled(bool beaconAPIEnabled) { m_beaconAPIEnabled = beaconAPIEnabled; } |
117 | bool blockingOfSmallPluginsEnabled() const { return m_blockingOfSmallPluginsEnabled; } |
118 | void setBlockingOfSmallPluginsEnabled(bool blockingOfSmallPluginsEnabled) { m_blockingOfSmallPluginsEnabled = blockingOfSmallPluginsEnabled; } |
119 | bool canvasUsesAcceleratedDrawing() const { return m_canvasUsesAcceleratedDrawing; } |
120 | void setCanvasUsesAcceleratedDrawing(bool canvasUsesAcceleratedDrawing) { m_canvasUsesAcceleratedDrawing = canvasUsesAcceleratedDrawing; } |
121 | bool caretBrowsingEnabled() const { return m_caretBrowsingEnabled; } |
122 | void setCaretBrowsingEnabled(bool caretBrowsingEnabled) { m_caretBrowsingEnabled = caretBrowsingEnabled; } |
123 | bool clientCoordinatesRelativeToLayoutViewport() const { return m_clientCoordinatesRelativeToLayoutViewport; } |
124 | WEBCORE_EXPORT void setClientCoordinatesRelativeToLayoutViewport(bool); |
125 | ClipboardAccessPolicy clipboardAccessPolicy() const { return m_clipboardAccessPolicy; } |
126 | void setClipboardAccessPolicy(ClipboardAccessPolicy clipboardAccessPolicy) { m_clipboardAccessPolicy = clipboardAccessPolicy; } |
127 | bool colorFilterEnabled() const { return m_colorFilterEnabled; } |
128 | WEBCORE_EXPORT void setColorFilterEnabled(bool); |
129 | bool constantPropertiesEnabled() const { return m_constantPropertiesEnabled; } |
130 | void setConstantPropertiesEnabled(bool constantPropertiesEnabled) { m_constantPropertiesEnabled = constantPropertiesEnabled; } |
131 | bool contentChangeObserverEnabled() const { return m_contentChangeObserverEnabled; } |
132 | void setContentChangeObserverEnabled(bool contentChangeObserverEnabled) { m_contentChangeObserverEnabled = contentChangeObserverEnabled; } |
133 | bool contentDispositionAttachmentSandboxEnabled() const { return m_contentDispositionAttachmentSandboxEnabled; } |
134 | void setContentDispositionAttachmentSandboxEnabled(bool contentDispositionAttachmentSandboxEnabled) { m_contentDispositionAttachmentSandboxEnabled = contentDispositionAttachmentSandboxEnabled; } |
135 | bool cookieEnabled() const { return m_cookieEnabled; } |
136 | void setCookieEnabled(bool cookieEnabled) { m_cookieEnabled = cookieEnabled; } |
137 | bool coreMathMLEnabled() const { return m_coreMathMLEnabled; } |
138 | WEBCORE_EXPORT void setCoreMathMLEnabled(bool); |
139 | bool crossOriginCheckInGetMatchedCSSRulesDisabled() const { return m_crossOriginCheckInGetMatchedCSSRulesDisabled; } |
140 | void setCrossOriginCheckInGetMatchedCSSRulesDisabled(bool crossOriginCheckInGetMatchedCSSRulesDisabled) { m_crossOriginCheckInGetMatchedCSSRulesDisabled = crossOriginCheckInGetMatchedCSSRulesDisabled; } |
141 | int defaultFixedFontSize() const { return m_defaultFixedFontSize; } |
142 | WEBCORE_EXPORT void setDefaultFixedFontSize(int); |
143 | int defaultFontSize() const { return m_defaultFontSize; } |
144 | WEBCORE_EXPORT void setDefaultFontSize(int); |
145 | const String& defaultTextEncodingName() const { return m_defaultTextEncodingName; } |
146 | void setDefaultTextEncodingName(const String& defaultTextEncodingName) { m_defaultTextEncodingName = defaultTextEncodingName; } |
147 | const String& defaultVideoPosterURL() const { return m_defaultVideoPosterURL; } |
148 | void setDefaultVideoPosterURL(const String& defaultVideoPosterURL) { m_defaultVideoPosterURL = defaultVideoPosterURL; } |
149 | bool deferredCSSParserEnabled() const { return m_deferredCSSParserEnabled; } |
150 | void setDeferredCSSParserEnabled(bool deferredCSSParserEnabled) { m_deferredCSSParserEnabled = deferredCSSParserEnabled; } |
151 | bool delegatesPageScaling() const { return m_delegatesPageScaling; } |
152 | void setDelegatesPageScaling(bool delegatesPageScaling) { m_delegatesPageScaling = delegatesPageScaling; } |
153 | bool () const { return m_developerExtrasEnabled; } |
154 | void (bool ) { m_developerExtrasEnabled = developerExtrasEnabled; } |
155 | int deviceHeight() const { return m_deviceHeight; } |
156 | void setDeviceHeight(int deviceHeight) { m_deviceHeight = deviceHeight; } |
157 | int deviceWidth() const { return m_deviceWidth; } |
158 | void setDeviceWidth(int deviceWidth) { m_deviceWidth = deviceWidth; } |
159 | bool diagnosticLoggingEnabled() const { return m_diagnosticLoggingEnabled; } |
160 | void setDiagnosticLoggingEnabled(bool diagnosticLoggingEnabled) { m_diagnosticLoggingEnabled = diagnosticLoggingEnabled; } |
161 | bool disableScreenSizeOverride() const { return m_disableScreenSizeOverride; } |
162 | void setDisableScreenSizeOverride(bool disableScreenSizeOverride) { m_disableScreenSizeOverride = disableScreenSizeOverride; } |
163 | bool displayListDrawingEnabled() const { return m_displayListDrawingEnabled; } |
164 | void setDisplayListDrawingEnabled(bool displayListDrawingEnabled) { m_displayListDrawingEnabled = displayListDrawingEnabled; } |
165 | bool dnsPrefetchingEnabled() const { return m_dnsPrefetchingEnabled; } |
166 | WEBCORE_EXPORT void setDNSPrefetchingEnabled(bool); |
167 | bool domPasteAccessRequestsEnabled() const { return m_domPasteAccessRequestsEnabled; } |
168 | void setDOMPasteAccessRequestsEnabled(bool domPasteAccessRequestsEnabled) { m_domPasteAccessRequestsEnabled = domPasteAccessRequestsEnabled; } |
169 | bool domTimersThrottlingEnabled() const { return m_domTimersThrottlingEnabled; } |
170 | void setDOMTimersThrottlingEnabled(bool domTimersThrottlingEnabled) { m_domTimersThrottlingEnabled = domTimersThrottlingEnabled; } |
171 | bool downloadableBinaryFontsEnabled() const { return m_downloadableBinaryFontsEnabled; } |
172 | void setDownloadableBinaryFontsEnabled(bool downloadableBinaryFontsEnabled) { m_downloadableBinaryFontsEnabled = downloadableBinaryFontsEnabled; } |
173 | bool editableImagesEnabled() const { return m_editableImagesEnabled; } |
174 | void setEditableImagesEnabled(bool editableImagesEnabled) { m_editableImagesEnabled = editableImagesEnabled; } |
175 | EditableLinkBehavior editableLinkBehavior() const { return m_editableLinkBehavior; } |
176 | void setEditableLinkBehavior(EditableLinkBehavior editableLinkBehavior) { m_editableLinkBehavior = editableLinkBehavior; } |
177 | EditingBehaviorType editingBehaviorType() const { return m_editingBehaviorType; } |
178 | void setEditingBehaviorType(EditingBehaviorType editingBehaviorType) { m_editingBehaviorType = editingBehaviorType; } |
179 | bool enableInheritURIQueryComponent() const { return m_enableInheritURIQueryComponent; } |
180 | void setEnableInheritURIQueryComponent(bool enableInheritURIQueryComponent) { m_enableInheritURIQueryComponent = enableInheritURIQueryComponent; } |
181 | bool enforceCSSMIMETypeInNoQuirksMode() const { return m_enforceCSSMIMETypeInNoQuirksMode; } |
182 | void setEnforceCSSMIMETypeInNoQuirksMode(bool enforceCSSMIMETypeInNoQuirksMode) { m_enforceCSSMIMETypeInNoQuirksMode = enforceCSSMIMETypeInNoQuirksMode; } |
183 | bool experimentalNotificationsEnabled() const { return m_experimentalNotificationsEnabled; } |
184 | void setExperimentalNotificationsEnabled(bool experimentalNotificationsEnabled) { m_experimentalNotificationsEnabled = experimentalNotificationsEnabled; } |
185 | bool fixedBackgroundsPaintRelativeToDocument() const { return m_fixedBackgroundsPaintRelativeToDocument; } |
186 | void setFixedBackgroundsPaintRelativeToDocument(bool fixedBackgroundsPaintRelativeToDocument) { m_fixedBackgroundsPaintRelativeToDocument = fixedBackgroundsPaintRelativeToDocument; } |
187 | bool fixedElementsLayoutRelativeToFrame() const { return m_fixedElementsLayoutRelativeToFrame; } |
188 | void setFixedElementsLayoutRelativeToFrame(bool fixedElementsLayoutRelativeToFrame) { m_fixedElementsLayoutRelativeToFrame = fixedElementsLayoutRelativeToFrame; } |
189 | bool fontFallbackPrefersPictographs() const { return m_fontFallbackPrefersPictographs; } |
190 | WEBCORE_EXPORT void setFontFallbackPrefersPictographs(bool); |
191 | FontLoadTimingOverride fontLoadTimingOverride() const { return m_fontLoadTimingOverride; } |
192 | void setFontLoadTimingOverride(FontLoadTimingOverride fontLoadTimingOverride) { m_fontLoadTimingOverride = fontLoadTimingOverride; } |
193 | FontRenderingMode fontRenderingMode() const { return m_fontRenderingMode; } |
194 | void setFontRenderingMode(FontRenderingMode fontRenderingMode) { m_fontRenderingMode = fontRenderingMode; } |
195 | bool forceCompositingMode() const { return m_forceCompositingMode; } |
196 | void setForceCompositingMode(bool forceCompositingMode) { m_forceCompositingMode = forceCompositingMode; } |
197 | bool forceFTPDirectoryListings() const { return m_forceFTPDirectoryListings; } |
198 | void setForceFTPDirectoryListings(bool forceFTPDirectoryListings) { m_forceFTPDirectoryListings = forceFTPDirectoryListings; } |
199 | bool isForcePendingWebGLPolicy() const { return m_forcePendingWebGLPolicy; } |
200 | void setForcePendingWebGLPolicy(bool forcePendingWebGLPolicy) { m_forcePendingWebGLPolicy = forcePendingWebGLPolicy; } |
201 | bool forceSoftwareWebGLRendering() const { return m_forceSoftwareWebGLRendering; } |
202 | void setForceSoftwareWebGLRendering(bool forceSoftwareWebGLRendering) { m_forceSoftwareWebGLRendering = forceSoftwareWebGLRendering; } |
203 | bool forceUpdateScrollbarsOnMainThreadForPerformanceTesting() const { return m_forceUpdateScrollbarsOnMainThreadForPerformanceTesting; } |
204 | void setForceUpdateScrollbarsOnMainThreadForPerformanceTesting(bool forceUpdateScrollbarsOnMainThreadForPerformanceTesting) { m_forceUpdateScrollbarsOnMainThreadForPerformanceTesting = forceUpdateScrollbarsOnMainThreadForPerformanceTesting; } |
205 | bool forceWebGLUsesLowPower() const { return m_forceWebGLUsesLowPower; } |
206 | void setForceWebGLUsesLowPower(bool forceWebGLUsesLowPower) { m_forceWebGLUsesLowPower = forceWebGLUsesLowPower; } |
207 | ForcedAccessibilityValue forcedColorsAreInvertedAccessibilityValue() const { return m_forcedColorsAreInvertedAccessibilityValue; } |
208 | void setForcedColorsAreInvertedAccessibilityValue(ForcedAccessibilityValue forcedColorsAreInvertedAccessibilityValue) { m_forcedColorsAreInvertedAccessibilityValue = forcedColorsAreInvertedAccessibilityValue; } |
209 | ForcedAccessibilityValue forcedDisplayIsMonochromeAccessibilityValue() const { return m_forcedDisplayIsMonochromeAccessibilityValue; } |
210 | void setForcedDisplayIsMonochromeAccessibilityValue(ForcedAccessibilityValue forcedDisplayIsMonochromeAccessibilityValue) { m_forcedDisplayIsMonochromeAccessibilityValue = forcedDisplayIsMonochromeAccessibilityValue; } |
211 | ForcedAccessibilityValue forcedPrefersReducedMotionAccessibilityValue() const { return m_forcedPrefersReducedMotionAccessibilityValue; } |
212 | void setForcedPrefersReducedMotionAccessibilityValue(ForcedAccessibilityValue forcedPrefersReducedMotionAccessibilityValue) { m_forcedPrefersReducedMotionAccessibilityValue = forcedPrefersReducedMotionAccessibilityValue; } |
213 | FrameFlattening frameFlattening() const { return m_frameFlattening; } |
214 | WEBCORE_EXPORT void setFrameFlattening(FrameFlattening); |
215 | const String& ftpDirectoryTemplatePath() const { return m_ftpDirectoryTemplatePath; } |
216 | void setFTPDirectoryTemplatePath(const String& ftpDirectoryTemplatePath) { m_ftpDirectoryTemplatePath = ftpDirectoryTemplatePath; } |
217 | bool geolocationFloorLevelEnabled() const { return m_geolocationFloorLevelEnabled; } |
218 | void setGeolocationFloorLevelEnabled(bool geolocationFloorLevelEnabled) { m_geolocationFloorLevelEnabled = geolocationFloorLevelEnabled; } |
219 | bool hiddenPageCSSAnimationSuspensionEnabled() const { return m_hiddenPageCSSAnimationSuspensionEnabled; } |
220 | WEBCORE_EXPORT void setHiddenPageCSSAnimationSuspensionEnabled(bool); |
221 | bool hiddenPageDOMTimerThrottlingAutoIncreases() const { return m_hiddenPageDOMTimerThrottlingAutoIncreases; } |
222 | WEBCORE_EXPORT void setHiddenPageDOMTimerThrottlingAutoIncreases(bool); |
223 | bool hiddenPageDOMTimerThrottlingEnabled() const { return m_hiddenPageDOMTimerThrottlingEnabled; } |
224 | WEBCORE_EXPORT void setHiddenPageDOMTimerThrottlingEnabled(bool); |
225 | bool httpEquivEnabled() const { return m_httpEquivEnabled; } |
226 | void setHttpEquivEnabled(bool httpEquivEnabled) { m_httpEquivEnabled = httpEquivEnabled; } |
227 | bool hyperlinkAuditingEnabled() const { return m_hyperlinkAuditingEnabled; } |
228 | void setHyperlinkAuditingEnabled(bool hyperlinkAuditingEnabled) { m_hyperlinkAuditingEnabled = hyperlinkAuditingEnabled; } |
229 | WEBCORE_EXPORT bool iceCandidateFilteringEnabled() const; |
230 | WEBCORE_EXPORT void setICECandidateFilteringEnabled(bool); |
231 | bool imageSubsamplingEnabled() const { return m_imageSubsamplingEnabled; } |
232 | void setImageSubsamplingEnabled(bool imageSubsamplingEnabled) { m_imageSubsamplingEnabled = imageSubsamplingEnabled; } |
233 | WEBCORE_EXPORT bool areImagesEnabled() const; |
234 | WEBCORE_EXPORT void setImagesEnabled(bool); |
235 | bool incompleteImageBorderEnabled() const { return m_incompleteImageBorderEnabled; } |
236 | void setIncompleteImageBorderEnabled(bool incompleteImageBorderEnabled) { m_incompleteImageBorderEnabled = incompleteImageBorderEnabled; } |
237 | double incrementalRenderingSuppressionTimeoutInSeconds() const { return m_incrementalRenderingSuppressionTimeoutInSeconds; } |
238 | void setIncrementalRenderingSuppressionTimeoutInSeconds(double incrementalRenderingSuppressionTimeoutInSeconds) { m_incrementalRenderingSuppressionTimeoutInSeconds = incrementalRenderingSuppressionTimeoutInSeconds; } |
239 | bool inlineMediaPlaybackRequiresPlaysInlineAttribute() const { return m_inlineMediaPlaybackRequiresPlaysInlineAttribute; } |
240 | void setInlineMediaPlaybackRequiresPlaysInlineAttribute(bool inlineMediaPlaybackRequiresPlaysInlineAttribute) { m_inlineMediaPlaybackRequiresPlaysInlineAttribute = inlineMediaPlaybackRequiresPlaysInlineAttribute; } |
241 | bool inputEventsEnabled() const { return m_inputEventsEnabled; } |
242 | void setInputEventsEnabled(bool inputEventsEnabled) { m_inputEventsEnabled = inputEventsEnabled; } |
243 | bool interactiveFormValidationEnabled() const { return m_interactiveFormValidationEnabled; } |
244 | void setInteractiveFormValidationEnabled(bool interactiveFormValidationEnabled) { m_interactiveFormValidationEnabled = interactiveFormValidationEnabled; } |
245 | bool invisibleAutoplayNotPermitted() const { return m_invisibleAutoplayNotPermitted; } |
246 | void setInvisibleAutoplayNotPermitted(bool invisibleAutoplayNotPermitted) { m_invisibleAutoplayNotPermitted = invisibleAutoplayNotPermitted; } |
247 | bool isJavaEnabled() const { return m_javaEnabled; } |
248 | void setJavaEnabled(bool javaEnabled) { m_javaEnabled = javaEnabled; } |
249 | bool isJavaEnabledForLocalFiles() const { return m_javaEnabledForLocalFiles; } |
250 | void setJavaEnabledForLocalFiles(bool javaEnabledForLocalFiles) { m_javaEnabledForLocalFiles = javaEnabledForLocalFiles; } |
251 | bool javaScriptCanAccessClipboard() const { return m_javaScriptCanAccessClipboard; } |
252 | void setJavaScriptCanAccessClipboard(bool javaScriptCanAccessClipboard) { m_javaScriptCanAccessClipboard = javaScriptCanAccessClipboard; } |
253 | bool javaScriptCanOpenWindowsAutomatically() const { return m_javaScriptCanOpenWindowsAutomatically; } |
254 | void setJavaScriptCanOpenWindowsAutomatically(bool javaScriptCanOpenWindowsAutomatically) { m_javaScriptCanOpenWindowsAutomatically = javaScriptCanOpenWindowsAutomatically; } |
255 | JSC::RuntimeFlags javaScriptRuntimeFlags() const { return m_javaScriptRuntimeFlags; } |
256 | void setJavaScriptRuntimeFlags(JSC::RuntimeFlags javaScriptRuntimeFlags) { m_javaScriptRuntimeFlags = javaScriptRuntimeFlags; } |
257 | bool langAttributeAwareFormControlUIEnabled() const { return m_langAttributeAwareFormControlUIEnabled; } |
258 | void setLangAttributeAwareFormControlUIEnabled(bool langAttributeAwareFormControlUIEnabled) { m_langAttributeAwareFormControlUIEnabled = langAttributeAwareFormControlUIEnabled; } |
259 | bool largeImageAsyncDecodingEnabled() const { return m_largeImageAsyncDecodingEnabled; } |
260 | void setLargeImageAsyncDecodingEnabled(bool largeImageAsyncDecodingEnabled) { m_largeImageAsyncDecodingEnabled = largeImageAsyncDecodingEnabled; } |
261 | int layoutFallbackWidth() const { return m_layoutFallbackWidth; } |
262 | void setLayoutFallbackWidth(int layoutFallbackWidth) { m_layoutFallbackWidth = layoutFallbackWidth; } |
263 | double layoutViewportHeightExpansionFactor() const { return m_layoutViewportHeightExpansionFactor; } |
264 | WEBCORE_EXPORT void setLayoutViewportHeightExpansionFactor(double); |
265 | bool linkPreconnectEnabled() const { return m_linkPreconnectEnabled; } |
266 | void setLinkPreconnectEnabled(bool linkPreconnectEnabled) { m_linkPreconnectEnabled = linkPreconnectEnabled; } |
267 | bool loadDeferringEnabled() const { return m_loadDeferringEnabled; } |
268 | void setLoadDeferringEnabled(bool loadDeferringEnabled) { m_loadDeferringEnabled = loadDeferringEnabled; } |
269 | bool loadsImagesAutomatically() const { return m_loadsImagesAutomatically; } |
270 | WEBCORE_EXPORT void setLoadsImagesAutomatically(bool); |
271 | bool loadsSiteIconsIgnoringImageLoadingSetting() const { return m_loadsSiteIconsIgnoringImageLoadingSetting; } |
272 | void setLoadsSiteIconsIgnoringImageLoadingSetting(bool loadsSiteIconsIgnoringImageLoadingSetting) { m_loadsSiteIconsIgnoringImageLoadingSetting = loadsSiteIconsIgnoringImageLoadingSetting; } |
273 | bool localFileContentSniffingEnabled() const { return m_localFileContentSniffingEnabled; } |
274 | void setLocalFileContentSniffingEnabled(bool localFileContentSniffingEnabled) { m_localFileContentSniffingEnabled = localFileContentSniffingEnabled; } |
275 | const String& localStorageDatabasePath() const { return m_localStorageDatabasePath; } |
276 | void setLocalStorageDatabasePath(const String& localStorageDatabasePath) { m_localStorageDatabasePath = localStorageDatabasePath; } |
277 | bool localStorageEnabled() const { return m_localStorageEnabled; } |
278 | void setLocalStorageEnabled(bool localStorageEnabled) { m_localStorageEnabled = localStorageEnabled; } |
279 | bool logsPageMessagesToSystemConsoleEnabled() const { return m_logsPageMessagesToSystemConsoleEnabled; } |
280 | void setLogsPageMessagesToSystemConsoleEnabled(bool logsPageMessagesToSystemConsoleEnabled) { m_logsPageMessagesToSystemConsoleEnabled = logsPageMessagesToSystemConsoleEnabled; } |
281 | bool mainContentUserGestureOverrideEnabled() const { return m_mainContentUserGestureOverrideEnabled; } |
282 | void setMainContentUserGestureOverrideEnabled(bool mainContentUserGestureOverrideEnabled) { m_mainContentUserGestureOverrideEnabled = mainContentUserGestureOverrideEnabled; } |
283 | double maxParseDuration() const { return m_maxParseDuration; } |
284 | void setMaxParseDuration(double maxParseDuration) { m_maxParseDuration = maxParseDuration; } |
285 | unsigned maximumAccelerated2dCanvasSize() const { return m_maximumAccelerated2dCanvasSize; } |
286 | void setMaximumAccelerated2dCanvasSize(unsigned maximumAccelerated2dCanvasSize) { m_maximumAccelerated2dCanvasSize = maximumAccelerated2dCanvasSize; } |
287 | unsigned maximumHTMLParserDOMTreeDepth() const { return m_maximumHTMLParserDOMTreeDepth; } |
288 | void setMaximumHTMLParserDOMTreeDepth(unsigned maximumHTMLParserDOMTreeDepth) { m_maximumHTMLParserDOMTreeDepth = maximumHTMLParserDOMTreeDepth; } |
289 | unsigned maximumPlugInSnapshotAttempts() const { return m_maximumPlugInSnapshotAttempts; } |
290 | void setMaximumPlugInSnapshotAttempts(unsigned maximumPlugInSnapshotAttempts) { m_maximumPlugInSnapshotAttempts = maximumPlugInSnapshotAttempts; } |
291 | bool mediaCapabilitiesEnabled() const { return m_mediaCapabilitiesEnabled; } |
292 | void setMediaCapabilitiesEnabled(bool mediaCapabilitiesEnabled) { m_mediaCapabilitiesEnabled = mediaCapabilitiesEnabled; } |
293 | bool mediaCapabilitiesExtensionsEnabled() const { return m_mediaCapabilitiesExtensionsEnabled; } |
294 | void setMediaCapabilitiesExtensionsEnabled(bool mediaCapabilitiesExtensionsEnabled) { m_mediaCapabilitiesExtensionsEnabled = mediaCapabilitiesExtensionsEnabled; } |
295 | bool mediaControlsScaleWithPageZoom() const { return m_mediaControlsScaleWithPageZoom; } |
296 | void setMediaControlsScaleWithPageZoom(bool mediaControlsScaleWithPageZoom) { m_mediaControlsScaleWithPageZoom = mediaControlsScaleWithPageZoom; } |
297 | bool mediaDataLoadsAutomatically() const { return m_mediaDataLoadsAutomatically; } |
298 | void setMediaDataLoadsAutomatically(bool mediaDataLoadsAutomatically) { m_mediaDataLoadsAutomatically = mediaDataLoadsAutomatically; } |
299 | bool mediaEnabled() const { return m_mediaEnabled; } |
300 | void setMediaEnabled(bool mediaEnabled) { m_mediaEnabled = mediaEnabled; } |
301 | const String& mediaKeysStorageDirectory() const { return m_mediaKeysStorageDirectory; } |
302 | void setMediaKeysStorageDirectory(const String& mediaKeysStorageDirectory) { m_mediaKeysStorageDirectory = mediaKeysStorageDirectory; } |
303 | bool mediaPreloadingEnabled() const { return m_mediaPreloadingEnabled; } |
304 | void setMediaPreloadingEnabled(bool mediaPreloadingEnabled) { m_mediaPreloadingEnabled = mediaPreloadingEnabled; } |
305 | const String& mediaTypeOverride() const { return m_mediaTypeOverride; } |
306 | WEBCORE_EXPORT void setMediaTypeOverride(const String&); |
307 | bool mediaUserGestureInheritsFromDocument() const { return m_mediaUserGestureInheritsFromDocument; } |
308 | void setMediaUserGestureInheritsFromDocument(bool mediaUserGestureInheritsFromDocument) { m_mediaUserGestureInheritsFromDocument = mediaUserGestureInheritsFromDocument; } |
309 | int minimumAccelerated2dCanvasSize() const { return m_minimumAccelerated2dCanvasSize; } |
310 | void setMinimumAccelerated2dCanvasSize(int minimumAccelerated2dCanvasSize) { m_minimumAccelerated2dCanvasSize = minimumAccelerated2dCanvasSize; } |
311 | int minimumFontSize() const { return m_minimumFontSize; } |
312 | WEBCORE_EXPORT void setMinimumFontSize(int); |
313 | int minimumLogicalFontSize() const { return m_minimumLogicalFontSize; } |
314 | WEBCORE_EXPORT void setMinimumLogicalFontSize(int); |
315 | bool needsAcrobatFrameReloadingQuirk() const { return m_needsAdobeFrameReloadingQuirk; } |
316 | void setNeedsAdobeFrameReloadingQuirk(bool needsAdobeFrameReloadingQuirk) { m_needsAdobeFrameReloadingQuirk = needsAdobeFrameReloadingQuirk; } |
317 | bool needsFrameNameFallbackToIdQuirk() const { return m_needsFrameNameFallbackToIdQuirk; } |
318 | void setNeedsFrameNameFallbackToIdQuirk(bool needsFrameNameFallbackToIdQuirk) { m_needsFrameNameFallbackToIdQuirk = needsFrameNameFallbackToIdQuirk; } |
319 | bool needsIsLoadingInAPISenseQuirk() const { return m_needsIsLoadingInAPISenseQuirk; } |
320 | void setNeedsIsLoadingInAPISenseQuirk(bool needsIsLoadingInAPISenseQuirk) { m_needsIsLoadingInAPISenseQuirk = needsIsLoadingInAPISenseQuirk; } |
321 | bool needsKeyboardEventDisambiguationQuirks() const { return m_needsKeyboardEventDisambiguationQuirks; } |
322 | void setNeedsKeyboardEventDisambiguationQuirks(bool needsKeyboardEventDisambiguationQuirks) { m_needsKeyboardEventDisambiguationQuirks = needsKeyboardEventDisambiguationQuirks; } |
323 | WEBCORE_EXPORT bool needsSiteSpecificQuirks() const; |
324 | void setNeedsSiteSpecificQuirks(bool needsSiteSpecificQuirks) { m_needsSiteSpecificQuirks = needsSiteSpecificQuirks; } |
325 | bool needsStorageAccessFromFileURLsQuirk() const { return m_needsStorageAccessFromFileURLsQuirk; } |
326 | void setNeedsStorageAccessFromFileURLsQuirk(bool needsStorageAccessFromFileURLsQuirk) { m_needsStorageAccessFromFileURLsQuirk = needsStorageAccessFromFileURLsQuirk; } |
327 | bool notificationsEnabled() const { return m_notificationsEnabled; } |
328 | void setNotificationsEnabled(bool notificationsEnabled) { m_notificationsEnabled = notificationsEnabled; } |
329 | bool offlineWebApplicationCacheEnabled() const { return m_offlineWebApplicationCacheEnabled; } |
330 | void setOfflineWebApplicationCacheEnabled(bool offlineWebApplicationCacheEnabled) { m_offlineWebApplicationCacheEnabled = offlineWebApplicationCacheEnabled; } |
331 | bool pageCacheSupportsPlugins() const { return m_pageCacheSupportsPlugins; } |
332 | void setPageCacheSupportsPlugins(bool pageCacheSupportsPlugins) { m_pageCacheSupportsPlugins = pageCacheSupportsPlugins; } |
333 | bool paginateDuringLayoutEnabled() const { return m_paginateDuringLayoutEnabled; } |
334 | void setPaginateDuringLayoutEnabled(bool paginateDuringLayoutEnabled) { m_paginateDuringLayoutEnabled = paginateDuringLayoutEnabled; } |
335 | bool passiveTouchListenersAsDefaultOnDocument() const { return m_passiveTouchListenersAsDefaultOnDocument; } |
336 | void setPassiveTouchListenersAsDefaultOnDocument(bool passiveTouchListenersAsDefaultOnDocument) { m_passiveTouchListenersAsDefaultOnDocument = passiveTouchListenersAsDefaultOnDocument; } |
337 | double passwordEchoDurationInSeconds() const { return m_passwordEchoDurationInSeconds; } |
338 | void setPasswordEchoDurationInSeconds(double passwordEchoDurationInSeconds) { m_passwordEchoDurationInSeconds = passwordEchoDurationInSeconds; } |
339 | bool passwordEchoEnabled() const { return m_passwordEchoEnabled; } |
340 | void setPasswordEchoEnabled(bool passwordEchoEnabled) { m_passwordEchoEnabled = passwordEchoEnabled; } |
341 | PDFImageCachingPolicy pdfImageCachingPolicy() const { return m_pdfImageCachingPolicy; } |
342 | void setPdfImageCachingPolicy(PDFImageCachingPolicy pdfImageCachingPolicy) { m_pdfImageCachingPolicy = pdfImageCachingPolicy; } |
343 | bool plugInSnapshottingEnabled() const { return m_plugInSnapshottingEnabled; } |
344 | void setPlugInSnapshottingEnabled(bool plugInSnapshottingEnabled) { m_plugInSnapshottingEnabled = plugInSnapshottingEnabled; } |
345 | bool arePluginsEnabled() const { return m_pluginsEnabled; } |
346 | WEBCORE_EXPORT void setPluginsEnabled(bool); |
347 | bool preferMIMETypeForImages() const { return m_preferMIMETypeForImages; } |
348 | void setPreferMIMETypeForImages(bool preferMIMETypeForImages) { m_preferMIMETypeForImages = preferMIMETypeForImages; } |
349 | bool preventKeyboardDOMEventDispatch() const { return m_preventKeyboardDOMEventDispatch; } |
350 | void setPreventKeyboardDOMEventDispatch(bool preventKeyboardDOMEventDispatch) { m_preventKeyboardDOMEventDispatch = preventKeyboardDOMEventDispatch; } |
351 | bool primaryPlugInSnapshotDetectionEnabled() const { return m_primaryPlugInSnapshotDetectionEnabled; } |
352 | void setPrimaryPlugInSnapshotDetectionEnabled(bool primaryPlugInSnapshotDetectionEnabled) { m_primaryPlugInSnapshotDetectionEnabled = primaryPlugInSnapshotDetectionEnabled; } |
353 | bool punchOutWhiteBackgroundsInDarkMode() const { return m_punchOutWhiteBackgroundsInDarkMode; } |
354 | WEBCORE_EXPORT void setPunchOutWhiteBackgroundsInDarkMode(bool); |
355 | bool quickTimePluginReplacementEnabled() const { return m_quickTimePluginReplacementEnabled; } |
356 | void setQuickTimePluginReplacementEnabled(bool quickTimePluginReplacementEnabled) { m_quickTimePluginReplacementEnabled = quickTimePluginReplacementEnabled; } |
357 | bool repaintOutsideLayoutEnabled() const { return m_repaintOutsideLayoutEnabled; } |
358 | void setRepaintOutsideLayoutEnabled(bool repaintOutsideLayoutEnabled) { m_repaintOutsideLayoutEnabled = repaintOutsideLayoutEnabled; } |
359 | bool requestAnimationFrameEnabled() const { return m_requestAnimationFrameEnabled; } |
360 | void setRequestAnimationFrameEnabled(bool requestAnimationFrameEnabled) { m_requestAnimationFrameEnabled = requestAnimationFrameEnabled; } |
361 | bool requiresUserGestureToLoadVideo() const { return m_requiresUserGestureToLoadVideo; } |
362 | void setRequiresUserGestureToLoadVideo(bool requiresUserGestureToLoadVideo) { m_requiresUserGestureToLoadVideo = requiresUserGestureToLoadVideo; } |
363 | bool resourceUsageOverlayVisible() const { return m_resourceUsageOverlayVisible; } |
364 | WEBCORE_EXPORT void setResourceUsageOverlayVisible(bool); |
365 | WEBCORE_EXPORT bool isScriptEnabled() const; |
366 | void setScriptEnabled(bool scriptEnabled) { m_scriptEnabled = scriptEnabled; } |
367 | bool scriptMarkupEnabled() const { return m_scriptMarkupEnabled; } |
368 | void setScriptMarkupEnabled(bool scriptMarkupEnabled) { m_scriptMarkupEnabled = scriptMarkupEnabled; } |
369 | bool scrollingCoordinatorEnabled() const { return m_scrollingCoordinatorEnabled; } |
370 | void setScrollingCoordinatorEnabled(bool scrollingCoordinatorEnabled) { m_scrollingCoordinatorEnabled = scrollingCoordinatorEnabled; } |
371 | bool scrollingPerformanceLoggingEnabled() const { return m_scrollingPerformanceLoggingEnabled; } |
372 | WEBCORE_EXPORT void setScrollingPerformanceLoggingEnabled(bool); |
373 | bool scrollingTreeIncludesFrames() const { return m_scrollingTreeIncludesFrames; } |
374 | void setScrollingTreeIncludesFrames(bool scrollingTreeIncludesFrames) { m_scrollingTreeIncludesFrames = scrollingTreeIncludesFrames; } |
375 | bool selectTrailingWhitespaceEnabled() const { return m_selectTrailingWhitespaceEnabled; } |
376 | void setSelectTrailingWhitespaceEnabled(bool selectTrailingWhitespaceEnabled) { m_selectTrailingWhitespaceEnabled = selectTrailingWhitespaceEnabled; } |
377 | bool selectionAcrossShadowBoundariesEnabled() const { return m_selectionAcrossShadowBoundariesEnabled; } |
378 | void setSelectionAcrossShadowBoundariesEnabled(bool selectionAcrossShadowBoundariesEnabled) { m_selectionAcrossShadowBoundariesEnabled = selectionAcrossShadowBoundariesEnabled; } |
379 | bool selectionPaintingWithoutSelectionGapsEnabled() const { return m_selectionPaintingWithoutSelectionGapsEnabled; } |
380 | void setSelectionPaintingWithoutSelectionGapsEnabled(bool selectionPaintingWithoutSelectionGapsEnabled) { m_selectionPaintingWithoutSelectionGapsEnabled = selectionPaintingWithoutSelectionGapsEnabled; } |
381 | unsigned sessionStorageQuota() const { return m_sessionStorageQuota; } |
382 | void setSessionStorageQuota(unsigned sessionStorageQuota) { m_sessionStorageQuota = sessionStorageQuota; } |
383 | bool shouldAllowUserInstalledFonts() const { return m_shouldAllowUserInstalledFonts; } |
384 | WEBCORE_EXPORT void setShouldAllowUserInstalledFonts(bool); |
385 | bool shouldConvertInvalidURLsToBlank() const { return m_shouldConvertInvalidURLsToBlank; } |
386 | void setShouldConvertInvalidURLsToBlank(bool shouldConvertInvalidURLsToBlank) { m_shouldConvertInvalidURLsToBlank = shouldConvertInvalidURLsToBlank; } |
387 | bool shouldConvertPositionStyleOnCopy() const { return m_shouldConvertPositionStyleOnCopy; } |
388 | void setShouldConvertPositionStyleOnCopy(bool shouldConvertPositionStyleOnCopy) { m_shouldConvertPositionStyleOnCopy = shouldConvertPositionStyleOnCopy; } |
389 | bool shouldDecidePolicyBeforeLoadingQuickLookPreview() const { return m_shouldDecidePolicyBeforeLoadingQuickLookPreview; } |
390 | void setShouldDecidePolicyBeforeLoadingQuickLookPreview(bool shouldDecidePolicyBeforeLoadingQuickLookPreview) { m_shouldDecidePolicyBeforeLoadingQuickLookPreview = shouldDecidePolicyBeforeLoadingQuickLookPreview; } |
391 | bool shouldDeferAsynchronousScriptsUntilAfterDocumentLoad() const { return m_shouldDeferAsynchronousScriptsUntilAfterDocumentLoad; } |
392 | void setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad(bool shouldDeferAsynchronousScriptsUntilAfterDocumentLoad) { m_shouldDeferAsynchronousScriptsUntilAfterDocumentLoad = shouldDeferAsynchronousScriptsUntilAfterDocumentLoad; } |
393 | bool shouldDispatchSyntheticMouseEventsWhenModifyingSelection() const { return m_shouldDispatchSyntheticMouseEventsWhenModifyingSelection; } |
394 | void setShouldDispatchSyntheticMouseEventsWhenModifyingSelection(bool shouldDispatchSyntheticMouseEventsWhenModifyingSelection) { m_shouldDispatchSyntheticMouseEventsWhenModifyingSelection = shouldDispatchSyntheticMouseEventsWhenModifyingSelection; } |
395 | bool shouldIgnoreFontLoadCompletions() const { return m_shouldIgnoreFontLoadCompletions; } |
396 | void setShouldIgnoreFontLoadCompletions(bool shouldIgnoreFontLoadCompletions) { m_shouldIgnoreFontLoadCompletions = shouldIgnoreFontLoadCompletions; } |
397 | bool shouldIgnoreMetaViewport() const { return m_shouldIgnoreMetaViewport; } |
398 | void setShouldIgnoreMetaViewport(bool shouldIgnoreMetaViewport) { m_shouldIgnoreMetaViewport = shouldIgnoreMetaViewport; } |
399 | bool shouldInjectUserScriptsInInitialEmptyDocument() const { return m_shouldInjectUserScriptsInInitialEmptyDocument; } |
400 | void setShouldInjectUserScriptsInInitialEmptyDocument(bool shouldInjectUserScriptsInInitialEmptyDocument) { m_shouldInjectUserScriptsInInitialEmptyDocument = shouldInjectUserScriptsInInitialEmptyDocument; } |
401 | bool shouldPrintBackgrounds() const { return m_shouldPrintBackgrounds; } |
402 | void setShouldPrintBackgrounds(bool shouldPrintBackgrounds) { m_shouldPrintBackgrounds = shouldPrintBackgrounds; } |
403 | bool shouldRespectImageOrientation() const { return m_shouldRespectImageOrientation; } |
404 | void setShouldRespectImageOrientation(bool shouldRespectImageOrientation) { m_shouldRespectImageOrientation = shouldRespectImageOrientation; } |
405 | bool shouldSuppressTextInputFromEditingDuringProvisionalNavigation() const { return m_shouldSuppressTextInputFromEditingDuringProvisionalNavigation; } |
406 | void setShouldSuppressTextInputFromEditingDuringProvisionalNavigation(bool shouldSuppressTextInputFromEditingDuringProvisionalNavigation) { m_shouldSuppressTextInputFromEditingDuringProvisionalNavigation = shouldSuppressTextInputFromEditingDuringProvisionalNavigation; } |
407 | bool showDebugBorders() const { return m_showDebugBorders; } |
408 | WEBCORE_EXPORT void setShowDebugBorders(bool); |
409 | bool showRepaintCounter() const { return m_showRepaintCounter; } |
410 | WEBCORE_EXPORT void setShowRepaintCounter(bool); |
411 | bool showTiledScrollingIndicator() const { return m_showTiledScrollingIndicator; } |
412 | void setShowTiledScrollingIndicator(bool showTiledScrollingIndicator) { m_showTiledScrollingIndicator = showTiledScrollingIndicator; } |
413 | bool showsToolTipOverTruncatedText() const { return m_showsToolTipOverTruncatedText; } |
414 | void setShowsToolTipOverTruncatedText(bool showsToolTipOverTruncatedText) { m_showsToolTipOverTruncatedText = showsToolTipOverTruncatedText; } |
415 | bool showsURLsInToolTips() const { return m_showsURLsInToolTips; } |
416 | void setShowsURLsInToolTips(bool showsURLsInToolTips) { m_showsURLsInToolTips = showsURLsInToolTips; } |
417 | bool shrinksStandaloneImagesToFit() const { return m_shrinksStandaloneImagesToFit; } |
418 | void setShrinksStandaloneImagesToFit(bool shrinksStandaloneImagesToFit) { m_shrinksStandaloneImagesToFit = shrinksStandaloneImagesToFit; } |
419 | bool simpleLineLayoutDebugBordersEnabled() const { return m_simpleLineLayoutDebugBordersEnabled; } |
420 | WEBCORE_EXPORT void setSimpleLineLayoutDebugBordersEnabled(bool); |
421 | bool simpleLineLayoutEnabled() const { return m_simpleLineLayoutEnabled; } |
422 | WEBCORE_EXPORT void setSimpleLineLayoutEnabled(bool); |
423 | bool smartInsertDeleteEnabled() const { return m_smartInsertDeleteEnabled; } |
424 | void setSmartInsertDeleteEnabled(bool smartInsertDeleteEnabled) { m_smartInsertDeleteEnabled = smartInsertDeleteEnabled; } |
425 | bool snapshotAllPlugIns() const { return m_snapshotAllPlugIns; } |
426 | void setSnapshotAllPlugIns(bool snapshotAllPlugIns) { m_snapshotAllPlugIns = snapshotAllPlugIns; } |
427 | bool spatialNavigationEnabled() const { return m_spatialNavigationEnabled; } |
428 | void setSpatialNavigationEnabled(bool spatialNavigationEnabled) { m_spatialNavigationEnabled = spatialNavigationEnabled; } |
429 | bool springTimingFunctionEnabled() const { return m_springTimingFunctionEnabled; } |
430 | void setSpringTimingFunctionEnabled(bool springTimingFunctionEnabled) { m_springTimingFunctionEnabled = springTimingFunctionEnabled; } |
431 | bool standalone() const { return m_standalone; } |
432 | void setStandalone(bool standalone) { m_standalone = standalone; } |
433 | bool storageAccessAPIEnabled() const { return m_storageAccessAPIEnabled; } |
434 | void setStorageAccessAPIEnabled(bool storageAccessAPIEnabled) { m_storageAccessAPIEnabled = storageAccessAPIEnabled; } |
435 | SecurityOrigin::StorageBlockingPolicy storageBlockingPolicy() const { return m_storageBlockingPolicy; } |
436 | WEBCORE_EXPORT void setStorageBlockingPolicy(SecurityOrigin::StorageBlockingPolicy); |
437 | bool subpixelAntialiasedLayerTextEnabled() const { return m_subpixelAntialiasedLayerTextEnabled; } |
438 | WEBCORE_EXPORT void setSubpixelAntialiasedLayerTextEnabled(bool); |
439 | bool subpixelCSSOMElementMetricsEnabled() const { return m_subpixelCSSOMElementMetricsEnabled; } |
440 | void setSubpixelCSSOMElementMetricsEnabled(bool subpixelCSSOMElementMetricsEnabled) { m_subpixelCSSOMElementMetricsEnabled = subpixelCSSOMElementMetricsEnabled; } |
441 | bool subresourceIntegrityEnabled() const { return m_subresourceIntegrityEnabled; } |
442 | void setSubresourceIntegrityEnabled(bool subresourceIntegrityEnabled) { m_subresourceIntegrityEnabled = subresourceIntegrityEnabled; } |
443 | bool suppressesIncrementalRendering() const { return m_suppressesIncrementalRendering; } |
444 | void setSuppressesIncrementalRendering(bool suppressesIncrementalRendering) { m_suppressesIncrementalRendering = suppressesIncrementalRendering; } |
445 | TextDirection systemLayoutDirection() const { return m_systemLayoutDirection; } |
446 | void setSystemLayoutDirection(TextDirection systemLayoutDirection) { m_systemLayoutDirection = systemLayoutDirection; } |
447 | bool telephoneNumberParsingEnabled() const { return m_telephoneNumberParsingEnabled; } |
448 | void setTelephoneNumberParsingEnabled(bool telephoneNumberParsingEnabled) { m_telephoneNumberParsingEnabled = telephoneNumberParsingEnabled; } |
449 | bool temporaryTileCohortRetentionEnabled() const { return m_temporaryTileCohortRetentionEnabled; } |
450 | void setTemporaryTileCohortRetentionEnabled(bool temporaryTileCohortRetentionEnabled) { m_temporaryTileCohortRetentionEnabled = temporaryTileCohortRetentionEnabled; } |
451 | bool textAreasAreResizable() const { return m_textAreasAreResizable; } |
452 | WEBCORE_EXPORT void setTextAreasAreResizable(bool); |
453 | TextDirectionSubmenuInclusionBehavior () const { return m_textDirectionSubmenuInclusionBehavior; } |
454 | void (TextDirectionSubmenuInclusionBehavior ) { m_textDirectionSubmenuInclusionBehavior = textDirectionSubmenuInclusionBehavior; } |
455 | bool thirdPartyIframeRedirectBlockingEnabled() const { return m_thirdPartyIframeRedirectBlockingEnabled; } |
456 | void setThirdPartyIframeRedirectBlockingEnabled(bool thirdPartyIframeRedirectBlockingEnabled) { m_thirdPartyIframeRedirectBlockingEnabled = thirdPartyIframeRedirectBlockingEnabled; } |
457 | Seconds timeWithoutMouseMovementBeforeHidingControls() const { return m_timeWithoutMouseMovementBeforeHidingControls; } |
458 | void setTimeWithoutMouseMovementBeforeHidingControls(Seconds timeWithoutMouseMovementBeforeHidingControls) { m_timeWithoutMouseMovementBeforeHidingControls = timeWithoutMouseMovementBeforeHidingControls; } |
459 | bool treatIPAddressAsDomain() const { return m_treatIPAddressAsDomain; } |
460 | void setTreatIPAddressAsDomain(bool treatIPAddressAsDomain) { m_treatIPAddressAsDomain = treatIPAddressAsDomain; } |
461 | bool treatsAnyTextCSSLinkAsStylesheet() const { return m_treatsAnyTextCSSLinkAsStylesheet; } |
462 | void setTreatsAnyTextCSSLinkAsStylesheet(bool treatsAnyTextCSSLinkAsStylesheet) { m_treatsAnyTextCSSLinkAsStylesheet = treatsAnyTextCSSLinkAsStylesheet; } |
463 | bool unhandledPromiseRejectionToConsoleEnabled() const { return m_unhandledPromiseRejectionToConsoleEnabled; } |
464 | void setUnhandledPromiseRejectionToConsoleEnabled(bool unhandledPromiseRejectionToConsoleEnabled) { m_unhandledPromiseRejectionToConsoleEnabled = unhandledPromiseRejectionToConsoleEnabled; } |
465 | bool unifiedTextCheckerEnabled() const { return m_unifiedTextCheckerEnabled; } |
466 | void setUnifiedTextCheckerEnabled(bool unifiedTextCheckerEnabled) { m_unifiedTextCheckerEnabled = unifiedTextCheckerEnabled; } |
467 | bool useAnonymousModeWhenFetchingMaskImages() const { return m_useAnonymousModeWhenFetchingMaskImages; } |
468 | void setUseAnonymousModeWhenFetchingMaskImages(bool useAnonymousModeWhenFetchingMaskImages) { m_useAnonymousModeWhenFetchingMaskImages = useAnonymousModeWhenFetchingMaskImages; } |
469 | bool useGiantTiles() const { return m_useGiantTiles; } |
470 | void setUseGiantTiles(bool useGiantTiles) { m_useGiantTiles = useGiantTiles; } |
471 | bool useImageDocumentForSubframePDF() const { return m_useImageDocumentForSubframePDF; } |
472 | void setUseImageDocumentForSubframePDF(bool useImageDocumentForSubframePDF) { m_useImageDocumentForSubframePDF = useImageDocumentForSubframePDF; } |
473 | bool useLegacyBackgroundSizeShorthandBehavior() const { return m_useLegacyBackgroundSizeShorthandBehavior; } |
474 | void setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacyBackgroundSizeShorthandBehavior) { m_useLegacyBackgroundSizeShorthandBehavior = useLegacyBackgroundSizeShorthandBehavior; } |
475 | bool useLegacyTextAlignPositionedElementBehavior() const { return m_useLegacyTextAlignPositionedElementBehavior; } |
476 | void setUseLegacyTextAlignPositionedElementBehavior(bool useLegacyTextAlignPositionedElementBehavior) { m_useLegacyTextAlignPositionedElementBehavior = useLegacyTextAlignPositionedElementBehavior; } |
477 | bool usePreHTML5ParserQuirks() const { return m_usePreHTML5ParserQuirks; } |
478 | void setUsePreHTML5ParserQuirks(bool usePreHTML5ParserQuirks) { m_usePreHTML5ParserQuirks = usePreHTML5ParserQuirks; } |
479 | UserInterfaceDirectionPolicy userInterfaceDirectionPolicy() const { return m_userInterfaceDirectionPolicy; } |
480 | void setUserInterfaceDirectionPolicy(UserInterfaceDirectionPolicy userInterfaceDirectionPolicy) { m_userInterfaceDirectionPolicy = userInterfaceDirectionPolicy; } |
481 | const URL& userStyleSheetLocation() const { return m_userStyleSheetLocation; } |
482 | WEBCORE_EXPORT void setUserStyleSheetLocation(const URL&); |
483 | bool usesEncodingDetector() const { return m_usesEncodingDetector; } |
484 | void setUsesEncodingDetector(bool usesEncodingDetector) { m_usesEncodingDetector = usesEncodingDetector; } |
485 | bool usesPageCache() const { return m_usesPageCache; } |
486 | WEBCORE_EXPORT void setUsesPageCache(bool); |
487 | int validationMessageTimerMagnification() const { return m_validationMessageTimerMagnification; } |
488 | void setValidationMessageTimerMagnification(int validationMessageTimerMagnification) { m_validationMessageTimerMagnification = validationMessageTimerMagnification; } |
489 | bool videoPlaybackRequiresUserGesture() const { return m_videoPlaybackRequiresUserGesture; } |
490 | void setVideoPlaybackRequiresUserGesture(bool videoPlaybackRequiresUserGesture) { m_videoPlaybackRequiresUserGesture = videoPlaybackRequiresUserGesture; } |
491 | bool viewportFitEnabled() const { return m_viewportFitEnabled; } |
492 | void setViewportFitEnabled(bool viewportFitEnabled) { m_viewportFitEnabled = viewportFitEnabled; } |
493 | DebugOverlayRegions visibleDebugOverlayRegions() const { return m_visibleDebugOverlayRegions; } |
494 | void setVisibleDebugOverlayRegions(DebugOverlayRegions visibleDebugOverlayRegions) { m_visibleDebugOverlayRegions = visibleDebugOverlayRegions; } |
495 | bool visualViewportAPIEnabled() const { return m_visualViewportAPIEnabled; } |
496 | void setVisualViewportAPIEnabled(bool visualViewportAPIEnabled) { m_visualViewportAPIEnabled = visualViewportAPIEnabled; } |
497 | bool visualViewportEnabled() const { return m_visualViewportEnabled; } |
498 | WEBCORE_EXPORT void setVisualViewportEnabled(bool); |
499 | bool wantsBalancedSetDefersLoadingBehavior() const { return m_wantsBalancedSetDefersLoadingBehavior; } |
500 | void setWantsBalancedSetDefersLoadingBehavior(bool wantsBalancedSetDefersLoadingBehavior) { m_wantsBalancedSetDefersLoadingBehavior = wantsBalancedSetDefersLoadingBehavior; } |
501 | bool webAudioEnabled() const { return m_webAudioEnabled; } |
502 | void setWebAudioEnabled(bool webAudioEnabled) { m_webAudioEnabled = webAudioEnabled; } |
503 | bool webGLEnabled() const { return m_webGLEnabled; } |
504 | void setWebGLEnabled(bool webGLEnabled) { m_webGLEnabled = webGLEnabled; } |
505 | bool webGLErrorsToConsoleEnabled() const { return m_webGLErrorsToConsoleEnabled; } |
506 | void setWebGLErrorsToConsoleEnabled(bool webGLErrorsToConsoleEnabled) { m_webGLErrorsToConsoleEnabled = webGLErrorsToConsoleEnabled; } |
507 | WEBCORE_EXPORT bool webSecurityEnabled() const; |
508 | void setWebSecurityEnabled(bool webSecurityEnabled) { m_webSecurityEnabled = webSecurityEnabled; } |
509 | bool webkitImageReadyEventEnabled() const { return m_webkitImageReadyEventEnabled; } |
510 | void setWebkitImageReadyEventEnabled(bool webkitImageReadyEventEnabled) { m_webkitImageReadyEventEnabled = webkitImageReadyEventEnabled; } |
511 | bool windowFocusRestricted() const { return m_windowFocusRestricted; } |
512 | void setWindowFocusRestricted(bool windowFocusRestricted) { m_windowFocusRestricted = windowFocusRestricted; } |
513 | bool xssAuditorEnabled() const { return m_xssAuditorEnabled; } |
514 | void setXSSAuditorEnabled(bool xssAuditorEnabled) { m_xssAuditorEnabled = xssAuditorEnabled; } |
515 | bool youTubeFlashPluginReplacementEnabled() const { return m_youTubeFlashPluginReplacementEnabled; } |
516 | void setYouTubeFlashPluginReplacementEnabled(bool youTubeFlashPluginReplacementEnabled) { m_youTubeFlashPluginReplacementEnabled = youTubeFlashPluginReplacementEnabled; } |
517 | |
518 | #if ENABLE(APPLE_PAY) |
519 | bool applePayCapabilityDisclosureAllowed() const { return m_applePayCapabilityDisclosureAllowed; } |
520 | void setApplePayCapabilityDisclosureAllowed(bool applePayCapabilityDisclosureAllowed) { m_applePayCapabilityDisclosureAllowed = applePayCapabilityDisclosureAllowed; } |
521 | bool applePayEnabled() const { return m_applePayEnabled; } |
522 | void setApplePayEnabled(bool applePayEnabled) { m_applePayEnabled = applePayEnabled; } |
523 | #endif |
524 | |
525 | #if ENABLE(APPLE_PAY_REMOTE_UI) |
526 | bool applePayRemoteUIEnabled() const { return m_applePayRemoteUIEnabled; } |
527 | void setApplePayRemoteUIEnabled(bool applePayRemoteUIEnabled) { m_applePayRemoteUIEnabled = applePayRemoteUIEnabled; } |
528 | #endif |
529 | |
530 | #if ENABLE(DASHBOARD_SUPPORT) |
531 | bool usesDashboardBackwardCompatibilityMode() const { return m_usesDashboardBackwardCompatibilityMode; } |
532 | void setUsesDashboardBackwardCompatibilityMode(bool usesDashboardBackwardCompatibilityMode) { m_usesDashboardBackwardCompatibilityMode = usesDashboardBackwardCompatibilityMode; } |
533 | #endif |
534 | |
535 | #if ENABLE(DATA_DETECTION) |
536 | DataDetectorTypes dataDetectorTypes() const { return m_dataDetectorTypes; } |
537 | void setDataDetectorTypes(DataDetectorTypes dataDetectorTypes) { m_dataDetectorTypes = dataDetectorTypes; } |
538 | #endif |
539 | |
540 | #if ENABLE(DEVICE_ORIENTATION) |
541 | bool deviceOrientationEventEnabled() const { return m_deviceOrientationEventEnabled; } |
542 | void setDeviceOrientationEventEnabled(bool deviceOrientationEventEnabled) { m_deviceOrientationEventEnabled = deviceOrientationEventEnabled; } |
543 | bool deviceOrientationPermissionAPIEnabled() const { return m_deviceOrientationPermissionAPIEnabled; } |
544 | void setDeviceOrientationPermissionAPIEnabled(bool deviceOrientationPermissionAPIEnabled) { m_deviceOrientationPermissionAPIEnabled = deviceOrientationPermissionAPIEnabled; } |
545 | #endif |
546 | |
547 | #if ENABLE(FULLSCREEN_API) |
548 | bool fullScreenEnabled() const { return m_fullScreenEnabled; } |
549 | void setFullScreenEnabled(bool fullScreenEnabled) { m_fullScreenEnabled = fullScreenEnabled; } |
550 | #endif |
551 | |
552 | #if ENABLE(MEDIA_SOURCE) |
553 | int maximumSourceBufferSize() const { return m_maximumSourceBufferSize; } |
554 | void setMaximumSourceBufferSize(int maximumSourceBufferSize) { m_maximumSourceBufferSize = maximumSourceBufferSize; } |
555 | bool mediaSourceEnabled() const { return m_mediaSourceEnabled; } |
556 | void setMediaSourceEnabled(bool mediaSourceEnabled) { m_mediaSourceEnabled = mediaSourceEnabled; } |
557 | bool sourceBufferChangeTypeEnabled() const { return m_sourceBufferChangeTypeEnabled; } |
558 | void setSourceBufferChangeTypeEnabled(bool sourceBufferChangeTypeEnabled) { m_sourceBufferChangeTypeEnabled = sourceBufferChangeTypeEnabled; } |
559 | #endif |
560 | |
561 | #if ENABLE(MEDIA_STREAM) |
562 | WEBCORE_EXPORT bool mediaCaptureRequiresSecureConnection() const; |
563 | void setMediaCaptureRequiresSecureConnection(bool mediaCaptureRequiresSecureConnection) { m_mediaCaptureRequiresSecureConnection = mediaCaptureRequiresSecureConnection; } |
564 | const String& mediaDeviceIdentifierStorageDirectory() const { return m_mediaDeviceIdentifierStorageDirectory; } |
565 | void setMediaDeviceIdentifierStorageDirectory(const String& mediaDeviceIdentifierStorageDirectory) { m_mediaDeviceIdentifierStorageDirectory = mediaDeviceIdentifierStorageDirectory; } |
566 | WEBCORE_EXPORT bool mockCaptureDevicesEnabled() const; |
567 | WEBCORE_EXPORT void setMockCaptureDevicesEnabled(bool); |
568 | #endif |
569 | |
570 | #if ENABLE(OVERFLOW_SCROLLING_TOUCH) |
571 | bool legacyOverflowScrollingTouchEnabled() const { return m_legacyOverflowScrollingTouchEnabled; } |
572 | WEBCORE_EXPORT void setLegacyOverflowScrollingTouchEnabled(bool); |
573 | #endif |
574 | |
575 | #if ENABLE(PAYMENT_REQUEST) |
576 | bool paymentRequestEnabled() const { return m_paymentRequestEnabled; } |
577 | void setPaymentRequestEnabled(bool paymentRequestEnabled) { m_paymentRequestEnabled = paymentRequestEnabled; } |
578 | #endif |
579 | |
580 | #if ENABLE(RESIZE_OBSERVER) |
581 | bool resizeObserverEnabled() const { return m_resizeObserverEnabled; } |
582 | void setResizeObserverEnabled(bool resizeObserverEnabled) { m_resizeObserverEnabled = resizeObserverEnabled; } |
583 | #endif |
584 | |
585 | #if ENABLE(RUBBER_BANDING) |
586 | bool rubberBandingForSubScrollableRegionsEnabled() const { return m_rubberBandingForSubScrollableRegionsEnabled; } |
587 | void setRubberBandingForSubScrollableRegionsEnabled(bool rubberBandingForSubScrollableRegionsEnabled) { m_rubberBandingForSubScrollableRegionsEnabled = rubberBandingForSubScrollableRegionsEnabled; } |
588 | #endif |
589 | |
590 | #if ENABLE(SERVICE_CONTROLS) |
591 | bool imageControlsEnabled() const { return m_imageControlsEnabled; } |
592 | void setImageControlsEnabled(bool imageControlsEnabled) { m_imageControlsEnabled = imageControlsEnabled; } |
593 | bool serviceControlsEnabled() const { return m_serviceControlsEnabled; } |
594 | void setServiceControlsEnabled(bool serviceControlsEnabled) { m_serviceControlsEnabled = serviceControlsEnabled; } |
595 | #endif |
596 | |
597 | #if ENABLE(SMOOTH_SCROLLING) |
598 | bool scrollAnimatorEnabled() const { return m_scrollAnimatorEnabled; } |
599 | void setScrollAnimatorEnabled(bool scrollAnimatorEnabled) { m_scrollAnimatorEnabled = scrollAnimatorEnabled; } |
600 | #endif |
601 | |
602 | #if ENABLE(TEXT_AUTOSIZING) |
603 | float minimumZoomFontSize() const { return m_minimumZoomFontSize; } |
604 | void setMinimumZoomFontSize(float minimumZoomFontSize) { m_minimumZoomFontSize = minimumZoomFontSize; } |
605 | bool shouldEnableTextAutosizingBoost() const { return m_shouldEnableTextAutosizingBoost; } |
606 | WEBCORE_EXPORT void setShouldEnableTextAutosizingBoost(bool); |
607 | bool textAutosizingEnabled() const { return m_textAutosizingEnabled; } |
608 | WEBCORE_EXPORT void setTextAutosizingEnabled(bool); |
609 | bool textAutosizingUsesIdempotentMode() const { return m_textAutosizingUsesIdempotentMode; } |
610 | WEBCORE_EXPORT void setTextAutosizingUsesIdempotentMode(bool); |
611 | IntSize textAutosizingWindowSizeOverride() const { return m_textAutosizingWindowSizeOverride; } |
612 | WEBCORE_EXPORT void setTextAutosizingWindowSizeOverride(IntSize); |
613 | #endif |
614 | |
615 | #if ENABLE(TOUCH_EVENTS) |
616 | bool isTouchEventEmulationEnabled() const { return m_touchEventEmulationEnabled; } |
617 | void setTouchEventEmulationEnabled(bool touchEventEmulationEnabled) { m_touchEventEmulationEnabled = touchEventEmulationEnabled; } |
618 | #endif |
619 | |
620 | #if ENABLE(VIDEO) |
621 | bool videoQualityIncludesDisplayCompositingEnabled() const { return m_videoQualityIncludesDisplayCompositingEnabled; } |
622 | void setVideoQualityIncludesDisplayCompositingEnabled(bool videoQualityIncludesDisplayCompositingEnabled) { m_videoQualityIncludesDisplayCompositingEnabled = videoQualityIncludesDisplayCompositingEnabled; } |
623 | #endif |
624 | |
625 | #if ENABLE(VIDEO_TRACK) |
626 | bool shouldDisplayCaptions() const { return m_shouldDisplayCaptions; } |
627 | void setShouldDisplayCaptions(bool shouldDisplayCaptions) { m_shouldDisplayCaptions = shouldDisplayCaptions; } |
628 | bool shouldDisplaySubtitles() const { return m_shouldDisplaySubtitles; } |
629 | void setShouldDisplaySubtitles(bool shouldDisplaySubtitles) { m_shouldDisplaySubtitles = shouldDisplaySubtitles; } |
630 | bool shouldDisplayTextDescriptions() const { return m_shouldDisplayTextDescriptions; } |
631 | void setShouldDisplayTextDescriptions(bool shouldDisplayTextDescriptions) { m_shouldDisplayTextDescriptions = shouldDisplayTextDescriptions; } |
632 | #endif |
633 | |
634 | #if ENABLE(WEB_ARCHIVE) |
635 | bool webArchiveDebugModeEnabled() const { return m_webArchiveDebugModeEnabled; } |
636 | void setWebArchiveDebugModeEnabled(bool webArchiveDebugModeEnabled) { m_webArchiveDebugModeEnabled = webArchiveDebugModeEnabled; } |
637 | #endif |
638 | |
639 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
640 | bool allowsAirPlayForMediaPlayback() const { return m_allowsAirPlayForMediaPlayback; } |
641 | void setAllowsAirPlayForMediaPlayback(bool allowsAirPlayForMediaPlayback) { m_allowsAirPlayForMediaPlayback = allowsAirPlayForMediaPlayback; } |
642 | #endif |
643 | |
644 | WEBCORE_EXPORT void setAuthorAndUserStylesEnabledInspectorOverride(Optional<bool>); |
645 | WEBCORE_EXPORT void setICECandidateFilteringEnabledInspectorOverride(Optional<bool>); |
646 | WEBCORE_EXPORT void setImagesEnabledInspectorOverride(Optional<bool>); |
647 | void setMediaCaptureRequiresSecureConnectionInspectorOverride(Optional<bool> mediaCaptureRequiresSecureConnectionInspectorOverride) { m_mediaCaptureRequiresSecureConnectionInspectorOverride = mediaCaptureRequiresSecureConnectionInspectorOverride; } |
648 | WEBCORE_EXPORT void setMockCaptureDevicesEnabledInspectorOverride(Optional<bool>); |
649 | void setNeedsSiteSpecificQuirksInspectorOverride(Optional<bool> needsSiteSpecificQuirksInspectorOverride) { m_needsSiteSpecificQuirksInspectorOverride = needsSiteSpecificQuirksInspectorOverride; } |
650 | void setScriptEnabledInspectorOverride(Optional<bool> scriptEnabledInspectorOverride) { m_scriptEnabledInspectorOverride = scriptEnabledInspectorOverride; } |
651 | void setWebSecurityEnabledInspectorOverride(Optional<bool> webSecurityEnabledInspectorOverride) { m_webSecurityEnabledInspectorOverride = webSecurityEnabledInspectorOverride; } |
652 | |
653 | private: |
654 | explicit Settings(Page*); |
655 | |
656 | Optional<bool> m_authorAndUserStylesEnabledInspectorOverride; |
657 | Optional<bool> m_iceCandidateFilteringEnabledInspectorOverride; |
658 | Optional<bool> m_imagesEnabledInspectorOverride; |
659 | Optional<bool> m_mediaCaptureRequiresSecureConnectionInspectorOverride; |
660 | Optional<bool> m_mockCaptureDevicesEnabledInspectorOverride; |
661 | Optional<bool> m_needsSiteSpecificQuirksInspectorOverride; |
662 | Optional<bool> m_scriptEnabledInspectorOverride; |
663 | Optional<bool> m_webSecurityEnabledInspectorOverride; |
664 | |
665 | double m_backForwardCacheExpirationInterval; |
666 | ClipboardAccessPolicy m_clipboardAccessPolicy; |
667 | int m_defaultFixedFontSize; |
668 | int m_defaultFontSize; |
669 | String m_defaultTextEncodingName; |
670 | String m_defaultVideoPosterURL; |
671 | int m_deviceHeight; |
672 | int m_deviceWidth; |
673 | EditableLinkBehavior m_editableLinkBehavior; |
674 | EditingBehaviorType m_editingBehaviorType; |
675 | FontLoadTimingOverride m_fontLoadTimingOverride; |
676 | FontRenderingMode m_fontRenderingMode; |
677 | ForcedAccessibilityValue m_forcedColorsAreInvertedAccessibilityValue; |
678 | ForcedAccessibilityValue m_forcedDisplayIsMonochromeAccessibilityValue; |
679 | ForcedAccessibilityValue m_forcedPrefersReducedMotionAccessibilityValue; |
680 | FrameFlattening m_frameFlattening; |
681 | String m_ftpDirectoryTemplatePath; |
682 | double m_incrementalRenderingSuppressionTimeoutInSeconds; |
683 | JSC::RuntimeFlags m_javaScriptRuntimeFlags; |
684 | int m_layoutFallbackWidth; |
685 | double m_layoutViewportHeightExpansionFactor; |
686 | String m_localStorageDatabasePath; |
687 | double m_maxParseDuration; |
688 | unsigned m_maximumAccelerated2dCanvasSize; |
689 | unsigned m_maximumHTMLParserDOMTreeDepth; |
690 | unsigned m_maximumPlugInSnapshotAttempts; |
691 | String m_mediaKeysStorageDirectory; |
692 | String m_mediaTypeOverride; |
693 | int m_minimumAccelerated2dCanvasSize; |
694 | int m_minimumFontSize; |
695 | int m_minimumLogicalFontSize; |
696 | double m_passwordEchoDurationInSeconds; |
697 | PDFImageCachingPolicy m_pdfImageCachingPolicy; |
698 | unsigned m_sessionStorageQuota; |
699 | SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy; |
700 | TextDirection m_systemLayoutDirection; |
701 | TextDirectionSubmenuInclusionBehavior ; |
702 | Seconds m_timeWithoutMouseMovementBeforeHidingControls; |
703 | UserInterfaceDirectionPolicy m_userInterfaceDirectionPolicy; |
704 | URL m_userStyleSheetLocation; |
705 | int m_validationMessageTimerMagnification; |
706 | DebugOverlayRegions m_visibleDebugOverlayRegions; |
707 | |
708 | #if ENABLE(DATA_DETECTION) |
709 | DataDetectorTypes m_dataDetectorTypes; |
710 | #endif |
711 | #if ENABLE(MEDIA_SOURCE) |
712 | int m_maximumSourceBufferSize; |
713 | #endif |
714 | #if ENABLE(MEDIA_STREAM) |
715 | String m_mediaDeviceIdentifierStorageDirectory; |
716 | #endif |
717 | #if ENABLE(TEXT_AUTOSIZING) |
718 | float m_minimumZoomFontSize; |
719 | IntSize m_textAutosizingWindowSizeOverride; |
720 | #endif |
721 | |
722 | bool m_CSSOMViewScrollingAPIEnabled : 1; |
723 | bool m_DOMPasteAllowed : 1; |
724 | bool m_HTTPSUpgradeEnabled : 1; |
725 | bool m_accelerated2dCanvasEnabled : 1; |
726 | bool m_acceleratedCompositedAnimationsEnabled : 1; |
727 | bool m_acceleratedCompositingEnabled : 1; |
728 | bool m_acceleratedCompositingForFixedPositionEnabled : 1; |
729 | bool m_acceleratedDrawingEnabled : 1; |
730 | bool m_acceleratedFiltersEnabled : 1; |
731 | bool m_adClickAttributionEnabled : 1; |
732 | bool m_aggressiveTileRetentionEnabled : 1; |
733 | bool m_allowContentSecurityPolicySourceStarToMatchAnyProtocol : 1; |
734 | bool m_allowCrossOriginSubresourcesToAskForCredentials : 1; |
735 | bool m_allowDisplayOfInsecureContent : 1; |
736 | bool m_allowFileAccessFromFileURLs : 1; |
737 | bool m_allowMediaContentTypesRequiringHardwareSupportAsFallback : 1; |
738 | bool m_allowMultiElementImplicitSubmission : 1; |
739 | bool m_allowRunningOfInsecureContent : 1; |
740 | bool : 1; |
741 | bool m_allowUniversalAccessFromFileURLs : 1; |
742 | bool m_allowsInlineMediaPlayback : 1; |
743 | bool m_allowsInlineMediaPlaybackAfterFullscreen : 1; |
744 | bool m_allowsPictureInPictureMediaPlayback : 1; |
745 | bool m_alwaysUseAcceleratedOverflowScroll : 1; |
746 | bool m_animatedImageAsyncDecodingEnabled : 1; |
747 | bool : 1; |
748 | bool m_asyncFrameScrollingEnabled : 1; |
749 | bool m_asyncOverflowScrollingEnabled : 1; |
750 | bool m_asynchronousSpellCheckingEnabled : 1; |
751 | bool m_audioPlaybackRequiresUserGesture : 1; |
752 | bool m_authorAndUserStylesEnabled : 1; |
753 | bool m_autoscrollForDragAndDropEnabled : 1; |
754 | bool m_autostartOriginPlugInSnapshottingEnabled : 1; |
755 | bool m_backgroundShouldExtendBeyondPage : 1; |
756 | bool m_backspaceKeyNavigationEnabled : 1; |
757 | bool m_beaconAPIEnabled : 1; |
758 | bool m_blockingOfSmallPluginsEnabled : 1; |
759 | bool m_canvasUsesAcceleratedDrawing : 1; |
760 | bool m_caretBrowsingEnabled : 1; |
761 | bool m_clientCoordinatesRelativeToLayoutViewport : 1; |
762 | bool m_colorFilterEnabled : 1; |
763 | bool m_constantPropertiesEnabled : 1; |
764 | bool m_contentChangeObserverEnabled : 1; |
765 | bool m_contentDispositionAttachmentSandboxEnabled : 1; |
766 | bool m_cookieEnabled : 1; |
767 | bool m_coreMathMLEnabled : 1; |
768 | bool m_crossOriginCheckInGetMatchedCSSRulesDisabled : 1; |
769 | bool m_deferredCSSParserEnabled : 1; |
770 | bool m_delegatesPageScaling : 1; |
771 | bool : 1; |
772 | bool m_diagnosticLoggingEnabled : 1; |
773 | bool m_disableScreenSizeOverride : 1; |
774 | bool m_displayListDrawingEnabled : 1; |
775 | bool m_dnsPrefetchingEnabled : 1; |
776 | bool m_domPasteAccessRequestsEnabled : 1; |
777 | bool m_domTimersThrottlingEnabled : 1; |
778 | bool m_downloadableBinaryFontsEnabled : 1; |
779 | bool m_editableImagesEnabled : 1; |
780 | bool m_enableInheritURIQueryComponent : 1; |
781 | bool m_enforceCSSMIMETypeInNoQuirksMode : 1; |
782 | bool m_experimentalNotificationsEnabled : 1; |
783 | bool m_fixedBackgroundsPaintRelativeToDocument : 1; |
784 | bool m_fixedElementsLayoutRelativeToFrame : 1; |
785 | bool m_fontFallbackPrefersPictographs : 1; |
786 | bool m_forceCompositingMode : 1; |
787 | bool m_forceFTPDirectoryListings : 1; |
788 | bool m_forcePendingWebGLPolicy : 1; |
789 | bool m_forceSoftwareWebGLRendering : 1; |
790 | bool m_forceUpdateScrollbarsOnMainThreadForPerformanceTesting : 1; |
791 | bool m_forceWebGLUsesLowPower : 1; |
792 | bool m_geolocationFloorLevelEnabled : 1; |
793 | bool m_hiddenPageCSSAnimationSuspensionEnabled : 1; |
794 | bool m_hiddenPageDOMTimerThrottlingAutoIncreases : 1; |
795 | bool m_hiddenPageDOMTimerThrottlingEnabled : 1; |
796 | bool m_httpEquivEnabled : 1; |
797 | bool m_hyperlinkAuditingEnabled : 1; |
798 | bool m_iceCandidateFilteringEnabled : 1; |
799 | bool m_imageSubsamplingEnabled : 1; |
800 | bool m_imagesEnabled : 1; |
801 | bool m_incompleteImageBorderEnabled : 1; |
802 | bool m_inlineMediaPlaybackRequiresPlaysInlineAttribute : 1; |
803 | bool m_inputEventsEnabled : 1; |
804 | bool m_interactiveFormValidationEnabled : 1; |
805 | bool m_invisibleAutoplayNotPermitted : 1; |
806 | bool m_javaEnabled : 1; |
807 | bool m_javaEnabledForLocalFiles : 1; |
808 | bool m_javaScriptCanAccessClipboard : 1; |
809 | bool m_javaScriptCanOpenWindowsAutomatically : 1; |
810 | bool m_langAttributeAwareFormControlUIEnabled : 1; |
811 | bool m_largeImageAsyncDecodingEnabled : 1; |
812 | bool m_linkPreconnectEnabled : 1; |
813 | bool m_loadDeferringEnabled : 1; |
814 | bool m_loadsImagesAutomatically : 1; |
815 | bool m_loadsSiteIconsIgnoringImageLoadingSetting : 1; |
816 | bool m_localFileContentSniffingEnabled : 1; |
817 | bool m_localStorageEnabled : 1; |
818 | bool m_logsPageMessagesToSystemConsoleEnabled : 1; |
819 | bool m_mainContentUserGestureOverrideEnabled : 1; |
820 | bool m_mediaCapabilitiesEnabled : 1; |
821 | bool m_mediaCapabilitiesExtensionsEnabled : 1; |
822 | bool m_mediaControlsScaleWithPageZoom : 1; |
823 | bool m_mediaDataLoadsAutomatically : 1; |
824 | bool m_mediaEnabled : 1; |
825 | bool m_mediaPreloadingEnabled : 1; |
826 | bool m_mediaUserGestureInheritsFromDocument : 1; |
827 | bool m_needsAdobeFrameReloadingQuirk : 1; |
828 | bool m_needsFrameNameFallbackToIdQuirk : 1; |
829 | bool m_needsIsLoadingInAPISenseQuirk : 1; |
830 | bool m_needsKeyboardEventDisambiguationQuirks : 1; |
831 | bool m_needsSiteSpecificQuirks : 1; |
832 | bool m_needsStorageAccessFromFileURLsQuirk : 1; |
833 | bool m_notificationsEnabled : 1; |
834 | bool m_offlineWebApplicationCacheEnabled : 1; |
835 | bool m_pageCacheSupportsPlugins : 1; |
836 | bool m_paginateDuringLayoutEnabled : 1; |
837 | bool m_passiveTouchListenersAsDefaultOnDocument : 1; |
838 | bool m_passwordEchoEnabled : 1; |
839 | bool m_plugInSnapshottingEnabled : 1; |
840 | bool m_pluginsEnabled : 1; |
841 | bool m_preferMIMETypeForImages : 1; |
842 | bool m_preventKeyboardDOMEventDispatch : 1; |
843 | bool m_primaryPlugInSnapshotDetectionEnabled : 1; |
844 | bool m_punchOutWhiteBackgroundsInDarkMode : 1; |
845 | bool m_quickTimePluginReplacementEnabled : 1; |
846 | bool m_repaintOutsideLayoutEnabled : 1; |
847 | bool m_requestAnimationFrameEnabled : 1; |
848 | bool m_requiresUserGestureToLoadVideo : 1; |
849 | bool m_resourceUsageOverlayVisible : 1; |
850 | bool m_scriptEnabled : 1; |
851 | bool m_scriptMarkupEnabled : 1; |
852 | bool m_scrollingCoordinatorEnabled : 1; |
853 | bool m_scrollingPerformanceLoggingEnabled : 1; |
854 | bool m_scrollingTreeIncludesFrames : 1; |
855 | bool m_selectTrailingWhitespaceEnabled : 1; |
856 | bool m_selectionAcrossShadowBoundariesEnabled : 1; |
857 | bool m_selectionPaintingWithoutSelectionGapsEnabled : 1; |
858 | bool m_shouldAllowUserInstalledFonts : 1; |
859 | bool m_shouldConvertInvalidURLsToBlank : 1; |
860 | bool m_shouldConvertPositionStyleOnCopy : 1; |
861 | bool m_shouldDecidePolicyBeforeLoadingQuickLookPreview : 1; |
862 | bool m_shouldDeferAsynchronousScriptsUntilAfterDocumentLoad : 1; |
863 | bool m_shouldDispatchSyntheticMouseEventsWhenModifyingSelection : 1; |
864 | bool m_shouldIgnoreFontLoadCompletions : 1; |
865 | bool m_shouldIgnoreMetaViewport : 1; |
866 | bool m_shouldInjectUserScriptsInInitialEmptyDocument : 1; |
867 | bool m_shouldPrintBackgrounds : 1; |
868 | bool m_shouldRespectImageOrientation : 1; |
869 | bool m_shouldSuppressTextInputFromEditingDuringProvisionalNavigation : 1; |
870 | bool m_showDebugBorders : 1; |
871 | bool m_showRepaintCounter : 1; |
872 | bool m_showTiledScrollingIndicator : 1; |
873 | bool m_showsToolTipOverTruncatedText : 1; |
874 | bool m_showsURLsInToolTips : 1; |
875 | bool m_shrinksStandaloneImagesToFit : 1; |
876 | bool m_simpleLineLayoutDebugBordersEnabled : 1; |
877 | bool m_simpleLineLayoutEnabled : 1; |
878 | bool m_smartInsertDeleteEnabled : 1; |
879 | bool m_snapshotAllPlugIns : 1; |
880 | bool m_spatialNavigationEnabled : 1; |
881 | bool m_springTimingFunctionEnabled : 1; |
882 | bool m_standalone : 1; |
883 | bool m_storageAccessAPIEnabled : 1; |
884 | bool m_subpixelAntialiasedLayerTextEnabled : 1; |
885 | bool m_subpixelCSSOMElementMetricsEnabled : 1; |
886 | bool m_subresourceIntegrityEnabled : 1; |
887 | bool m_suppressesIncrementalRendering : 1; |
888 | bool m_telephoneNumberParsingEnabled : 1; |
889 | bool m_temporaryTileCohortRetentionEnabled : 1; |
890 | bool m_textAreasAreResizable : 1; |
891 | bool m_thirdPartyIframeRedirectBlockingEnabled : 1; |
892 | bool m_treatIPAddressAsDomain : 1; |
893 | bool m_treatsAnyTextCSSLinkAsStylesheet : 1; |
894 | bool m_unhandledPromiseRejectionToConsoleEnabled : 1; |
895 | bool m_unifiedTextCheckerEnabled : 1; |
896 | bool m_useAnonymousModeWhenFetchingMaskImages : 1; |
897 | bool m_useGiantTiles : 1; |
898 | bool m_useImageDocumentForSubframePDF : 1; |
899 | bool m_useLegacyBackgroundSizeShorthandBehavior : 1; |
900 | bool m_useLegacyTextAlignPositionedElementBehavior : 1; |
901 | bool m_usePreHTML5ParserQuirks : 1; |
902 | bool m_usesEncodingDetector : 1; |
903 | bool m_usesPageCache : 1; |
904 | bool m_videoPlaybackRequiresUserGesture : 1; |
905 | bool m_viewportFitEnabled : 1; |
906 | bool m_visualViewportAPIEnabled : 1; |
907 | bool m_visualViewportEnabled : 1; |
908 | bool m_wantsBalancedSetDefersLoadingBehavior : 1; |
909 | bool m_webAudioEnabled : 1; |
910 | bool m_webGLEnabled : 1; |
911 | bool m_webGLErrorsToConsoleEnabled : 1; |
912 | bool m_webSecurityEnabled : 1; |
913 | bool m_webkitImageReadyEventEnabled : 1; |
914 | bool m_windowFocusRestricted : 1; |
915 | bool m_xssAuditorEnabled : 1; |
916 | bool m_youTubeFlashPluginReplacementEnabled : 1; |
917 | |
918 | #if ENABLE(APPLE_PAY) |
919 | bool m_applePayCapabilityDisclosureAllowed : 1; |
920 | bool m_applePayEnabled : 1; |
921 | #endif |
922 | #if ENABLE(APPLE_PAY_REMOTE_UI) |
923 | bool m_applePayRemoteUIEnabled : 1; |
924 | #endif |
925 | #if ENABLE(DASHBOARD_SUPPORT) |
926 | bool m_usesDashboardBackwardCompatibilityMode : 1; |
927 | #endif |
928 | #if ENABLE(DEVICE_ORIENTATION) |
929 | bool m_deviceOrientationEventEnabled : 1; |
930 | bool m_deviceOrientationPermissionAPIEnabled : 1; |
931 | #endif |
932 | #if ENABLE(FULLSCREEN_API) |
933 | bool m_fullScreenEnabled : 1; |
934 | #endif |
935 | #if ENABLE(MEDIA_SOURCE) |
936 | bool m_mediaSourceEnabled : 1; |
937 | bool m_sourceBufferChangeTypeEnabled : 1; |
938 | #endif |
939 | #if ENABLE(MEDIA_STREAM) |
940 | bool m_mediaCaptureRequiresSecureConnection : 1; |
941 | bool m_mockCaptureDevicesEnabled : 1; |
942 | #endif |
943 | #if ENABLE(OVERFLOW_SCROLLING_TOUCH) |
944 | bool m_legacyOverflowScrollingTouchEnabled : 1; |
945 | #endif |
946 | #if ENABLE(PAYMENT_REQUEST) |
947 | bool m_paymentRequestEnabled : 1; |
948 | #endif |
949 | #if ENABLE(RESIZE_OBSERVER) |
950 | bool m_resizeObserverEnabled : 1; |
951 | #endif |
952 | #if ENABLE(RUBBER_BANDING) |
953 | bool m_rubberBandingForSubScrollableRegionsEnabled : 1; |
954 | #endif |
955 | #if ENABLE(SERVICE_CONTROLS) |
956 | bool m_imageControlsEnabled : 1; |
957 | bool m_serviceControlsEnabled : 1; |
958 | #endif |
959 | #if ENABLE(SMOOTH_SCROLLING) |
960 | bool m_scrollAnimatorEnabled : 1; |
961 | #endif |
962 | #if ENABLE(TEXT_AUTOSIZING) |
963 | bool m_shouldEnableTextAutosizingBoost : 1; |
964 | bool m_textAutosizingEnabled : 1; |
965 | bool m_textAutosizingUsesIdempotentMode : 1; |
966 | #endif |
967 | #if ENABLE(TOUCH_EVENTS) |
968 | bool m_touchEventEmulationEnabled : 1; |
969 | #endif |
970 | #if ENABLE(VIDEO) |
971 | bool m_videoQualityIncludesDisplayCompositingEnabled : 1; |
972 | #endif |
973 | #if ENABLE(VIDEO_TRACK) |
974 | bool m_shouldDisplayCaptions : 1; |
975 | bool m_shouldDisplaySubtitles : 1; |
976 | bool m_shouldDisplayTextDescriptions : 1; |
977 | #endif |
978 | #if ENABLE(WEB_ARCHIVE) |
979 | bool m_webArchiveDebugModeEnabled : 1; |
980 | #endif |
981 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
982 | bool m_allowsAirPlayForMediaPlayback : 1; |
983 | #endif |
984 | }; |
985 | |
986 | } |
987 | |