| 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 | #include "config.h" |
| 29 | #include "InternalSettingsGenerated.h" |
| 30 | |
| 31 | #include "Page.h" |
| 32 | #include "Settings.h" |
| 33 | |
| 34 | namespace WebCore { |
| 35 | |
| 36 | InternalSettingsGenerated::InternalSettingsGenerated(Page* page) |
| 37 | : m_page(page) |
| 38 | , m_CSSOMViewScrollingAPIEnabled(page->settings().CSSOMViewScrollingAPIEnabled()) |
| 39 | , m_DOMPasteAllowed(page->settings().DOMPasteAllowed()) |
| 40 | , m_HTTPSUpgradeEnabled(page->settings().HTTPSUpgradeEnabled()) |
| 41 | , m_accelerated2dCanvasEnabled(page->settings().accelerated2dCanvasEnabled()) |
| 42 | , m_acceleratedCompositedAnimationsEnabled(page->settings().acceleratedCompositedAnimationsEnabled()) |
| 43 | , m_acceleratedCompositingEnabled(page->settings().acceleratedCompositingEnabled()) |
| 44 | , m_acceleratedCompositingForFixedPositionEnabled(page->settings().acceleratedCompositingForFixedPositionEnabled()) |
| 45 | , m_acceleratedDrawingEnabled(page->settings().acceleratedDrawingEnabled()) |
| 46 | , m_acceleratedFiltersEnabled(page->settings().acceleratedFiltersEnabled()) |
| 47 | , m_adClickAttributionEnabled(page->settings().adClickAttributionEnabled()) |
| 48 | , m_aggressiveTileRetentionEnabled(page->settings().aggressiveTileRetentionEnabled()) |
| 49 | , m_allowContentSecurityPolicySourceStarToMatchAnyProtocol(page->settings().allowContentSecurityPolicySourceStarToMatchAnyProtocol()) |
| 50 | , m_allowCrossOriginSubresourcesToAskForCredentials(page->settings().allowCrossOriginSubresourcesToAskForCredentials()) |
| 51 | , m_allowDisplayOfInsecureContent(page->settings().allowDisplayOfInsecureContent()) |
| 52 | , m_allowFileAccessFromFileURLs(page->settings().allowFileAccessFromFileURLs()) |
| 53 | , m_allowMediaContentTypesRequiringHardwareSupportAsFallback(page->settings().allowMediaContentTypesRequiringHardwareSupportAsFallback()) |
| 54 | , m_allowMultiElementImplicitSubmission(page->settings().allowMultiElementImplicitSubmission()) |
| 55 | , m_allowRunningOfInsecureContent(page->settings().allowRunningOfInsecureContent()) |
| 56 | , m_allowSettingAnyXHRHeaderFromFileURLs(page->settings().allowSettingAnyXHRHeaderFromFileURLs()) |
| 57 | , m_allowUniversalAccessFromFileURLs(page->settings().allowUniversalAccessFromFileURLs()) |
| 58 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
| 59 | , m_allowsAirPlayForMediaPlayback(page->settings().allowsAirPlayForMediaPlayback()) |
| 60 | #endif |
| 61 | , m_allowsInlineMediaPlayback(page->settings().allowsInlineMediaPlayback()) |
| 62 | , m_allowsInlineMediaPlaybackAfterFullscreen(page->settings().allowsInlineMediaPlaybackAfterFullscreen()) |
| 63 | , m_allowsPictureInPictureMediaPlayback(page->settings().allowsPictureInPictureMediaPlayback()) |
| 64 | , m_alwaysUseAcceleratedOverflowScroll(page->settings().alwaysUseAcceleratedOverflowScroll()) |
| 65 | , m_animatedImageAsyncDecodingEnabled(page->settings().animatedImageAsyncDecodingEnabled()) |
| 66 | , m_appleMailPaginationQuirkEnabled(page->settings().appleMailPaginationQuirkEnabled()) |
| 67 | #if ENABLE(APPLE_PAY) |
| 68 | , m_applePayCapabilityDisclosureAllowed(page->settings().applePayCapabilityDisclosureAllowed()) |
| 69 | #endif |
| 70 | #if ENABLE(APPLE_PAY) |
| 71 | , m_applePayEnabled(page->settings().applePayEnabled()) |
| 72 | #endif |
| 73 | #if ENABLE(APPLE_PAY_REMOTE_UI) |
| 74 | , m_applePayRemoteUIEnabled(page->settings().applePayRemoteUIEnabled()) |
| 75 | #endif |
| 76 | , m_asyncFrameScrollingEnabled(page->settings().asyncFrameScrollingEnabled()) |
| 77 | , m_asyncOverflowScrollingEnabled(page->settings().asyncOverflowScrollingEnabled()) |
| 78 | , m_asynchronousSpellCheckingEnabled(page->settings().asynchronousSpellCheckingEnabled()) |
| 79 | , m_audioPlaybackRequiresUserGesture(page->settings().audioPlaybackRequiresUserGesture()) |
| 80 | , m_authorAndUserStylesEnabled(page->settings().authorAndUserStylesEnabled()) |
| 81 | , m_autoscrollForDragAndDropEnabled(page->settings().autoscrollForDragAndDropEnabled()) |
| 82 | , m_autostartOriginPlugInSnapshottingEnabled(page->settings().autostartOriginPlugInSnapshottingEnabled()) |
| 83 | , m_backForwardCacheExpirationInterval(page->settings().backForwardCacheExpirationInterval()) |
| 84 | , m_backgroundShouldExtendBeyondPage(page->settings().backgroundShouldExtendBeyondPage()) |
| 85 | , m_backspaceKeyNavigationEnabled(page->settings().backspaceKeyNavigationEnabled()) |
| 86 | , m_beaconAPIEnabled(page->settings().beaconAPIEnabled()) |
| 87 | , m_blockingOfSmallPluginsEnabled(page->settings().blockingOfSmallPluginsEnabled()) |
| 88 | , m_canvasUsesAcceleratedDrawing(page->settings().canvasUsesAcceleratedDrawing()) |
| 89 | , m_caretBrowsingEnabled(page->settings().caretBrowsingEnabled()) |
| 90 | , m_clientCoordinatesRelativeToLayoutViewport(page->settings().clientCoordinatesRelativeToLayoutViewport()) |
| 91 | , m_colorFilterEnabled(page->settings().colorFilterEnabled()) |
| 92 | , m_constantPropertiesEnabled(page->settings().constantPropertiesEnabled()) |
| 93 | , m_contentChangeObserverEnabled(page->settings().contentChangeObserverEnabled()) |
| 94 | , m_contentDispositionAttachmentSandboxEnabled(page->settings().contentDispositionAttachmentSandboxEnabled()) |
| 95 | , m_cookieEnabled(page->settings().cookieEnabled()) |
| 96 | , m_coreMathMLEnabled(page->settings().coreMathMLEnabled()) |
| 97 | , m_crossOriginCheckInGetMatchedCSSRulesDisabled(page->settings().crossOriginCheckInGetMatchedCSSRulesDisabled()) |
| 98 | , m_defaultFixedFontSize(page->settings().defaultFixedFontSize()) |
| 99 | , m_defaultFontSize(page->settings().defaultFontSize()) |
| 100 | , m_defaultTextEncodingName(page->settings().defaultTextEncodingName()) |
| 101 | , m_defaultVideoPosterURL(page->settings().defaultVideoPosterURL()) |
| 102 | , m_deferredCSSParserEnabled(page->settings().deferredCSSParserEnabled()) |
| 103 | , m_delegatesPageScaling(page->settings().delegatesPageScaling()) |
| 104 | , m_developerExtrasEnabled(page->settings().developerExtrasEnabled()) |
| 105 | , m_deviceHeight(page->settings().deviceHeight()) |
| 106 | #if ENABLE(DEVICE_ORIENTATION) |
| 107 | , m_deviceOrientationEventEnabled(page->settings().deviceOrientationEventEnabled()) |
| 108 | #endif |
| 109 | #if ENABLE(DEVICE_ORIENTATION) |
| 110 | , m_deviceOrientationPermissionAPIEnabled(page->settings().deviceOrientationPermissionAPIEnabled()) |
| 111 | #endif |
| 112 | , m_deviceWidth(page->settings().deviceWidth()) |
| 113 | , m_diagnosticLoggingEnabled(page->settings().diagnosticLoggingEnabled()) |
| 114 | , m_disableScreenSizeOverride(page->settings().disableScreenSizeOverride()) |
| 115 | , m_displayListDrawingEnabled(page->settings().displayListDrawingEnabled()) |
| 116 | , m_dnsPrefetchingEnabled(page->settings().dnsPrefetchingEnabled()) |
| 117 | , m_domPasteAccessRequestsEnabled(page->settings().domPasteAccessRequestsEnabled()) |
| 118 | , m_domTimersThrottlingEnabled(page->settings().domTimersThrottlingEnabled()) |
| 119 | , m_downloadableBinaryFontsEnabled(page->settings().downloadableBinaryFontsEnabled()) |
| 120 | , m_editableImagesEnabled(page->settings().editableImagesEnabled()) |
| 121 | , m_enableInheritURIQueryComponent(page->settings().enableInheritURIQueryComponent()) |
| 122 | , m_enforceCSSMIMETypeInNoQuirksMode(page->settings().enforceCSSMIMETypeInNoQuirksMode()) |
| 123 | , m_experimentalNotificationsEnabled(page->settings().experimentalNotificationsEnabled()) |
| 124 | , m_fixedBackgroundsPaintRelativeToDocument(page->settings().fixedBackgroundsPaintRelativeToDocument()) |
| 125 | , m_fixedElementsLayoutRelativeToFrame(page->settings().fixedElementsLayoutRelativeToFrame()) |
| 126 | , m_fontFallbackPrefersPictographs(page->settings().fontFallbackPrefersPictographs()) |
| 127 | , m_forceCompositingMode(page->settings().forceCompositingMode()) |
| 128 | , m_forceFTPDirectoryListings(page->settings().forceFTPDirectoryListings()) |
| 129 | , m_forcePendingWebGLPolicy(page->settings().isForcePendingWebGLPolicy()) |
| 130 | , m_forceSoftwareWebGLRendering(page->settings().forceSoftwareWebGLRendering()) |
| 131 | , m_forceUpdateScrollbarsOnMainThreadForPerformanceTesting(page->settings().forceUpdateScrollbarsOnMainThreadForPerformanceTesting()) |
| 132 | , m_forceWebGLUsesLowPower(page->settings().forceWebGLUsesLowPower()) |
| 133 | , m_ftpDirectoryTemplatePath(page->settings().ftpDirectoryTemplatePath()) |
| 134 | #if ENABLE(FULLSCREEN_API) |
| 135 | , m_fullScreenEnabled(page->settings().fullScreenEnabled()) |
| 136 | #endif |
| 137 | , m_geolocationFloorLevelEnabled(page->settings().geolocationFloorLevelEnabled()) |
| 138 | , m_hiddenPageCSSAnimationSuspensionEnabled(page->settings().hiddenPageCSSAnimationSuspensionEnabled()) |
| 139 | , m_hiddenPageDOMTimerThrottlingAutoIncreases(page->settings().hiddenPageDOMTimerThrottlingAutoIncreases()) |
| 140 | , m_hiddenPageDOMTimerThrottlingEnabled(page->settings().hiddenPageDOMTimerThrottlingEnabled()) |
| 141 | , m_httpEquivEnabled(page->settings().httpEquivEnabled()) |
| 142 | , m_hyperlinkAuditingEnabled(page->settings().hyperlinkAuditingEnabled()) |
| 143 | , m_iceCandidateFilteringEnabled(page->settings().iceCandidateFilteringEnabled()) |
| 144 | #if ENABLE(SERVICE_CONTROLS) |
| 145 | , m_imageControlsEnabled(page->settings().imageControlsEnabled()) |
| 146 | #endif |
| 147 | , m_imageSubsamplingEnabled(page->settings().imageSubsamplingEnabled()) |
| 148 | , m_imagesEnabled(page->settings().areImagesEnabled()) |
| 149 | , m_incompleteImageBorderEnabled(page->settings().incompleteImageBorderEnabled()) |
| 150 | , m_incrementalRenderingSuppressionTimeoutInSeconds(page->settings().incrementalRenderingSuppressionTimeoutInSeconds()) |
| 151 | , m_inlineMediaPlaybackRequiresPlaysInlineAttribute(page->settings().inlineMediaPlaybackRequiresPlaysInlineAttribute()) |
| 152 | , m_inputEventsEnabled(page->settings().inputEventsEnabled()) |
| 153 | , m_interactiveFormValidationEnabled(page->settings().interactiveFormValidationEnabled()) |
| 154 | , m_invisibleAutoplayNotPermitted(page->settings().invisibleAutoplayNotPermitted()) |
| 155 | , m_javaEnabled(page->settings().isJavaEnabled()) |
| 156 | , m_javaEnabledForLocalFiles(page->settings().isJavaEnabledForLocalFiles()) |
| 157 | , m_javaScriptCanAccessClipboard(page->settings().javaScriptCanAccessClipboard()) |
| 158 | , m_javaScriptCanOpenWindowsAutomatically(page->settings().javaScriptCanOpenWindowsAutomatically()) |
| 159 | , m_langAttributeAwareFormControlUIEnabled(page->settings().langAttributeAwareFormControlUIEnabled()) |
| 160 | , m_largeImageAsyncDecodingEnabled(page->settings().largeImageAsyncDecodingEnabled()) |
| 161 | , m_layoutFallbackWidth(page->settings().layoutFallbackWidth()) |
| 162 | , m_layoutViewportHeightExpansionFactor(page->settings().layoutViewportHeightExpansionFactor()) |
| 163 | #if ENABLE(OVERFLOW_SCROLLING_TOUCH) |
| 164 | , m_legacyOverflowScrollingTouchEnabled(page->settings().legacyOverflowScrollingTouchEnabled()) |
| 165 | #endif |
| 166 | , m_linkPreconnectEnabled(page->settings().linkPreconnectEnabled()) |
| 167 | , m_loadDeferringEnabled(page->settings().loadDeferringEnabled()) |
| 168 | , m_loadsImagesAutomatically(page->settings().loadsImagesAutomatically()) |
| 169 | , m_loadsSiteIconsIgnoringImageLoadingSetting(page->settings().loadsSiteIconsIgnoringImageLoadingSetting()) |
| 170 | , m_localFileContentSniffingEnabled(page->settings().localFileContentSniffingEnabled()) |
| 171 | , m_localStorageDatabasePath(page->settings().localStorageDatabasePath()) |
| 172 | , m_localStorageEnabled(page->settings().localStorageEnabled()) |
| 173 | , m_logsPageMessagesToSystemConsoleEnabled(page->settings().logsPageMessagesToSystemConsoleEnabled()) |
| 174 | , m_mainContentUserGestureOverrideEnabled(page->settings().mainContentUserGestureOverrideEnabled()) |
| 175 | , m_maxParseDuration(page->settings().maxParseDuration()) |
| 176 | , m_maximumAccelerated2dCanvasSize(page->settings().maximumAccelerated2dCanvasSize()) |
| 177 | , m_maximumHTMLParserDOMTreeDepth(page->settings().maximumHTMLParserDOMTreeDepth()) |
| 178 | , m_maximumPlugInSnapshotAttempts(page->settings().maximumPlugInSnapshotAttempts()) |
| 179 | #if ENABLE(MEDIA_SOURCE) |
| 180 | , m_maximumSourceBufferSize(page->settings().maximumSourceBufferSize()) |
| 181 | #endif |
| 182 | , m_mediaCapabilitiesEnabled(page->settings().mediaCapabilitiesEnabled()) |
| 183 | , m_mediaCapabilitiesExtensionsEnabled(page->settings().mediaCapabilitiesExtensionsEnabled()) |
| 184 | #if ENABLE(MEDIA_STREAM) |
| 185 | , m_mediaCaptureRequiresSecureConnection(page->settings().mediaCaptureRequiresSecureConnection()) |
| 186 | #endif |
| 187 | , m_mediaControlsScaleWithPageZoom(page->settings().mediaControlsScaleWithPageZoom()) |
| 188 | , m_mediaDataLoadsAutomatically(page->settings().mediaDataLoadsAutomatically()) |
| 189 | #if ENABLE(MEDIA_STREAM) |
| 190 | , m_mediaDeviceIdentifierStorageDirectory(page->settings().mediaDeviceIdentifierStorageDirectory()) |
| 191 | #endif |
| 192 | , m_mediaEnabled(page->settings().mediaEnabled()) |
| 193 | , m_mediaKeysStorageDirectory(page->settings().mediaKeysStorageDirectory()) |
| 194 | , m_mediaPreloadingEnabled(page->settings().mediaPreloadingEnabled()) |
| 195 | #if ENABLE(MEDIA_SOURCE) |
| 196 | , m_mediaSourceEnabled(page->settings().mediaSourceEnabled()) |
| 197 | #endif |
| 198 | , m_mediaTypeOverride(page->settings().mediaTypeOverride()) |
| 199 | , m_mediaUserGestureInheritsFromDocument(page->settings().mediaUserGestureInheritsFromDocument()) |
| 200 | , m_minimumAccelerated2dCanvasSize(page->settings().minimumAccelerated2dCanvasSize()) |
| 201 | , m_minimumFontSize(page->settings().minimumFontSize()) |
| 202 | , m_minimumLogicalFontSize(page->settings().minimumLogicalFontSize()) |
| 203 | #if ENABLE(TEXT_AUTOSIZING) |
| 204 | , m_minimumZoomFontSize(page->settings().minimumZoomFontSize()) |
| 205 | #endif |
| 206 | #if ENABLE(MEDIA_STREAM) |
| 207 | , m_mockCaptureDevicesEnabled(page->settings().mockCaptureDevicesEnabled()) |
| 208 | #endif |
| 209 | , m_needsAdobeFrameReloadingQuirk(page->settings().needsAcrobatFrameReloadingQuirk()) |
| 210 | , m_needsFrameNameFallbackToIdQuirk(page->settings().needsFrameNameFallbackToIdQuirk()) |
| 211 | , m_needsIsLoadingInAPISenseQuirk(page->settings().needsIsLoadingInAPISenseQuirk()) |
| 212 | , m_needsKeyboardEventDisambiguationQuirks(page->settings().needsKeyboardEventDisambiguationQuirks()) |
| 213 | , m_needsSiteSpecificQuirks(page->settings().needsSiteSpecificQuirks()) |
| 214 | , m_needsStorageAccessFromFileURLsQuirk(page->settings().needsStorageAccessFromFileURLsQuirk()) |
| 215 | , m_notificationsEnabled(page->settings().notificationsEnabled()) |
| 216 | , m_offlineWebApplicationCacheEnabled(page->settings().offlineWebApplicationCacheEnabled()) |
| 217 | , m_pageCacheSupportsPlugins(page->settings().pageCacheSupportsPlugins()) |
| 218 | , m_paginateDuringLayoutEnabled(page->settings().paginateDuringLayoutEnabled()) |
| 219 | , m_passiveTouchListenersAsDefaultOnDocument(page->settings().passiveTouchListenersAsDefaultOnDocument()) |
| 220 | , m_passwordEchoDurationInSeconds(page->settings().passwordEchoDurationInSeconds()) |
| 221 | , m_passwordEchoEnabled(page->settings().passwordEchoEnabled()) |
| 222 | #if ENABLE(PAYMENT_REQUEST) |
| 223 | , m_paymentRequestEnabled(page->settings().paymentRequestEnabled()) |
| 224 | #endif |
| 225 | , m_plugInSnapshottingEnabled(page->settings().plugInSnapshottingEnabled()) |
| 226 | , m_pluginsEnabled(page->settings().arePluginsEnabled()) |
| 227 | , m_preferMIMETypeForImages(page->settings().preferMIMETypeForImages()) |
| 228 | , m_preventKeyboardDOMEventDispatch(page->settings().preventKeyboardDOMEventDispatch()) |
| 229 | , m_primaryPlugInSnapshotDetectionEnabled(page->settings().primaryPlugInSnapshotDetectionEnabled()) |
| 230 | , m_punchOutWhiteBackgroundsInDarkMode(page->settings().punchOutWhiteBackgroundsInDarkMode()) |
| 231 | , m_quickTimePluginReplacementEnabled(page->settings().quickTimePluginReplacementEnabled()) |
| 232 | , m_repaintOutsideLayoutEnabled(page->settings().repaintOutsideLayoutEnabled()) |
| 233 | , m_requestAnimationFrameEnabled(page->settings().requestAnimationFrameEnabled()) |
| 234 | , m_requiresUserGestureToLoadVideo(page->settings().requiresUserGestureToLoadVideo()) |
| 235 | #if ENABLE(RESIZE_OBSERVER) |
| 236 | , m_resizeObserverEnabled(page->settings().resizeObserverEnabled()) |
| 237 | #endif |
| 238 | , m_resourceUsageOverlayVisible(page->settings().resourceUsageOverlayVisible()) |
| 239 | #if ENABLE(RUBBER_BANDING) |
| 240 | , m_rubberBandingForSubScrollableRegionsEnabled(page->settings().rubberBandingForSubScrollableRegionsEnabled()) |
| 241 | #endif |
| 242 | , m_scriptEnabled(page->settings().isScriptEnabled()) |
| 243 | , m_scriptMarkupEnabled(page->settings().scriptMarkupEnabled()) |
| 244 | #if ENABLE(SMOOTH_SCROLLING) |
| 245 | , m_scrollAnimatorEnabled(page->settings().scrollAnimatorEnabled()) |
| 246 | #endif |
| 247 | , m_scrollingCoordinatorEnabled(page->settings().scrollingCoordinatorEnabled()) |
| 248 | , m_scrollingPerformanceLoggingEnabled(page->settings().scrollingPerformanceLoggingEnabled()) |
| 249 | , m_scrollingTreeIncludesFrames(page->settings().scrollingTreeIncludesFrames()) |
| 250 | , m_selectTrailingWhitespaceEnabled(page->settings().selectTrailingWhitespaceEnabled()) |
| 251 | , m_selectionAcrossShadowBoundariesEnabled(page->settings().selectionAcrossShadowBoundariesEnabled()) |
| 252 | , m_selectionPaintingWithoutSelectionGapsEnabled(page->settings().selectionPaintingWithoutSelectionGapsEnabled()) |
| 253 | #if ENABLE(SERVICE_CONTROLS) |
| 254 | , m_serviceControlsEnabled(page->settings().serviceControlsEnabled()) |
| 255 | #endif |
| 256 | , m_sessionStorageQuota(page->settings().sessionStorageQuota()) |
| 257 | , m_shouldAllowUserInstalledFonts(page->settings().shouldAllowUserInstalledFonts()) |
| 258 | , m_shouldConvertInvalidURLsToBlank(page->settings().shouldConvertInvalidURLsToBlank()) |
| 259 | , m_shouldConvertPositionStyleOnCopy(page->settings().shouldConvertPositionStyleOnCopy()) |
| 260 | , m_shouldDecidePolicyBeforeLoadingQuickLookPreview(page->settings().shouldDecidePolicyBeforeLoadingQuickLookPreview()) |
| 261 | , m_shouldDeferAsynchronousScriptsUntilAfterDocumentLoad(page->settings().shouldDeferAsynchronousScriptsUntilAfterDocumentLoad()) |
| 262 | , m_shouldDispatchSyntheticMouseEventsWhenModifyingSelection(page->settings().shouldDispatchSyntheticMouseEventsWhenModifyingSelection()) |
| 263 | #if ENABLE(VIDEO_TRACK) |
| 264 | , m_shouldDisplayCaptions(page->settings().shouldDisplayCaptions()) |
| 265 | #endif |
| 266 | #if ENABLE(VIDEO_TRACK) |
| 267 | , m_shouldDisplaySubtitles(page->settings().shouldDisplaySubtitles()) |
| 268 | #endif |
| 269 | #if ENABLE(VIDEO_TRACK) |
| 270 | , m_shouldDisplayTextDescriptions(page->settings().shouldDisplayTextDescriptions()) |
| 271 | #endif |
| 272 | #if ENABLE(TEXT_AUTOSIZING) |
| 273 | , m_shouldEnableTextAutosizingBoost(page->settings().shouldEnableTextAutosizingBoost()) |
| 274 | #endif |
| 275 | , m_shouldIgnoreFontLoadCompletions(page->settings().shouldIgnoreFontLoadCompletions()) |
| 276 | , m_shouldIgnoreMetaViewport(page->settings().shouldIgnoreMetaViewport()) |
| 277 | , m_shouldInjectUserScriptsInInitialEmptyDocument(page->settings().shouldInjectUserScriptsInInitialEmptyDocument()) |
| 278 | , m_shouldPrintBackgrounds(page->settings().shouldPrintBackgrounds()) |
| 279 | , m_shouldRespectImageOrientation(page->settings().shouldRespectImageOrientation()) |
| 280 | , m_shouldSuppressTextInputFromEditingDuringProvisionalNavigation(page->settings().shouldSuppressTextInputFromEditingDuringProvisionalNavigation()) |
| 281 | , m_showDebugBorders(page->settings().showDebugBorders()) |
| 282 | , m_showRepaintCounter(page->settings().showRepaintCounter()) |
| 283 | , m_showTiledScrollingIndicator(page->settings().showTiledScrollingIndicator()) |
| 284 | , m_showsToolTipOverTruncatedText(page->settings().showsToolTipOverTruncatedText()) |
| 285 | , m_showsURLsInToolTips(page->settings().showsURLsInToolTips()) |
| 286 | , m_shrinksStandaloneImagesToFit(page->settings().shrinksStandaloneImagesToFit()) |
| 287 | , m_simpleLineLayoutDebugBordersEnabled(page->settings().simpleLineLayoutDebugBordersEnabled()) |
| 288 | , m_simpleLineLayoutEnabled(page->settings().simpleLineLayoutEnabled()) |
| 289 | , m_smartInsertDeleteEnabled(page->settings().smartInsertDeleteEnabled()) |
| 290 | , m_snapshotAllPlugIns(page->settings().snapshotAllPlugIns()) |
| 291 | #if ENABLE(MEDIA_SOURCE) |
| 292 | , m_sourceBufferChangeTypeEnabled(page->settings().sourceBufferChangeTypeEnabled()) |
| 293 | #endif |
| 294 | , m_spatialNavigationEnabled(page->settings().spatialNavigationEnabled()) |
| 295 | , m_springTimingFunctionEnabled(page->settings().springTimingFunctionEnabled()) |
| 296 | , m_standalone(page->settings().standalone()) |
| 297 | , m_storageAccessAPIEnabled(page->settings().storageAccessAPIEnabled()) |
| 298 | , m_subpixelAntialiasedLayerTextEnabled(page->settings().subpixelAntialiasedLayerTextEnabled()) |
| 299 | , m_subpixelCSSOMElementMetricsEnabled(page->settings().subpixelCSSOMElementMetricsEnabled()) |
| 300 | , m_subresourceIntegrityEnabled(page->settings().subresourceIntegrityEnabled()) |
| 301 | , m_suppressesIncrementalRendering(page->settings().suppressesIncrementalRendering()) |
| 302 | , m_telephoneNumberParsingEnabled(page->settings().telephoneNumberParsingEnabled()) |
| 303 | , m_temporaryTileCohortRetentionEnabled(page->settings().temporaryTileCohortRetentionEnabled()) |
| 304 | , m_textAreasAreResizable(page->settings().textAreasAreResizable()) |
| 305 | #if ENABLE(TEXT_AUTOSIZING) |
| 306 | , m_textAutosizingEnabled(page->settings().textAutosizingEnabled()) |
| 307 | #endif |
| 308 | #if ENABLE(TEXT_AUTOSIZING) |
| 309 | , m_textAutosizingUsesIdempotentMode(page->settings().textAutosizingUsesIdempotentMode()) |
| 310 | #endif |
| 311 | , m_thirdPartyIframeRedirectBlockingEnabled(page->settings().thirdPartyIframeRedirectBlockingEnabled()) |
| 312 | #if ENABLE(TOUCH_EVENTS) |
| 313 | , m_touchEventEmulationEnabled(page->settings().isTouchEventEmulationEnabled()) |
| 314 | #endif |
| 315 | , m_treatIPAddressAsDomain(page->settings().treatIPAddressAsDomain()) |
| 316 | , m_treatsAnyTextCSSLinkAsStylesheet(page->settings().treatsAnyTextCSSLinkAsStylesheet()) |
| 317 | , m_unhandledPromiseRejectionToConsoleEnabled(page->settings().unhandledPromiseRejectionToConsoleEnabled()) |
| 318 | , m_unifiedTextCheckerEnabled(page->settings().unifiedTextCheckerEnabled()) |
| 319 | , m_useAnonymousModeWhenFetchingMaskImages(page->settings().useAnonymousModeWhenFetchingMaskImages()) |
| 320 | , m_useGiantTiles(page->settings().useGiantTiles()) |
| 321 | , m_useImageDocumentForSubframePDF(page->settings().useImageDocumentForSubframePDF()) |
| 322 | , m_useLegacyBackgroundSizeShorthandBehavior(page->settings().useLegacyBackgroundSizeShorthandBehavior()) |
| 323 | , m_useLegacyTextAlignPositionedElementBehavior(page->settings().useLegacyTextAlignPositionedElementBehavior()) |
| 324 | , m_usePreHTML5ParserQuirks(page->settings().usePreHTML5ParserQuirks()) |
| 325 | #if ENABLE(DASHBOARD_SUPPORT) |
| 326 | , m_usesDashboardBackwardCompatibilityMode(page->settings().usesDashboardBackwardCompatibilityMode()) |
| 327 | #endif |
| 328 | , m_usesEncodingDetector(page->settings().usesEncodingDetector()) |
| 329 | , m_usesPageCache(page->settings().usesPageCache()) |
| 330 | , m_validationMessageTimerMagnification(page->settings().validationMessageTimerMagnification()) |
| 331 | , m_videoPlaybackRequiresUserGesture(page->settings().videoPlaybackRequiresUserGesture()) |
| 332 | #if ENABLE(VIDEO) |
| 333 | , m_videoQualityIncludesDisplayCompositingEnabled(page->settings().videoQualityIncludesDisplayCompositingEnabled()) |
| 334 | #endif |
| 335 | , m_viewportFitEnabled(page->settings().viewportFitEnabled()) |
| 336 | , m_visualViewportAPIEnabled(page->settings().visualViewportAPIEnabled()) |
| 337 | , m_visualViewportEnabled(page->settings().visualViewportEnabled()) |
| 338 | , m_wantsBalancedSetDefersLoadingBehavior(page->settings().wantsBalancedSetDefersLoadingBehavior()) |
| 339 | #if ENABLE(WEB_ARCHIVE) |
| 340 | , m_webArchiveDebugModeEnabled(page->settings().webArchiveDebugModeEnabled()) |
| 341 | #endif |
| 342 | , m_webAudioEnabled(page->settings().webAudioEnabled()) |
| 343 | , m_webGLEnabled(page->settings().webGLEnabled()) |
| 344 | , m_webGLErrorsToConsoleEnabled(page->settings().webGLErrorsToConsoleEnabled()) |
| 345 | , m_webSecurityEnabled(page->settings().webSecurityEnabled()) |
| 346 | , m_webkitImageReadyEventEnabled(page->settings().webkitImageReadyEventEnabled()) |
| 347 | , m_windowFocusRestricted(page->settings().windowFocusRestricted()) |
| 348 | , m_xssAuditorEnabled(page->settings().xssAuditorEnabled()) |
| 349 | , m_youTubeFlashPluginReplacementEnabled(page->settings().youTubeFlashPluginReplacementEnabled()) |
| 350 | { |
| 351 | } |
| 352 | |
| 353 | InternalSettingsGenerated::~InternalSettingsGenerated() |
| 354 | { |
| 355 | } |
| 356 | |
| 357 | void InternalSettingsGenerated::resetToConsistentState() |
| 358 | { |
| 359 | m_page->settings().setCSSOMViewScrollingAPIEnabled(m_CSSOMViewScrollingAPIEnabled); |
| 360 | m_page->settings().setDOMPasteAllowed(m_DOMPasteAllowed); |
| 361 | m_page->settings().setHTTPSUpgradeEnabled(m_HTTPSUpgradeEnabled); |
| 362 | m_page->settings().setAccelerated2dCanvasEnabled(m_accelerated2dCanvasEnabled); |
| 363 | m_page->settings().setAcceleratedCompositedAnimationsEnabled(m_acceleratedCompositedAnimationsEnabled); |
| 364 | m_page->settings().setAcceleratedCompositingEnabled(m_acceleratedCompositingEnabled); |
| 365 | m_page->settings().setAcceleratedCompositingForFixedPositionEnabled(m_acceleratedCompositingForFixedPositionEnabled); |
| 366 | m_page->settings().setAcceleratedDrawingEnabled(m_acceleratedDrawingEnabled); |
| 367 | m_page->settings().setAcceleratedFiltersEnabled(m_acceleratedFiltersEnabled); |
| 368 | m_page->settings().setAdClickAttributionEnabled(m_adClickAttributionEnabled); |
| 369 | m_page->settings().setAggressiveTileRetentionEnabled(m_aggressiveTileRetentionEnabled); |
| 370 | m_page->settings().setAllowContentSecurityPolicySourceStarToMatchAnyProtocol(m_allowContentSecurityPolicySourceStarToMatchAnyProtocol); |
| 371 | m_page->settings().setAllowCrossOriginSubresourcesToAskForCredentials(m_allowCrossOriginSubresourcesToAskForCredentials); |
| 372 | m_page->settings().setAllowDisplayOfInsecureContent(m_allowDisplayOfInsecureContent); |
| 373 | m_page->settings().setAllowFileAccessFromFileURLs(m_allowFileAccessFromFileURLs); |
| 374 | m_page->settings().setAllowMediaContentTypesRequiringHardwareSupportAsFallback(m_allowMediaContentTypesRequiringHardwareSupportAsFallback); |
| 375 | m_page->settings().setAllowMultiElementImplicitSubmission(m_allowMultiElementImplicitSubmission); |
| 376 | m_page->settings().setAllowRunningOfInsecureContent(m_allowRunningOfInsecureContent); |
| 377 | m_page->settings().setAllowSettingAnyXHRHeaderFromFileURLs(m_allowSettingAnyXHRHeaderFromFileURLs); |
| 378 | m_page->settings().setAllowUniversalAccessFromFileURLs(m_allowUniversalAccessFromFileURLs); |
| 379 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
| 380 | m_page->settings().setAllowsAirPlayForMediaPlayback(m_allowsAirPlayForMediaPlayback); |
| 381 | #endif |
| 382 | m_page->settings().setAllowsInlineMediaPlayback(m_allowsInlineMediaPlayback); |
| 383 | m_page->settings().setAllowsInlineMediaPlaybackAfterFullscreen(m_allowsInlineMediaPlaybackAfterFullscreen); |
| 384 | m_page->settings().setAllowsPictureInPictureMediaPlayback(m_allowsPictureInPictureMediaPlayback); |
| 385 | m_page->settings().setAlwaysUseAcceleratedOverflowScroll(m_alwaysUseAcceleratedOverflowScroll); |
| 386 | m_page->settings().setAnimatedImageAsyncDecodingEnabled(m_animatedImageAsyncDecodingEnabled); |
| 387 | m_page->settings().setAppleMailPaginationQuirkEnabled(m_appleMailPaginationQuirkEnabled); |
| 388 | #if ENABLE(APPLE_PAY) |
| 389 | m_page->settings().setApplePayCapabilityDisclosureAllowed(m_applePayCapabilityDisclosureAllowed); |
| 390 | #endif |
| 391 | #if ENABLE(APPLE_PAY) |
| 392 | m_page->settings().setApplePayEnabled(m_applePayEnabled); |
| 393 | #endif |
| 394 | #if ENABLE(APPLE_PAY_REMOTE_UI) |
| 395 | m_page->settings().setApplePayRemoteUIEnabled(m_applePayRemoteUIEnabled); |
| 396 | #endif |
| 397 | m_page->settings().setAsyncFrameScrollingEnabled(m_asyncFrameScrollingEnabled); |
| 398 | m_page->settings().setAsyncOverflowScrollingEnabled(m_asyncOverflowScrollingEnabled); |
| 399 | m_page->settings().setAsynchronousSpellCheckingEnabled(m_asynchronousSpellCheckingEnabled); |
| 400 | m_page->settings().setAudioPlaybackRequiresUserGesture(m_audioPlaybackRequiresUserGesture); |
| 401 | m_page->settings().setAuthorAndUserStylesEnabled(m_authorAndUserStylesEnabled); |
| 402 | m_page->settings().setAutoscrollForDragAndDropEnabled(m_autoscrollForDragAndDropEnabled); |
| 403 | m_page->settings().setAutostartOriginPlugInSnapshottingEnabled(m_autostartOriginPlugInSnapshottingEnabled); |
| 404 | m_page->settings().setBackForwardCacheExpirationInterval(m_backForwardCacheExpirationInterval); |
| 405 | m_page->settings().setBackgroundShouldExtendBeyondPage(m_backgroundShouldExtendBeyondPage); |
| 406 | m_page->settings().setBackspaceKeyNavigationEnabled(m_backspaceKeyNavigationEnabled); |
| 407 | m_page->settings().setBeaconAPIEnabled(m_beaconAPIEnabled); |
| 408 | m_page->settings().setBlockingOfSmallPluginsEnabled(m_blockingOfSmallPluginsEnabled); |
| 409 | m_page->settings().setCanvasUsesAcceleratedDrawing(m_canvasUsesAcceleratedDrawing); |
| 410 | m_page->settings().setCaretBrowsingEnabled(m_caretBrowsingEnabled); |
| 411 | m_page->settings().setClientCoordinatesRelativeToLayoutViewport(m_clientCoordinatesRelativeToLayoutViewport); |
| 412 | m_page->settings().setColorFilterEnabled(m_colorFilterEnabled); |
| 413 | m_page->settings().setConstantPropertiesEnabled(m_constantPropertiesEnabled); |
| 414 | m_page->settings().setContentChangeObserverEnabled(m_contentChangeObserverEnabled); |
| 415 | m_page->settings().setContentDispositionAttachmentSandboxEnabled(m_contentDispositionAttachmentSandboxEnabled); |
| 416 | m_page->settings().setCookieEnabled(m_cookieEnabled); |
| 417 | m_page->settings().setCoreMathMLEnabled(m_coreMathMLEnabled); |
| 418 | m_page->settings().setCrossOriginCheckInGetMatchedCSSRulesDisabled(m_crossOriginCheckInGetMatchedCSSRulesDisabled); |
| 419 | m_page->settings().setDefaultFixedFontSize(m_defaultFixedFontSize); |
| 420 | m_page->settings().setDefaultFontSize(m_defaultFontSize); |
| 421 | m_page->settings().setDefaultTextEncodingName(m_defaultTextEncodingName); |
| 422 | m_page->settings().setDefaultVideoPosterURL(m_defaultVideoPosterURL); |
| 423 | m_page->settings().setDeferredCSSParserEnabled(m_deferredCSSParserEnabled); |
| 424 | m_page->settings().setDelegatesPageScaling(m_delegatesPageScaling); |
| 425 | m_page->settings().setDeveloperExtrasEnabled(m_developerExtrasEnabled); |
| 426 | m_page->settings().setDeviceHeight(m_deviceHeight); |
| 427 | #if ENABLE(DEVICE_ORIENTATION) |
| 428 | m_page->settings().setDeviceOrientationEventEnabled(m_deviceOrientationEventEnabled); |
| 429 | #endif |
| 430 | #if ENABLE(DEVICE_ORIENTATION) |
| 431 | m_page->settings().setDeviceOrientationPermissionAPIEnabled(m_deviceOrientationPermissionAPIEnabled); |
| 432 | #endif |
| 433 | m_page->settings().setDeviceWidth(m_deviceWidth); |
| 434 | m_page->settings().setDiagnosticLoggingEnabled(m_diagnosticLoggingEnabled); |
| 435 | m_page->settings().setDisableScreenSizeOverride(m_disableScreenSizeOverride); |
| 436 | m_page->settings().setDisplayListDrawingEnabled(m_displayListDrawingEnabled); |
| 437 | m_page->settings().setDNSPrefetchingEnabled(m_dnsPrefetchingEnabled); |
| 438 | m_page->settings().setDOMPasteAccessRequestsEnabled(m_domPasteAccessRequestsEnabled); |
| 439 | m_page->settings().setDOMTimersThrottlingEnabled(m_domTimersThrottlingEnabled); |
| 440 | m_page->settings().setDownloadableBinaryFontsEnabled(m_downloadableBinaryFontsEnabled); |
| 441 | m_page->settings().setEditableImagesEnabled(m_editableImagesEnabled); |
| 442 | m_page->settings().setEnableInheritURIQueryComponent(m_enableInheritURIQueryComponent); |
| 443 | m_page->settings().setEnforceCSSMIMETypeInNoQuirksMode(m_enforceCSSMIMETypeInNoQuirksMode); |
| 444 | m_page->settings().setExperimentalNotificationsEnabled(m_experimentalNotificationsEnabled); |
| 445 | m_page->settings().setFixedBackgroundsPaintRelativeToDocument(m_fixedBackgroundsPaintRelativeToDocument); |
| 446 | m_page->settings().setFixedElementsLayoutRelativeToFrame(m_fixedElementsLayoutRelativeToFrame); |
| 447 | m_page->settings().setFontFallbackPrefersPictographs(m_fontFallbackPrefersPictographs); |
| 448 | m_page->settings().setForceCompositingMode(m_forceCompositingMode); |
| 449 | m_page->settings().setForceFTPDirectoryListings(m_forceFTPDirectoryListings); |
| 450 | m_page->settings().setForcePendingWebGLPolicy(m_forcePendingWebGLPolicy); |
| 451 | m_page->settings().setForceSoftwareWebGLRendering(m_forceSoftwareWebGLRendering); |
| 452 | m_page->settings().setForceUpdateScrollbarsOnMainThreadForPerformanceTesting(m_forceUpdateScrollbarsOnMainThreadForPerformanceTesting); |
| 453 | m_page->settings().setForceWebGLUsesLowPower(m_forceWebGLUsesLowPower); |
| 454 | m_page->settings().setFTPDirectoryTemplatePath(m_ftpDirectoryTemplatePath); |
| 455 | #if ENABLE(FULLSCREEN_API) |
| 456 | m_page->settings().setFullScreenEnabled(m_fullScreenEnabled); |
| 457 | #endif |
| 458 | m_page->settings().setGeolocationFloorLevelEnabled(m_geolocationFloorLevelEnabled); |
| 459 | m_page->settings().setHiddenPageCSSAnimationSuspensionEnabled(m_hiddenPageCSSAnimationSuspensionEnabled); |
| 460 | m_page->settings().setHiddenPageDOMTimerThrottlingAutoIncreases(m_hiddenPageDOMTimerThrottlingAutoIncreases); |
| 461 | m_page->settings().setHiddenPageDOMTimerThrottlingEnabled(m_hiddenPageDOMTimerThrottlingEnabled); |
| 462 | m_page->settings().setHttpEquivEnabled(m_httpEquivEnabled); |
| 463 | m_page->settings().setHyperlinkAuditingEnabled(m_hyperlinkAuditingEnabled); |
| 464 | m_page->settings().setICECandidateFilteringEnabled(m_iceCandidateFilteringEnabled); |
| 465 | #if ENABLE(SERVICE_CONTROLS) |
| 466 | m_page->settings().setImageControlsEnabled(m_imageControlsEnabled); |
| 467 | #endif |
| 468 | m_page->settings().setImageSubsamplingEnabled(m_imageSubsamplingEnabled); |
| 469 | m_page->settings().setImagesEnabled(m_imagesEnabled); |
| 470 | m_page->settings().setIncompleteImageBorderEnabled(m_incompleteImageBorderEnabled); |
| 471 | m_page->settings().setIncrementalRenderingSuppressionTimeoutInSeconds(m_incrementalRenderingSuppressionTimeoutInSeconds); |
| 472 | m_page->settings().setInlineMediaPlaybackRequiresPlaysInlineAttribute(m_inlineMediaPlaybackRequiresPlaysInlineAttribute); |
| 473 | m_page->settings().setInputEventsEnabled(m_inputEventsEnabled); |
| 474 | m_page->settings().setInteractiveFormValidationEnabled(m_interactiveFormValidationEnabled); |
| 475 | m_page->settings().setInvisibleAutoplayNotPermitted(m_invisibleAutoplayNotPermitted); |
| 476 | m_page->settings().setJavaEnabled(m_javaEnabled); |
| 477 | m_page->settings().setJavaEnabledForLocalFiles(m_javaEnabledForLocalFiles); |
| 478 | m_page->settings().setJavaScriptCanAccessClipboard(m_javaScriptCanAccessClipboard); |
| 479 | m_page->settings().setJavaScriptCanOpenWindowsAutomatically(m_javaScriptCanOpenWindowsAutomatically); |
| 480 | m_page->settings().setLangAttributeAwareFormControlUIEnabled(m_langAttributeAwareFormControlUIEnabled); |
| 481 | m_page->settings().setLargeImageAsyncDecodingEnabled(m_largeImageAsyncDecodingEnabled); |
| 482 | m_page->settings().setLayoutFallbackWidth(m_layoutFallbackWidth); |
| 483 | m_page->settings().setLayoutViewportHeightExpansionFactor(m_layoutViewportHeightExpansionFactor); |
| 484 | #if ENABLE(OVERFLOW_SCROLLING_TOUCH) |
| 485 | m_page->settings().setLegacyOverflowScrollingTouchEnabled(m_legacyOverflowScrollingTouchEnabled); |
| 486 | #endif |
| 487 | m_page->settings().setLinkPreconnectEnabled(m_linkPreconnectEnabled); |
| 488 | m_page->settings().setLoadDeferringEnabled(m_loadDeferringEnabled); |
| 489 | m_page->settings().setLoadsImagesAutomatically(m_loadsImagesAutomatically); |
| 490 | m_page->settings().setLoadsSiteIconsIgnoringImageLoadingSetting(m_loadsSiteIconsIgnoringImageLoadingSetting); |
| 491 | m_page->settings().setLocalFileContentSniffingEnabled(m_localFileContentSniffingEnabled); |
| 492 | m_page->settings().setLocalStorageDatabasePath(m_localStorageDatabasePath); |
| 493 | m_page->settings().setLocalStorageEnabled(m_localStorageEnabled); |
| 494 | m_page->settings().setLogsPageMessagesToSystemConsoleEnabled(m_logsPageMessagesToSystemConsoleEnabled); |
| 495 | m_page->settings().setMainContentUserGestureOverrideEnabled(m_mainContentUserGestureOverrideEnabled); |
| 496 | m_page->settings().setMaxParseDuration(m_maxParseDuration); |
| 497 | m_page->settings().setMaximumAccelerated2dCanvasSize(m_maximumAccelerated2dCanvasSize); |
| 498 | m_page->settings().setMaximumHTMLParserDOMTreeDepth(m_maximumHTMLParserDOMTreeDepth); |
| 499 | m_page->settings().setMaximumPlugInSnapshotAttempts(m_maximumPlugInSnapshotAttempts); |
| 500 | #if ENABLE(MEDIA_SOURCE) |
| 501 | m_page->settings().setMaximumSourceBufferSize(m_maximumSourceBufferSize); |
| 502 | #endif |
| 503 | m_page->settings().setMediaCapabilitiesEnabled(m_mediaCapabilitiesEnabled); |
| 504 | m_page->settings().setMediaCapabilitiesExtensionsEnabled(m_mediaCapabilitiesExtensionsEnabled); |
| 505 | #if ENABLE(MEDIA_STREAM) |
| 506 | m_page->settings().setMediaCaptureRequiresSecureConnection(m_mediaCaptureRequiresSecureConnection); |
| 507 | #endif |
| 508 | m_page->settings().setMediaControlsScaleWithPageZoom(m_mediaControlsScaleWithPageZoom); |
| 509 | m_page->settings().setMediaDataLoadsAutomatically(m_mediaDataLoadsAutomatically); |
| 510 | #if ENABLE(MEDIA_STREAM) |
| 511 | m_page->settings().setMediaDeviceIdentifierStorageDirectory(m_mediaDeviceIdentifierStorageDirectory); |
| 512 | #endif |
| 513 | m_page->settings().setMediaEnabled(m_mediaEnabled); |
| 514 | m_page->settings().setMediaKeysStorageDirectory(m_mediaKeysStorageDirectory); |
| 515 | m_page->settings().setMediaPreloadingEnabled(m_mediaPreloadingEnabled); |
| 516 | #if ENABLE(MEDIA_SOURCE) |
| 517 | m_page->settings().setMediaSourceEnabled(m_mediaSourceEnabled); |
| 518 | #endif |
| 519 | m_page->settings().setMediaTypeOverride(m_mediaTypeOverride); |
| 520 | m_page->settings().setMediaUserGestureInheritsFromDocument(m_mediaUserGestureInheritsFromDocument); |
| 521 | m_page->settings().setMinimumAccelerated2dCanvasSize(m_minimumAccelerated2dCanvasSize); |
| 522 | m_page->settings().setMinimumFontSize(m_minimumFontSize); |
| 523 | m_page->settings().setMinimumLogicalFontSize(m_minimumLogicalFontSize); |
| 524 | #if ENABLE(TEXT_AUTOSIZING) |
| 525 | m_page->settings().setMinimumZoomFontSize(m_minimumZoomFontSize); |
| 526 | #endif |
| 527 | #if ENABLE(MEDIA_STREAM) |
| 528 | m_page->settings().setMockCaptureDevicesEnabled(m_mockCaptureDevicesEnabled); |
| 529 | #endif |
| 530 | m_page->settings().setNeedsAdobeFrameReloadingQuirk(m_needsAdobeFrameReloadingQuirk); |
| 531 | m_page->settings().setNeedsFrameNameFallbackToIdQuirk(m_needsFrameNameFallbackToIdQuirk); |
| 532 | m_page->settings().setNeedsIsLoadingInAPISenseQuirk(m_needsIsLoadingInAPISenseQuirk); |
| 533 | m_page->settings().setNeedsKeyboardEventDisambiguationQuirks(m_needsKeyboardEventDisambiguationQuirks); |
| 534 | m_page->settings().setNeedsSiteSpecificQuirks(m_needsSiteSpecificQuirks); |
| 535 | m_page->settings().setNeedsStorageAccessFromFileURLsQuirk(m_needsStorageAccessFromFileURLsQuirk); |
| 536 | m_page->settings().setNotificationsEnabled(m_notificationsEnabled); |
| 537 | m_page->settings().setOfflineWebApplicationCacheEnabled(m_offlineWebApplicationCacheEnabled); |
| 538 | m_page->settings().setPageCacheSupportsPlugins(m_pageCacheSupportsPlugins); |
| 539 | m_page->settings().setPaginateDuringLayoutEnabled(m_paginateDuringLayoutEnabled); |
| 540 | m_page->settings().setPassiveTouchListenersAsDefaultOnDocument(m_passiveTouchListenersAsDefaultOnDocument); |
| 541 | m_page->settings().setPasswordEchoDurationInSeconds(m_passwordEchoDurationInSeconds); |
| 542 | m_page->settings().setPasswordEchoEnabled(m_passwordEchoEnabled); |
| 543 | #if ENABLE(PAYMENT_REQUEST) |
| 544 | m_page->settings().setPaymentRequestEnabled(m_paymentRequestEnabled); |
| 545 | #endif |
| 546 | m_page->settings().setPlugInSnapshottingEnabled(m_plugInSnapshottingEnabled); |
| 547 | m_page->settings().setPluginsEnabled(m_pluginsEnabled); |
| 548 | m_page->settings().setPreferMIMETypeForImages(m_preferMIMETypeForImages); |
| 549 | m_page->settings().setPreventKeyboardDOMEventDispatch(m_preventKeyboardDOMEventDispatch); |
| 550 | m_page->settings().setPrimaryPlugInSnapshotDetectionEnabled(m_primaryPlugInSnapshotDetectionEnabled); |
| 551 | m_page->settings().setPunchOutWhiteBackgroundsInDarkMode(m_punchOutWhiteBackgroundsInDarkMode); |
| 552 | m_page->settings().setQuickTimePluginReplacementEnabled(m_quickTimePluginReplacementEnabled); |
| 553 | m_page->settings().setRepaintOutsideLayoutEnabled(m_repaintOutsideLayoutEnabled); |
| 554 | m_page->settings().setRequestAnimationFrameEnabled(m_requestAnimationFrameEnabled); |
| 555 | m_page->settings().setRequiresUserGestureToLoadVideo(m_requiresUserGestureToLoadVideo); |
| 556 | #if ENABLE(RESIZE_OBSERVER) |
| 557 | m_page->settings().setResizeObserverEnabled(m_resizeObserverEnabled); |
| 558 | #endif |
| 559 | m_page->settings().setResourceUsageOverlayVisible(m_resourceUsageOverlayVisible); |
| 560 | #if ENABLE(RUBBER_BANDING) |
| 561 | m_page->settings().setRubberBandingForSubScrollableRegionsEnabled(m_rubberBandingForSubScrollableRegionsEnabled); |
| 562 | #endif |
| 563 | m_page->settings().setScriptEnabled(m_scriptEnabled); |
| 564 | m_page->settings().setScriptMarkupEnabled(m_scriptMarkupEnabled); |
| 565 | #if ENABLE(SMOOTH_SCROLLING) |
| 566 | m_page->settings().setScrollAnimatorEnabled(m_scrollAnimatorEnabled); |
| 567 | #endif |
| 568 | m_page->settings().setScrollingCoordinatorEnabled(m_scrollingCoordinatorEnabled); |
| 569 | m_page->settings().setScrollingPerformanceLoggingEnabled(m_scrollingPerformanceLoggingEnabled); |
| 570 | m_page->settings().setScrollingTreeIncludesFrames(m_scrollingTreeIncludesFrames); |
| 571 | m_page->settings().setSelectTrailingWhitespaceEnabled(m_selectTrailingWhitespaceEnabled); |
| 572 | m_page->settings().setSelectionAcrossShadowBoundariesEnabled(m_selectionAcrossShadowBoundariesEnabled); |
| 573 | m_page->settings().setSelectionPaintingWithoutSelectionGapsEnabled(m_selectionPaintingWithoutSelectionGapsEnabled); |
| 574 | #if ENABLE(SERVICE_CONTROLS) |
| 575 | m_page->settings().setServiceControlsEnabled(m_serviceControlsEnabled); |
| 576 | #endif |
| 577 | m_page->settings().setSessionStorageQuota(m_sessionStorageQuota); |
| 578 | m_page->settings().setShouldAllowUserInstalledFonts(m_shouldAllowUserInstalledFonts); |
| 579 | m_page->settings().setShouldConvertInvalidURLsToBlank(m_shouldConvertInvalidURLsToBlank); |
| 580 | m_page->settings().setShouldConvertPositionStyleOnCopy(m_shouldConvertPositionStyleOnCopy); |
| 581 | m_page->settings().setShouldDecidePolicyBeforeLoadingQuickLookPreview(m_shouldDecidePolicyBeforeLoadingQuickLookPreview); |
| 582 | m_page->settings().setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad(m_shouldDeferAsynchronousScriptsUntilAfterDocumentLoad); |
| 583 | m_page->settings().setShouldDispatchSyntheticMouseEventsWhenModifyingSelection(m_shouldDispatchSyntheticMouseEventsWhenModifyingSelection); |
| 584 | #if ENABLE(VIDEO_TRACK) |
| 585 | m_page->settings().setShouldDisplayCaptions(m_shouldDisplayCaptions); |
| 586 | #endif |
| 587 | #if ENABLE(VIDEO_TRACK) |
| 588 | m_page->settings().setShouldDisplaySubtitles(m_shouldDisplaySubtitles); |
| 589 | #endif |
| 590 | #if ENABLE(VIDEO_TRACK) |
| 591 | m_page->settings().setShouldDisplayTextDescriptions(m_shouldDisplayTextDescriptions); |
| 592 | #endif |
| 593 | #if ENABLE(TEXT_AUTOSIZING) |
| 594 | m_page->settings().setShouldEnableTextAutosizingBoost(m_shouldEnableTextAutosizingBoost); |
| 595 | #endif |
| 596 | m_page->settings().setShouldIgnoreFontLoadCompletions(m_shouldIgnoreFontLoadCompletions); |
| 597 | m_page->settings().setShouldIgnoreMetaViewport(m_shouldIgnoreMetaViewport); |
| 598 | m_page->settings().setShouldInjectUserScriptsInInitialEmptyDocument(m_shouldInjectUserScriptsInInitialEmptyDocument); |
| 599 | m_page->settings().setShouldPrintBackgrounds(m_shouldPrintBackgrounds); |
| 600 | m_page->settings().setShouldRespectImageOrientation(m_shouldRespectImageOrientation); |
| 601 | m_page->settings().setShouldSuppressTextInputFromEditingDuringProvisionalNavigation(m_shouldSuppressTextInputFromEditingDuringProvisionalNavigation); |
| 602 | m_page->settings().setShowDebugBorders(m_showDebugBorders); |
| 603 | m_page->settings().setShowRepaintCounter(m_showRepaintCounter); |
| 604 | m_page->settings().setShowTiledScrollingIndicator(m_showTiledScrollingIndicator); |
| 605 | m_page->settings().setShowsToolTipOverTruncatedText(m_showsToolTipOverTruncatedText); |
| 606 | m_page->settings().setShowsURLsInToolTips(m_showsURLsInToolTips); |
| 607 | m_page->settings().setShrinksStandaloneImagesToFit(m_shrinksStandaloneImagesToFit); |
| 608 | m_page->settings().setSimpleLineLayoutDebugBordersEnabled(m_simpleLineLayoutDebugBordersEnabled); |
| 609 | m_page->settings().setSimpleLineLayoutEnabled(m_simpleLineLayoutEnabled); |
| 610 | m_page->settings().setSmartInsertDeleteEnabled(m_smartInsertDeleteEnabled); |
| 611 | m_page->settings().setSnapshotAllPlugIns(m_snapshotAllPlugIns); |
| 612 | #if ENABLE(MEDIA_SOURCE) |
| 613 | m_page->settings().setSourceBufferChangeTypeEnabled(m_sourceBufferChangeTypeEnabled); |
| 614 | #endif |
| 615 | m_page->settings().setSpatialNavigationEnabled(m_spatialNavigationEnabled); |
| 616 | m_page->settings().setSpringTimingFunctionEnabled(m_springTimingFunctionEnabled); |
| 617 | m_page->settings().setStandalone(m_standalone); |
| 618 | m_page->settings().setStorageAccessAPIEnabled(m_storageAccessAPIEnabled); |
| 619 | m_page->settings().setSubpixelAntialiasedLayerTextEnabled(m_subpixelAntialiasedLayerTextEnabled); |
| 620 | m_page->settings().setSubpixelCSSOMElementMetricsEnabled(m_subpixelCSSOMElementMetricsEnabled); |
| 621 | m_page->settings().setSubresourceIntegrityEnabled(m_subresourceIntegrityEnabled); |
| 622 | m_page->settings().setSuppressesIncrementalRendering(m_suppressesIncrementalRendering); |
| 623 | m_page->settings().setTelephoneNumberParsingEnabled(m_telephoneNumberParsingEnabled); |
| 624 | m_page->settings().setTemporaryTileCohortRetentionEnabled(m_temporaryTileCohortRetentionEnabled); |
| 625 | m_page->settings().setTextAreasAreResizable(m_textAreasAreResizable); |
| 626 | #if ENABLE(TEXT_AUTOSIZING) |
| 627 | m_page->settings().setTextAutosizingEnabled(m_textAutosizingEnabled); |
| 628 | #endif |
| 629 | #if ENABLE(TEXT_AUTOSIZING) |
| 630 | m_page->settings().setTextAutosizingUsesIdempotentMode(m_textAutosizingUsesIdempotentMode); |
| 631 | #endif |
| 632 | m_page->settings().setThirdPartyIframeRedirectBlockingEnabled(m_thirdPartyIframeRedirectBlockingEnabled); |
| 633 | #if ENABLE(TOUCH_EVENTS) |
| 634 | m_page->settings().setTouchEventEmulationEnabled(m_touchEventEmulationEnabled); |
| 635 | #endif |
| 636 | m_page->settings().setTreatIPAddressAsDomain(m_treatIPAddressAsDomain); |
| 637 | m_page->settings().setTreatsAnyTextCSSLinkAsStylesheet(m_treatsAnyTextCSSLinkAsStylesheet); |
| 638 | m_page->settings().setUnhandledPromiseRejectionToConsoleEnabled(m_unhandledPromiseRejectionToConsoleEnabled); |
| 639 | m_page->settings().setUnifiedTextCheckerEnabled(m_unifiedTextCheckerEnabled); |
| 640 | m_page->settings().setUseAnonymousModeWhenFetchingMaskImages(m_useAnonymousModeWhenFetchingMaskImages); |
| 641 | m_page->settings().setUseGiantTiles(m_useGiantTiles); |
| 642 | m_page->settings().setUseImageDocumentForSubframePDF(m_useImageDocumentForSubframePDF); |
| 643 | m_page->settings().setUseLegacyBackgroundSizeShorthandBehavior(m_useLegacyBackgroundSizeShorthandBehavior); |
| 644 | m_page->settings().setUseLegacyTextAlignPositionedElementBehavior(m_useLegacyTextAlignPositionedElementBehavior); |
| 645 | m_page->settings().setUsePreHTML5ParserQuirks(m_usePreHTML5ParserQuirks); |
| 646 | #if ENABLE(DASHBOARD_SUPPORT) |
| 647 | m_page->settings().setUsesDashboardBackwardCompatibilityMode(m_usesDashboardBackwardCompatibilityMode); |
| 648 | #endif |
| 649 | m_page->settings().setUsesEncodingDetector(m_usesEncodingDetector); |
| 650 | m_page->settings().setUsesPageCache(m_usesPageCache); |
| 651 | m_page->settings().setValidationMessageTimerMagnification(m_validationMessageTimerMagnification); |
| 652 | m_page->settings().setVideoPlaybackRequiresUserGesture(m_videoPlaybackRequiresUserGesture); |
| 653 | #if ENABLE(VIDEO) |
| 654 | m_page->settings().setVideoQualityIncludesDisplayCompositingEnabled(m_videoQualityIncludesDisplayCompositingEnabled); |
| 655 | #endif |
| 656 | m_page->settings().setViewportFitEnabled(m_viewportFitEnabled); |
| 657 | m_page->settings().setVisualViewportAPIEnabled(m_visualViewportAPIEnabled); |
| 658 | m_page->settings().setVisualViewportEnabled(m_visualViewportEnabled); |
| 659 | m_page->settings().setWantsBalancedSetDefersLoadingBehavior(m_wantsBalancedSetDefersLoadingBehavior); |
| 660 | #if ENABLE(WEB_ARCHIVE) |
| 661 | m_page->settings().setWebArchiveDebugModeEnabled(m_webArchiveDebugModeEnabled); |
| 662 | #endif |
| 663 | m_page->settings().setWebAudioEnabled(m_webAudioEnabled); |
| 664 | m_page->settings().setWebGLEnabled(m_webGLEnabled); |
| 665 | m_page->settings().setWebGLErrorsToConsoleEnabled(m_webGLErrorsToConsoleEnabled); |
| 666 | m_page->settings().setWebSecurityEnabled(m_webSecurityEnabled); |
| 667 | m_page->settings().setWebkitImageReadyEventEnabled(m_webkitImageReadyEventEnabled); |
| 668 | m_page->settings().setWindowFocusRestricted(m_windowFocusRestricted); |
| 669 | m_page->settings().setXSSAuditorEnabled(m_xssAuditorEnabled); |
| 670 | m_page->settings().setYouTubeFlashPluginReplacementEnabled(m_youTubeFlashPluginReplacementEnabled); |
| 671 | } |
| 672 | |
| 673 | void InternalSettingsGenerated::setCSSOMViewScrollingAPIEnabled(bool CSSOMViewScrollingAPIEnabled) |
| 674 | { |
| 675 | m_page->settings().setCSSOMViewScrollingAPIEnabled(CSSOMViewScrollingAPIEnabled); |
| 676 | } |
| 677 | |
| 678 | void InternalSettingsGenerated::setDOMPasteAllowed(bool DOMPasteAllowed) |
| 679 | { |
| 680 | m_page->settings().setDOMPasteAllowed(DOMPasteAllowed); |
| 681 | } |
| 682 | |
| 683 | void InternalSettingsGenerated::setHTTPSUpgradeEnabled(bool HTTPSUpgradeEnabled) |
| 684 | { |
| 685 | m_page->settings().setHTTPSUpgradeEnabled(HTTPSUpgradeEnabled); |
| 686 | } |
| 687 | |
| 688 | void InternalSettingsGenerated::setAccelerated2dCanvasEnabled(bool accelerated2dCanvasEnabled) |
| 689 | { |
| 690 | m_page->settings().setAccelerated2dCanvasEnabled(accelerated2dCanvasEnabled); |
| 691 | } |
| 692 | |
| 693 | void InternalSettingsGenerated::setAcceleratedCompositedAnimationsEnabled(bool acceleratedCompositedAnimationsEnabled) |
| 694 | { |
| 695 | m_page->settings().setAcceleratedCompositedAnimationsEnabled(acceleratedCompositedAnimationsEnabled); |
| 696 | } |
| 697 | |
| 698 | void InternalSettingsGenerated::setAcceleratedCompositingEnabled(bool acceleratedCompositingEnabled) |
| 699 | { |
| 700 | m_page->settings().setAcceleratedCompositingEnabled(acceleratedCompositingEnabled); |
| 701 | } |
| 702 | |
| 703 | void InternalSettingsGenerated::setAcceleratedCompositingForFixedPositionEnabled(bool acceleratedCompositingForFixedPositionEnabled) |
| 704 | { |
| 705 | m_page->settings().setAcceleratedCompositingForFixedPositionEnabled(acceleratedCompositingForFixedPositionEnabled); |
| 706 | } |
| 707 | |
| 708 | void InternalSettingsGenerated::setAcceleratedDrawingEnabled(bool acceleratedDrawingEnabled) |
| 709 | { |
| 710 | m_page->settings().setAcceleratedDrawingEnabled(acceleratedDrawingEnabled); |
| 711 | } |
| 712 | |
| 713 | void InternalSettingsGenerated::setAcceleratedFiltersEnabled(bool acceleratedFiltersEnabled) |
| 714 | { |
| 715 | m_page->settings().setAcceleratedFiltersEnabled(acceleratedFiltersEnabled); |
| 716 | } |
| 717 | |
| 718 | void InternalSettingsGenerated::setAdClickAttributionEnabled(bool adClickAttributionEnabled) |
| 719 | { |
| 720 | m_page->settings().setAdClickAttributionEnabled(adClickAttributionEnabled); |
| 721 | } |
| 722 | |
| 723 | void InternalSettingsGenerated::setAggressiveTileRetentionEnabled(bool aggressiveTileRetentionEnabled) |
| 724 | { |
| 725 | m_page->settings().setAggressiveTileRetentionEnabled(aggressiveTileRetentionEnabled); |
| 726 | } |
| 727 | |
| 728 | void InternalSettingsGenerated::setAllowContentSecurityPolicySourceStarToMatchAnyProtocol(bool allowContentSecurityPolicySourceStarToMatchAnyProtocol) |
| 729 | { |
| 730 | m_page->settings().setAllowContentSecurityPolicySourceStarToMatchAnyProtocol(allowContentSecurityPolicySourceStarToMatchAnyProtocol); |
| 731 | } |
| 732 | |
| 733 | void InternalSettingsGenerated::setAllowCrossOriginSubresourcesToAskForCredentials(bool allowCrossOriginSubresourcesToAskForCredentials) |
| 734 | { |
| 735 | m_page->settings().setAllowCrossOriginSubresourcesToAskForCredentials(allowCrossOriginSubresourcesToAskForCredentials); |
| 736 | } |
| 737 | |
| 738 | void InternalSettingsGenerated::setAllowDisplayOfInsecureContent(bool allowDisplayOfInsecureContent) |
| 739 | { |
| 740 | m_page->settings().setAllowDisplayOfInsecureContent(allowDisplayOfInsecureContent); |
| 741 | } |
| 742 | |
| 743 | void InternalSettingsGenerated::setAllowFileAccessFromFileURLs(bool allowFileAccessFromFileURLs) |
| 744 | { |
| 745 | m_page->settings().setAllowFileAccessFromFileURLs(allowFileAccessFromFileURLs); |
| 746 | } |
| 747 | |
| 748 | void InternalSettingsGenerated::setAllowMediaContentTypesRequiringHardwareSupportAsFallback(bool allowMediaContentTypesRequiringHardwareSupportAsFallback) |
| 749 | { |
| 750 | m_page->settings().setAllowMediaContentTypesRequiringHardwareSupportAsFallback(allowMediaContentTypesRequiringHardwareSupportAsFallback); |
| 751 | } |
| 752 | |
| 753 | void InternalSettingsGenerated::setAllowMultiElementImplicitSubmission(bool allowMultiElementImplicitSubmission) |
| 754 | { |
| 755 | m_page->settings().setAllowMultiElementImplicitSubmission(allowMultiElementImplicitSubmission); |
| 756 | } |
| 757 | |
| 758 | void InternalSettingsGenerated::setAllowRunningOfInsecureContent(bool allowRunningOfInsecureContent) |
| 759 | { |
| 760 | m_page->settings().setAllowRunningOfInsecureContent(allowRunningOfInsecureContent); |
| 761 | } |
| 762 | |
| 763 | void InternalSettingsGenerated::(bool ) |
| 764 | { |
| 765 | m_page->settings().setAllowSettingAnyXHRHeaderFromFileURLs(allowSettingAnyXHRHeaderFromFileURLs); |
| 766 | } |
| 767 | |
| 768 | void InternalSettingsGenerated::setAllowUniversalAccessFromFileURLs(bool allowUniversalAccessFromFileURLs) |
| 769 | { |
| 770 | m_page->settings().setAllowUniversalAccessFromFileURLs(allowUniversalAccessFromFileURLs); |
| 771 | } |
| 772 | |
| 773 | void InternalSettingsGenerated::setAllowsAirPlayForMediaPlayback(bool allowsAirPlayForMediaPlayback) |
| 774 | { |
| 775 | #if ENABLE(WIRELESS_PLAYBACK_TARGET) |
| 776 | m_page->settings().setAllowsAirPlayForMediaPlayback(allowsAirPlayForMediaPlayback); |
| 777 | #else |
| 778 | UNUSED_PARAM(allowsAirPlayForMediaPlayback); |
| 779 | #endif |
| 780 | } |
| 781 | |
| 782 | void InternalSettingsGenerated::setAllowsInlineMediaPlayback(bool allowsInlineMediaPlayback) |
| 783 | { |
| 784 | m_page->settings().setAllowsInlineMediaPlayback(allowsInlineMediaPlayback); |
| 785 | } |
| 786 | |
| 787 | void InternalSettingsGenerated::setAllowsInlineMediaPlaybackAfterFullscreen(bool allowsInlineMediaPlaybackAfterFullscreen) |
| 788 | { |
| 789 | m_page->settings().setAllowsInlineMediaPlaybackAfterFullscreen(allowsInlineMediaPlaybackAfterFullscreen); |
| 790 | } |
| 791 | |
| 792 | void InternalSettingsGenerated::setAllowsPictureInPictureMediaPlayback(bool allowsPictureInPictureMediaPlayback) |
| 793 | { |
| 794 | m_page->settings().setAllowsPictureInPictureMediaPlayback(allowsPictureInPictureMediaPlayback); |
| 795 | } |
| 796 | |
| 797 | void InternalSettingsGenerated::setAlwaysUseAcceleratedOverflowScroll(bool alwaysUseAcceleratedOverflowScroll) |
| 798 | { |
| 799 | m_page->settings().setAlwaysUseAcceleratedOverflowScroll(alwaysUseAcceleratedOverflowScroll); |
| 800 | } |
| 801 | |
| 802 | void InternalSettingsGenerated::setAnimatedImageAsyncDecodingEnabled(bool animatedImageAsyncDecodingEnabled) |
| 803 | { |
| 804 | m_page->settings().setAnimatedImageAsyncDecodingEnabled(animatedImageAsyncDecodingEnabled); |
| 805 | } |
| 806 | |
| 807 | void InternalSettingsGenerated::(bool ) |
| 808 | { |
| 809 | m_page->settings().setAppleMailPaginationQuirkEnabled(appleMailPaginationQuirkEnabled); |
| 810 | } |
| 811 | |
| 812 | void InternalSettingsGenerated::setApplePayCapabilityDisclosureAllowed(bool applePayCapabilityDisclosureAllowed) |
| 813 | { |
| 814 | #if ENABLE(APPLE_PAY) |
| 815 | m_page->settings().setApplePayCapabilityDisclosureAllowed(applePayCapabilityDisclosureAllowed); |
| 816 | #else |
| 817 | UNUSED_PARAM(applePayCapabilityDisclosureAllowed); |
| 818 | #endif |
| 819 | } |
| 820 | |
| 821 | void InternalSettingsGenerated::setApplePayEnabled(bool applePayEnabled) |
| 822 | { |
| 823 | #if ENABLE(APPLE_PAY) |
| 824 | m_page->settings().setApplePayEnabled(applePayEnabled); |
| 825 | #else |
| 826 | UNUSED_PARAM(applePayEnabled); |
| 827 | #endif |
| 828 | } |
| 829 | |
| 830 | void InternalSettingsGenerated::setApplePayRemoteUIEnabled(bool applePayRemoteUIEnabled) |
| 831 | { |
| 832 | #if ENABLE(APPLE_PAY_REMOTE_UI) |
| 833 | m_page->settings().setApplePayRemoteUIEnabled(applePayRemoteUIEnabled); |
| 834 | #else |
| 835 | UNUSED_PARAM(applePayRemoteUIEnabled); |
| 836 | #endif |
| 837 | } |
| 838 | |
| 839 | void InternalSettingsGenerated::setAsyncFrameScrollingEnabled(bool asyncFrameScrollingEnabled) |
| 840 | { |
| 841 | m_page->settings().setAsyncFrameScrollingEnabled(asyncFrameScrollingEnabled); |
| 842 | } |
| 843 | |
| 844 | void InternalSettingsGenerated::setAsyncOverflowScrollingEnabled(bool asyncOverflowScrollingEnabled) |
| 845 | { |
| 846 | m_page->settings().setAsyncOverflowScrollingEnabled(asyncOverflowScrollingEnabled); |
| 847 | } |
| 848 | |
| 849 | void InternalSettingsGenerated::setAsynchronousSpellCheckingEnabled(bool asynchronousSpellCheckingEnabled) |
| 850 | { |
| 851 | m_page->settings().setAsynchronousSpellCheckingEnabled(asynchronousSpellCheckingEnabled); |
| 852 | } |
| 853 | |
| 854 | void InternalSettingsGenerated::setAudioPlaybackRequiresUserGesture(bool audioPlaybackRequiresUserGesture) |
| 855 | { |
| 856 | m_page->settings().setAudioPlaybackRequiresUserGesture(audioPlaybackRequiresUserGesture); |
| 857 | } |
| 858 | |
| 859 | void InternalSettingsGenerated::setAuthorAndUserStylesEnabled(bool authorAndUserStylesEnabled) |
| 860 | { |
| 861 | m_page->settings().setAuthorAndUserStylesEnabled(authorAndUserStylesEnabled); |
| 862 | } |
| 863 | |
| 864 | void InternalSettingsGenerated::setAutoscrollForDragAndDropEnabled(bool autoscrollForDragAndDropEnabled) |
| 865 | { |
| 866 | m_page->settings().setAutoscrollForDragAndDropEnabled(autoscrollForDragAndDropEnabled); |
| 867 | } |
| 868 | |
| 869 | void InternalSettingsGenerated::setAutostartOriginPlugInSnapshottingEnabled(bool autostartOriginPlugInSnapshottingEnabled) |
| 870 | { |
| 871 | m_page->settings().setAutostartOriginPlugInSnapshottingEnabled(autostartOriginPlugInSnapshottingEnabled); |
| 872 | } |
| 873 | |
| 874 | void InternalSettingsGenerated::setBackForwardCacheExpirationInterval(double backForwardCacheExpirationInterval) |
| 875 | { |
| 876 | m_page->settings().setBackForwardCacheExpirationInterval(backForwardCacheExpirationInterval); |
| 877 | } |
| 878 | |
| 879 | void InternalSettingsGenerated::setBackgroundShouldExtendBeyondPage(bool backgroundShouldExtendBeyondPage) |
| 880 | { |
| 881 | m_page->settings().setBackgroundShouldExtendBeyondPage(backgroundShouldExtendBeyondPage); |
| 882 | } |
| 883 | |
| 884 | void InternalSettingsGenerated::setBackspaceKeyNavigationEnabled(bool backspaceKeyNavigationEnabled) |
| 885 | { |
| 886 | m_page->settings().setBackspaceKeyNavigationEnabled(backspaceKeyNavigationEnabled); |
| 887 | } |
| 888 | |
| 889 | void InternalSettingsGenerated::setBeaconAPIEnabled(bool beaconAPIEnabled) |
| 890 | { |
| 891 | m_page->settings().setBeaconAPIEnabled(beaconAPIEnabled); |
| 892 | } |
| 893 | |
| 894 | void InternalSettingsGenerated::setBlockingOfSmallPluginsEnabled(bool blockingOfSmallPluginsEnabled) |
| 895 | { |
| 896 | m_page->settings().setBlockingOfSmallPluginsEnabled(blockingOfSmallPluginsEnabled); |
| 897 | } |
| 898 | |
| 899 | void InternalSettingsGenerated::setCanvasUsesAcceleratedDrawing(bool canvasUsesAcceleratedDrawing) |
| 900 | { |
| 901 | m_page->settings().setCanvasUsesAcceleratedDrawing(canvasUsesAcceleratedDrawing); |
| 902 | } |
| 903 | |
| 904 | void InternalSettingsGenerated::setCaretBrowsingEnabled(bool caretBrowsingEnabled) |
| 905 | { |
| 906 | m_page->settings().setCaretBrowsingEnabled(caretBrowsingEnabled); |
| 907 | } |
| 908 | |
| 909 | void InternalSettingsGenerated::setClientCoordinatesRelativeToLayoutViewport(bool clientCoordinatesRelativeToLayoutViewport) |
| 910 | { |
| 911 | m_page->settings().setClientCoordinatesRelativeToLayoutViewport(clientCoordinatesRelativeToLayoutViewport); |
| 912 | } |
| 913 | |
| 914 | void InternalSettingsGenerated::setColorFilterEnabled(bool colorFilterEnabled) |
| 915 | { |
| 916 | m_page->settings().setColorFilterEnabled(colorFilterEnabled); |
| 917 | } |
| 918 | |
| 919 | void InternalSettingsGenerated::setConstantPropertiesEnabled(bool constantPropertiesEnabled) |
| 920 | { |
| 921 | m_page->settings().setConstantPropertiesEnabled(constantPropertiesEnabled); |
| 922 | } |
| 923 | |
| 924 | void InternalSettingsGenerated::setContentChangeObserverEnabled(bool contentChangeObserverEnabled) |
| 925 | { |
| 926 | m_page->settings().setContentChangeObserverEnabled(contentChangeObserverEnabled); |
| 927 | } |
| 928 | |
| 929 | void InternalSettingsGenerated::setContentDispositionAttachmentSandboxEnabled(bool contentDispositionAttachmentSandboxEnabled) |
| 930 | { |
| 931 | m_page->settings().setContentDispositionAttachmentSandboxEnabled(contentDispositionAttachmentSandboxEnabled); |
| 932 | } |
| 933 | |
| 934 | void InternalSettingsGenerated::setCookieEnabled(bool cookieEnabled) |
| 935 | { |
| 936 | m_page->settings().setCookieEnabled(cookieEnabled); |
| 937 | } |
| 938 | |
| 939 | void InternalSettingsGenerated::setCoreMathMLEnabled(bool coreMathMLEnabled) |
| 940 | { |
| 941 | m_page->settings().setCoreMathMLEnabled(coreMathMLEnabled); |
| 942 | } |
| 943 | |
| 944 | void InternalSettingsGenerated::setCrossOriginCheckInGetMatchedCSSRulesDisabled(bool crossOriginCheckInGetMatchedCSSRulesDisabled) |
| 945 | { |
| 946 | m_page->settings().setCrossOriginCheckInGetMatchedCSSRulesDisabled(crossOriginCheckInGetMatchedCSSRulesDisabled); |
| 947 | } |
| 948 | |
| 949 | void InternalSettingsGenerated::setDefaultFixedFontSize(int defaultFixedFontSize) |
| 950 | { |
| 951 | m_page->settings().setDefaultFixedFontSize(defaultFixedFontSize); |
| 952 | } |
| 953 | |
| 954 | void InternalSettingsGenerated::setDefaultFontSize(int defaultFontSize) |
| 955 | { |
| 956 | m_page->settings().setDefaultFontSize(defaultFontSize); |
| 957 | } |
| 958 | |
| 959 | void InternalSettingsGenerated::setDefaultTextEncodingName(const String& defaultTextEncodingName) |
| 960 | { |
| 961 | m_page->settings().setDefaultTextEncodingName(defaultTextEncodingName); |
| 962 | } |
| 963 | |
| 964 | void InternalSettingsGenerated::setDefaultVideoPosterURL(const String& defaultVideoPosterURL) |
| 965 | { |
| 966 | m_page->settings().setDefaultVideoPosterURL(defaultVideoPosterURL); |
| 967 | } |
| 968 | |
| 969 | void InternalSettingsGenerated::setDeferredCSSParserEnabled(bool deferredCSSParserEnabled) |
| 970 | { |
| 971 | m_page->settings().setDeferredCSSParserEnabled(deferredCSSParserEnabled); |
| 972 | } |
| 973 | |
| 974 | void InternalSettingsGenerated::setDelegatesPageScaling(bool delegatesPageScaling) |
| 975 | { |
| 976 | m_page->settings().setDelegatesPageScaling(delegatesPageScaling); |
| 977 | } |
| 978 | |
| 979 | void InternalSettingsGenerated::(bool ) |
| 980 | { |
| 981 | m_page->settings().setDeveloperExtrasEnabled(developerExtrasEnabled); |
| 982 | } |
| 983 | |
| 984 | void InternalSettingsGenerated::setDeviceHeight(int deviceHeight) |
| 985 | { |
| 986 | m_page->settings().setDeviceHeight(deviceHeight); |
| 987 | } |
| 988 | |
| 989 | void InternalSettingsGenerated::setDeviceOrientationEventEnabled(bool deviceOrientationEventEnabled) |
| 990 | { |
| 991 | #if ENABLE(DEVICE_ORIENTATION) |
| 992 | m_page->settings().setDeviceOrientationEventEnabled(deviceOrientationEventEnabled); |
| 993 | #else |
| 994 | UNUSED_PARAM(deviceOrientationEventEnabled); |
| 995 | #endif |
| 996 | } |
| 997 | |
| 998 | void InternalSettingsGenerated::setDeviceOrientationPermissionAPIEnabled(bool deviceOrientationPermissionAPIEnabled) |
| 999 | { |
| 1000 | #if ENABLE(DEVICE_ORIENTATION) |
| 1001 | m_page->settings().setDeviceOrientationPermissionAPIEnabled(deviceOrientationPermissionAPIEnabled); |
| 1002 | #else |
| 1003 | UNUSED_PARAM(deviceOrientationPermissionAPIEnabled); |
| 1004 | #endif |
| 1005 | } |
| 1006 | |
| 1007 | void InternalSettingsGenerated::setDeviceWidth(int deviceWidth) |
| 1008 | { |
| 1009 | m_page->settings().setDeviceWidth(deviceWidth); |
| 1010 | } |
| 1011 | |
| 1012 | void InternalSettingsGenerated::setDiagnosticLoggingEnabled(bool diagnosticLoggingEnabled) |
| 1013 | { |
| 1014 | m_page->settings().setDiagnosticLoggingEnabled(diagnosticLoggingEnabled); |
| 1015 | } |
| 1016 | |
| 1017 | void InternalSettingsGenerated::setDisableScreenSizeOverride(bool disableScreenSizeOverride) |
| 1018 | { |
| 1019 | m_page->settings().setDisableScreenSizeOverride(disableScreenSizeOverride); |
| 1020 | } |
| 1021 | |
| 1022 | void InternalSettingsGenerated::setDisplayListDrawingEnabled(bool displayListDrawingEnabled) |
| 1023 | { |
| 1024 | m_page->settings().setDisplayListDrawingEnabled(displayListDrawingEnabled); |
| 1025 | } |
| 1026 | |
| 1027 | void InternalSettingsGenerated::setDNSPrefetchingEnabled(bool dnsPrefetchingEnabled) |
| 1028 | { |
| 1029 | m_page->settings().setDNSPrefetchingEnabled(dnsPrefetchingEnabled); |
| 1030 | } |
| 1031 | |
| 1032 | void InternalSettingsGenerated::setDOMPasteAccessRequestsEnabled(bool domPasteAccessRequestsEnabled) |
| 1033 | { |
| 1034 | m_page->settings().setDOMPasteAccessRequestsEnabled(domPasteAccessRequestsEnabled); |
| 1035 | } |
| 1036 | |
| 1037 | void InternalSettingsGenerated::setDOMTimersThrottlingEnabled(bool domTimersThrottlingEnabled) |
| 1038 | { |
| 1039 | m_page->settings().setDOMTimersThrottlingEnabled(domTimersThrottlingEnabled); |
| 1040 | } |
| 1041 | |
| 1042 | void InternalSettingsGenerated::setDownloadableBinaryFontsEnabled(bool downloadableBinaryFontsEnabled) |
| 1043 | { |
| 1044 | m_page->settings().setDownloadableBinaryFontsEnabled(downloadableBinaryFontsEnabled); |
| 1045 | } |
| 1046 | |
| 1047 | void InternalSettingsGenerated::setEditableImagesEnabled(bool editableImagesEnabled) |
| 1048 | { |
| 1049 | m_page->settings().setEditableImagesEnabled(editableImagesEnabled); |
| 1050 | } |
| 1051 | |
| 1052 | void InternalSettingsGenerated::setEnableInheritURIQueryComponent(bool enableInheritURIQueryComponent) |
| 1053 | { |
| 1054 | m_page->settings().setEnableInheritURIQueryComponent(enableInheritURIQueryComponent); |
| 1055 | } |
| 1056 | |
| 1057 | void InternalSettingsGenerated::setEnforceCSSMIMETypeInNoQuirksMode(bool enforceCSSMIMETypeInNoQuirksMode) |
| 1058 | { |
| 1059 | m_page->settings().setEnforceCSSMIMETypeInNoQuirksMode(enforceCSSMIMETypeInNoQuirksMode); |
| 1060 | } |
| 1061 | |
| 1062 | void InternalSettingsGenerated::setExperimentalNotificationsEnabled(bool experimentalNotificationsEnabled) |
| 1063 | { |
| 1064 | m_page->settings().setExperimentalNotificationsEnabled(experimentalNotificationsEnabled); |
| 1065 | } |
| 1066 | |
| 1067 | void InternalSettingsGenerated::setFixedBackgroundsPaintRelativeToDocument(bool fixedBackgroundsPaintRelativeToDocument) |
| 1068 | { |
| 1069 | m_page->settings().setFixedBackgroundsPaintRelativeToDocument(fixedBackgroundsPaintRelativeToDocument); |
| 1070 | } |
| 1071 | |
| 1072 | void InternalSettingsGenerated::setFixedElementsLayoutRelativeToFrame(bool fixedElementsLayoutRelativeToFrame) |
| 1073 | { |
| 1074 | m_page->settings().setFixedElementsLayoutRelativeToFrame(fixedElementsLayoutRelativeToFrame); |
| 1075 | } |
| 1076 | |
| 1077 | void InternalSettingsGenerated::setFontFallbackPrefersPictographs(bool fontFallbackPrefersPictographs) |
| 1078 | { |
| 1079 | m_page->settings().setFontFallbackPrefersPictographs(fontFallbackPrefersPictographs); |
| 1080 | } |
| 1081 | |
| 1082 | void InternalSettingsGenerated::setForceCompositingMode(bool forceCompositingMode) |
| 1083 | { |
| 1084 | m_page->settings().setForceCompositingMode(forceCompositingMode); |
| 1085 | } |
| 1086 | |
| 1087 | void InternalSettingsGenerated::setForceFTPDirectoryListings(bool forceFTPDirectoryListings) |
| 1088 | { |
| 1089 | m_page->settings().setForceFTPDirectoryListings(forceFTPDirectoryListings); |
| 1090 | } |
| 1091 | |
| 1092 | void InternalSettingsGenerated::setForcePendingWebGLPolicy(bool forcePendingWebGLPolicy) |
| 1093 | { |
| 1094 | m_page->settings().setForcePendingWebGLPolicy(forcePendingWebGLPolicy); |
| 1095 | } |
| 1096 | |
| 1097 | void InternalSettingsGenerated::setForceSoftwareWebGLRendering(bool forceSoftwareWebGLRendering) |
| 1098 | { |
| 1099 | m_page->settings().setForceSoftwareWebGLRendering(forceSoftwareWebGLRendering); |
| 1100 | } |
| 1101 | |
| 1102 | void InternalSettingsGenerated::setForceUpdateScrollbarsOnMainThreadForPerformanceTesting(bool forceUpdateScrollbarsOnMainThreadForPerformanceTesting) |
| 1103 | { |
| 1104 | m_page->settings().setForceUpdateScrollbarsOnMainThreadForPerformanceTesting(forceUpdateScrollbarsOnMainThreadForPerformanceTesting); |
| 1105 | } |
| 1106 | |
| 1107 | void InternalSettingsGenerated::setForceWebGLUsesLowPower(bool forceWebGLUsesLowPower) |
| 1108 | { |
| 1109 | m_page->settings().setForceWebGLUsesLowPower(forceWebGLUsesLowPower); |
| 1110 | } |
| 1111 | |
| 1112 | void InternalSettingsGenerated::setFTPDirectoryTemplatePath(const String& ftpDirectoryTemplatePath) |
| 1113 | { |
| 1114 | m_page->settings().setFTPDirectoryTemplatePath(ftpDirectoryTemplatePath); |
| 1115 | } |
| 1116 | |
| 1117 | void InternalSettingsGenerated::setFullScreenEnabled(bool fullScreenEnabled) |
| 1118 | { |
| 1119 | #if ENABLE(FULLSCREEN_API) |
| 1120 | m_page->settings().setFullScreenEnabled(fullScreenEnabled); |
| 1121 | #else |
| 1122 | UNUSED_PARAM(fullScreenEnabled); |
| 1123 | #endif |
| 1124 | } |
| 1125 | |
| 1126 | void InternalSettingsGenerated::setGeolocationFloorLevelEnabled(bool geolocationFloorLevelEnabled) |
| 1127 | { |
| 1128 | m_page->settings().setGeolocationFloorLevelEnabled(geolocationFloorLevelEnabled); |
| 1129 | } |
| 1130 | |
| 1131 | void InternalSettingsGenerated::setHiddenPageCSSAnimationSuspensionEnabled(bool hiddenPageCSSAnimationSuspensionEnabled) |
| 1132 | { |
| 1133 | m_page->settings().setHiddenPageCSSAnimationSuspensionEnabled(hiddenPageCSSAnimationSuspensionEnabled); |
| 1134 | } |
| 1135 | |
| 1136 | void InternalSettingsGenerated::setHiddenPageDOMTimerThrottlingAutoIncreases(bool hiddenPageDOMTimerThrottlingAutoIncreases) |
| 1137 | { |
| 1138 | m_page->settings().setHiddenPageDOMTimerThrottlingAutoIncreases(hiddenPageDOMTimerThrottlingAutoIncreases); |
| 1139 | } |
| 1140 | |
| 1141 | void InternalSettingsGenerated::setHiddenPageDOMTimerThrottlingEnabled(bool hiddenPageDOMTimerThrottlingEnabled) |
| 1142 | { |
| 1143 | m_page->settings().setHiddenPageDOMTimerThrottlingEnabled(hiddenPageDOMTimerThrottlingEnabled); |
| 1144 | } |
| 1145 | |
| 1146 | void InternalSettingsGenerated::setHttpEquivEnabled(bool httpEquivEnabled) |
| 1147 | { |
| 1148 | m_page->settings().setHttpEquivEnabled(httpEquivEnabled); |
| 1149 | } |
| 1150 | |
| 1151 | void InternalSettingsGenerated::setHyperlinkAuditingEnabled(bool hyperlinkAuditingEnabled) |
| 1152 | { |
| 1153 | m_page->settings().setHyperlinkAuditingEnabled(hyperlinkAuditingEnabled); |
| 1154 | } |
| 1155 | |
| 1156 | void InternalSettingsGenerated::setICECandidateFilteringEnabled(bool iceCandidateFilteringEnabled) |
| 1157 | { |
| 1158 | m_page->settings().setICECandidateFilteringEnabled(iceCandidateFilteringEnabled); |
| 1159 | } |
| 1160 | |
| 1161 | void InternalSettingsGenerated::setImageControlsEnabled(bool imageControlsEnabled) |
| 1162 | { |
| 1163 | #if ENABLE(SERVICE_CONTROLS) |
| 1164 | m_page->settings().setImageControlsEnabled(imageControlsEnabled); |
| 1165 | #else |
| 1166 | UNUSED_PARAM(imageControlsEnabled); |
| 1167 | #endif |
| 1168 | } |
| 1169 | |
| 1170 | void InternalSettingsGenerated::setImageSubsamplingEnabled(bool imageSubsamplingEnabled) |
| 1171 | { |
| 1172 | m_page->settings().setImageSubsamplingEnabled(imageSubsamplingEnabled); |
| 1173 | } |
| 1174 | |
| 1175 | void InternalSettingsGenerated::setImagesEnabled(bool imagesEnabled) |
| 1176 | { |
| 1177 | m_page->settings().setImagesEnabled(imagesEnabled); |
| 1178 | } |
| 1179 | |
| 1180 | void InternalSettingsGenerated::setIncompleteImageBorderEnabled(bool incompleteImageBorderEnabled) |
| 1181 | { |
| 1182 | m_page->settings().setIncompleteImageBorderEnabled(incompleteImageBorderEnabled); |
| 1183 | } |
| 1184 | |
| 1185 | void InternalSettingsGenerated::setIncrementalRenderingSuppressionTimeoutInSeconds(double incrementalRenderingSuppressionTimeoutInSeconds) |
| 1186 | { |
| 1187 | m_page->settings().setIncrementalRenderingSuppressionTimeoutInSeconds(incrementalRenderingSuppressionTimeoutInSeconds); |
| 1188 | } |
| 1189 | |
| 1190 | void InternalSettingsGenerated::setInlineMediaPlaybackRequiresPlaysInlineAttribute(bool inlineMediaPlaybackRequiresPlaysInlineAttribute) |
| 1191 | { |
| 1192 | m_page->settings().setInlineMediaPlaybackRequiresPlaysInlineAttribute(inlineMediaPlaybackRequiresPlaysInlineAttribute); |
| 1193 | } |
| 1194 | |
| 1195 | void InternalSettingsGenerated::setInputEventsEnabled(bool inputEventsEnabled) |
| 1196 | { |
| 1197 | m_page->settings().setInputEventsEnabled(inputEventsEnabled); |
| 1198 | } |
| 1199 | |
| 1200 | void InternalSettingsGenerated::setInteractiveFormValidationEnabled(bool interactiveFormValidationEnabled) |
| 1201 | { |
| 1202 | m_page->settings().setInteractiveFormValidationEnabled(interactiveFormValidationEnabled); |
| 1203 | } |
| 1204 | |
| 1205 | void InternalSettingsGenerated::setInvisibleAutoplayNotPermitted(bool invisibleAutoplayNotPermitted) |
| 1206 | { |
| 1207 | m_page->settings().setInvisibleAutoplayNotPermitted(invisibleAutoplayNotPermitted); |
| 1208 | } |
| 1209 | |
| 1210 | void InternalSettingsGenerated::setJavaEnabled(bool javaEnabled) |
| 1211 | { |
| 1212 | m_page->settings().setJavaEnabled(javaEnabled); |
| 1213 | } |
| 1214 | |
| 1215 | void InternalSettingsGenerated::setJavaEnabledForLocalFiles(bool javaEnabledForLocalFiles) |
| 1216 | { |
| 1217 | m_page->settings().setJavaEnabledForLocalFiles(javaEnabledForLocalFiles); |
| 1218 | } |
| 1219 | |
| 1220 | void InternalSettingsGenerated::setJavaScriptCanAccessClipboard(bool javaScriptCanAccessClipboard) |
| 1221 | { |
| 1222 | m_page->settings().setJavaScriptCanAccessClipboard(javaScriptCanAccessClipboard); |
| 1223 | } |
| 1224 | |
| 1225 | void InternalSettingsGenerated::setJavaScriptCanOpenWindowsAutomatically(bool javaScriptCanOpenWindowsAutomatically) |
| 1226 | { |
| 1227 | m_page->settings().setJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically); |
| 1228 | } |
| 1229 | |
| 1230 | void InternalSettingsGenerated::setLangAttributeAwareFormControlUIEnabled(bool langAttributeAwareFormControlUIEnabled) |
| 1231 | { |
| 1232 | m_page->settings().setLangAttributeAwareFormControlUIEnabled(langAttributeAwareFormControlUIEnabled); |
| 1233 | } |
| 1234 | |
| 1235 | void InternalSettingsGenerated::setLargeImageAsyncDecodingEnabled(bool largeImageAsyncDecodingEnabled) |
| 1236 | { |
| 1237 | m_page->settings().setLargeImageAsyncDecodingEnabled(largeImageAsyncDecodingEnabled); |
| 1238 | } |
| 1239 | |
| 1240 | void InternalSettingsGenerated::setLayoutFallbackWidth(int layoutFallbackWidth) |
| 1241 | { |
| 1242 | m_page->settings().setLayoutFallbackWidth(layoutFallbackWidth); |
| 1243 | } |
| 1244 | |
| 1245 | void InternalSettingsGenerated::setLayoutViewportHeightExpansionFactor(double layoutViewportHeightExpansionFactor) |
| 1246 | { |
| 1247 | m_page->settings().setLayoutViewportHeightExpansionFactor(layoutViewportHeightExpansionFactor); |
| 1248 | } |
| 1249 | |
| 1250 | void InternalSettingsGenerated::setLegacyOverflowScrollingTouchEnabled(bool legacyOverflowScrollingTouchEnabled) |
| 1251 | { |
| 1252 | #if ENABLE(OVERFLOW_SCROLLING_TOUCH) |
| 1253 | m_page->settings().setLegacyOverflowScrollingTouchEnabled(legacyOverflowScrollingTouchEnabled); |
| 1254 | #else |
| 1255 | UNUSED_PARAM(legacyOverflowScrollingTouchEnabled); |
| 1256 | #endif |
| 1257 | } |
| 1258 | |
| 1259 | void InternalSettingsGenerated::setLinkPreconnectEnabled(bool linkPreconnectEnabled) |
| 1260 | { |
| 1261 | m_page->settings().setLinkPreconnectEnabled(linkPreconnectEnabled); |
| 1262 | } |
| 1263 | |
| 1264 | void InternalSettingsGenerated::setLoadDeferringEnabled(bool loadDeferringEnabled) |
| 1265 | { |
| 1266 | m_page->settings().setLoadDeferringEnabled(loadDeferringEnabled); |
| 1267 | } |
| 1268 | |
| 1269 | void InternalSettingsGenerated::setLoadsImagesAutomatically(bool loadsImagesAutomatically) |
| 1270 | { |
| 1271 | m_page->settings().setLoadsImagesAutomatically(loadsImagesAutomatically); |
| 1272 | } |
| 1273 | |
| 1274 | void InternalSettingsGenerated::setLoadsSiteIconsIgnoringImageLoadingSetting(bool loadsSiteIconsIgnoringImageLoadingSetting) |
| 1275 | { |
| 1276 | m_page->settings().setLoadsSiteIconsIgnoringImageLoadingSetting(loadsSiteIconsIgnoringImageLoadingSetting); |
| 1277 | } |
| 1278 | |
| 1279 | void InternalSettingsGenerated::setLocalFileContentSniffingEnabled(bool localFileContentSniffingEnabled) |
| 1280 | { |
| 1281 | m_page->settings().setLocalFileContentSniffingEnabled(localFileContentSniffingEnabled); |
| 1282 | } |
| 1283 | |
| 1284 | void InternalSettingsGenerated::setLocalStorageDatabasePath(const String& localStorageDatabasePath) |
| 1285 | { |
| 1286 | m_page->settings().setLocalStorageDatabasePath(localStorageDatabasePath); |
| 1287 | } |
| 1288 | |
| 1289 | void InternalSettingsGenerated::setLocalStorageEnabled(bool localStorageEnabled) |
| 1290 | { |
| 1291 | m_page->settings().setLocalStorageEnabled(localStorageEnabled); |
| 1292 | } |
| 1293 | |
| 1294 | void InternalSettingsGenerated::setLogsPageMessagesToSystemConsoleEnabled(bool logsPageMessagesToSystemConsoleEnabled) |
| 1295 | { |
| 1296 | m_page->settings().setLogsPageMessagesToSystemConsoleEnabled(logsPageMessagesToSystemConsoleEnabled); |
| 1297 | } |
| 1298 | |
| 1299 | void InternalSettingsGenerated::setMainContentUserGestureOverrideEnabled(bool mainContentUserGestureOverrideEnabled) |
| 1300 | { |
| 1301 | m_page->settings().setMainContentUserGestureOverrideEnabled(mainContentUserGestureOverrideEnabled); |
| 1302 | } |
| 1303 | |
| 1304 | void InternalSettingsGenerated::setMaxParseDuration(double maxParseDuration) |
| 1305 | { |
| 1306 | m_page->settings().setMaxParseDuration(maxParseDuration); |
| 1307 | } |
| 1308 | |
| 1309 | void InternalSettingsGenerated::setMaximumAccelerated2dCanvasSize(unsigned maximumAccelerated2dCanvasSize) |
| 1310 | { |
| 1311 | m_page->settings().setMaximumAccelerated2dCanvasSize(maximumAccelerated2dCanvasSize); |
| 1312 | } |
| 1313 | |
| 1314 | void InternalSettingsGenerated::setMaximumHTMLParserDOMTreeDepth(unsigned maximumHTMLParserDOMTreeDepth) |
| 1315 | { |
| 1316 | m_page->settings().setMaximumHTMLParserDOMTreeDepth(maximumHTMLParserDOMTreeDepth); |
| 1317 | } |
| 1318 | |
| 1319 | void InternalSettingsGenerated::setMaximumPlugInSnapshotAttempts(unsigned maximumPlugInSnapshotAttempts) |
| 1320 | { |
| 1321 | m_page->settings().setMaximumPlugInSnapshotAttempts(maximumPlugInSnapshotAttempts); |
| 1322 | } |
| 1323 | |
| 1324 | void InternalSettingsGenerated::setMaximumSourceBufferSize(int maximumSourceBufferSize) |
| 1325 | { |
| 1326 | #if ENABLE(MEDIA_SOURCE) |
| 1327 | m_page->settings().setMaximumSourceBufferSize(maximumSourceBufferSize); |
| 1328 | #else |
| 1329 | UNUSED_PARAM(maximumSourceBufferSize); |
| 1330 | #endif |
| 1331 | } |
| 1332 | |
| 1333 | void InternalSettingsGenerated::setMediaCapabilitiesEnabled(bool mediaCapabilitiesEnabled) |
| 1334 | { |
| 1335 | m_page->settings().setMediaCapabilitiesEnabled(mediaCapabilitiesEnabled); |
| 1336 | } |
| 1337 | |
| 1338 | void InternalSettingsGenerated::setMediaCapabilitiesExtensionsEnabled(bool mediaCapabilitiesExtensionsEnabled) |
| 1339 | { |
| 1340 | m_page->settings().setMediaCapabilitiesExtensionsEnabled(mediaCapabilitiesExtensionsEnabled); |
| 1341 | } |
| 1342 | |
| 1343 | void InternalSettingsGenerated::setMediaCaptureRequiresSecureConnection(bool mediaCaptureRequiresSecureConnection) |
| 1344 | { |
| 1345 | #if ENABLE(MEDIA_STREAM) |
| 1346 | m_page->settings().setMediaCaptureRequiresSecureConnection(mediaCaptureRequiresSecureConnection); |
| 1347 | #else |
| 1348 | UNUSED_PARAM(mediaCaptureRequiresSecureConnection); |
| 1349 | #endif |
| 1350 | } |
| 1351 | |
| 1352 | void InternalSettingsGenerated::setMediaControlsScaleWithPageZoom(bool mediaControlsScaleWithPageZoom) |
| 1353 | { |
| 1354 | m_page->settings().setMediaControlsScaleWithPageZoom(mediaControlsScaleWithPageZoom); |
| 1355 | } |
| 1356 | |
| 1357 | void InternalSettingsGenerated::setMediaDataLoadsAutomatically(bool mediaDataLoadsAutomatically) |
| 1358 | { |
| 1359 | m_page->settings().setMediaDataLoadsAutomatically(mediaDataLoadsAutomatically); |
| 1360 | } |
| 1361 | |
| 1362 | void InternalSettingsGenerated::setMediaDeviceIdentifierStorageDirectory(const String& mediaDeviceIdentifierStorageDirectory) |
| 1363 | { |
| 1364 | #if ENABLE(MEDIA_STREAM) |
| 1365 | m_page->settings().setMediaDeviceIdentifierStorageDirectory(mediaDeviceIdentifierStorageDirectory); |
| 1366 | #else |
| 1367 | UNUSED_PARAM(mediaDeviceIdentifierStorageDirectory); |
| 1368 | #endif |
| 1369 | } |
| 1370 | |
| 1371 | void InternalSettingsGenerated::setMediaEnabled(bool mediaEnabled) |
| 1372 | { |
| 1373 | m_page->settings().setMediaEnabled(mediaEnabled); |
| 1374 | } |
| 1375 | |
| 1376 | void InternalSettingsGenerated::setMediaKeysStorageDirectory(const String& mediaKeysStorageDirectory) |
| 1377 | { |
| 1378 | m_page->settings().setMediaKeysStorageDirectory(mediaKeysStorageDirectory); |
| 1379 | } |
| 1380 | |
| 1381 | void InternalSettingsGenerated::setMediaPreloadingEnabled(bool mediaPreloadingEnabled) |
| 1382 | { |
| 1383 | m_page->settings().setMediaPreloadingEnabled(mediaPreloadingEnabled); |
| 1384 | } |
| 1385 | |
| 1386 | void InternalSettingsGenerated::setMediaSourceEnabled(bool mediaSourceEnabled) |
| 1387 | { |
| 1388 | #if ENABLE(MEDIA_SOURCE) |
| 1389 | m_page->settings().setMediaSourceEnabled(mediaSourceEnabled); |
| 1390 | #else |
| 1391 | UNUSED_PARAM(mediaSourceEnabled); |
| 1392 | #endif |
| 1393 | } |
| 1394 | |
| 1395 | void InternalSettingsGenerated::setMediaTypeOverride(const String& mediaTypeOverride) |
| 1396 | { |
| 1397 | m_page->settings().setMediaTypeOverride(mediaTypeOverride); |
| 1398 | } |
| 1399 | |
| 1400 | void InternalSettingsGenerated::setMediaUserGestureInheritsFromDocument(bool mediaUserGestureInheritsFromDocument) |
| 1401 | { |
| 1402 | m_page->settings().setMediaUserGestureInheritsFromDocument(mediaUserGestureInheritsFromDocument); |
| 1403 | } |
| 1404 | |
| 1405 | void InternalSettingsGenerated::setMinimumAccelerated2dCanvasSize(int minimumAccelerated2dCanvasSize) |
| 1406 | { |
| 1407 | m_page->settings().setMinimumAccelerated2dCanvasSize(minimumAccelerated2dCanvasSize); |
| 1408 | } |
| 1409 | |
| 1410 | void InternalSettingsGenerated::setMinimumFontSize(int minimumFontSize) |
| 1411 | { |
| 1412 | m_page->settings().setMinimumFontSize(minimumFontSize); |
| 1413 | } |
| 1414 | |
| 1415 | void InternalSettingsGenerated::setMinimumLogicalFontSize(int minimumLogicalFontSize) |
| 1416 | { |
| 1417 | m_page->settings().setMinimumLogicalFontSize(minimumLogicalFontSize); |
| 1418 | } |
| 1419 | |
| 1420 | void InternalSettingsGenerated::setMinimumZoomFontSize(float minimumZoomFontSize) |
| 1421 | { |
| 1422 | #if ENABLE(TEXT_AUTOSIZING) |
| 1423 | m_page->settings().setMinimumZoomFontSize(minimumZoomFontSize); |
| 1424 | #else |
| 1425 | UNUSED_PARAM(minimumZoomFontSize); |
| 1426 | #endif |
| 1427 | } |
| 1428 | |
| 1429 | void InternalSettingsGenerated::setMockCaptureDevicesEnabled(bool mockCaptureDevicesEnabled) |
| 1430 | { |
| 1431 | #if ENABLE(MEDIA_STREAM) |
| 1432 | m_page->settings().setMockCaptureDevicesEnabled(mockCaptureDevicesEnabled); |
| 1433 | #else |
| 1434 | UNUSED_PARAM(mockCaptureDevicesEnabled); |
| 1435 | #endif |
| 1436 | } |
| 1437 | |
| 1438 | void InternalSettingsGenerated::setNeedsAdobeFrameReloadingQuirk(bool needsAdobeFrameReloadingQuirk) |
| 1439 | { |
| 1440 | m_page->settings().setNeedsAdobeFrameReloadingQuirk(needsAdobeFrameReloadingQuirk); |
| 1441 | } |
| 1442 | |
| 1443 | void InternalSettingsGenerated::setNeedsFrameNameFallbackToIdQuirk(bool needsFrameNameFallbackToIdQuirk) |
| 1444 | { |
| 1445 | m_page->settings().setNeedsFrameNameFallbackToIdQuirk(needsFrameNameFallbackToIdQuirk); |
| 1446 | } |
| 1447 | |
| 1448 | void InternalSettingsGenerated::setNeedsIsLoadingInAPISenseQuirk(bool needsIsLoadingInAPISenseQuirk) |
| 1449 | { |
| 1450 | m_page->settings().setNeedsIsLoadingInAPISenseQuirk(needsIsLoadingInAPISenseQuirk); |
| 1451 | } |
| 1452 | |
| 1453 | void InternalSettingsGenerated::setNeedsKeyboardEventDisambiguationQuirks(bool needsKeyboardEventDisambiguationQuirks) |
| 1454 | { |
| 1455 | m_page->settings().setNeedsKeyboardEventDisambiguationQuirks(needsKeyboardEventDisambiguationQuirks); |
| 1456 | } |
| 1457 | |
| 1458 | void InternalSettingsGenerated::setNeedsSiteSpecificQuirks(bool needsSiteSpecificQuirks) |
| 1459 | { |
| 1460 | m_page->settings().setNeedsSiteSpecificQuirks(needsSiteSpecificQuirks); |
| 1461 | } |
| 1462 | |
| 1463 | void InternalSettingsGenerated::setNeedsStorageAccessFromFileURLsQuirk(bool needsStorageAccessFromFileURLsQuirk) |
| 1464 | { |
| 1465 | m_page->settings().setNeedsStorageAccessFromFileURLsQuirk(needsStorageAccessFromFileURLsQuirk); |
| 1466 | } |
| 1467 | |
| 1468 | void InternalSettingsGenerated::setNotificationsEnabled(bool notificationsEnabled) |
| 1469 | { |
| 1470 | m_page->settings().setNotificationsEnabled(notificationsEnabled); |
| 1471 | } |
| 1472 | |
| 1473 | void InternalSettingsGenerated::setOfflineWebApplicationCacheEnabled(bool offlineWebApplicationCacheEnabled) |
| 1474 | { |
| 1475 | m_page->settings().setOfflineWebApplicationCacheEnabled(offlineWebApplicationCacheEnabled); |
| 1476 | } |
| 1477 | |
| 1478 | void InternalSettingsGenerated::setPageCacheSupportsPlugins(bool pageCacheSupportsPlugins) |
| 1479 | { |
| 1480 | m_page->settings().setPageCacheSupportsPlugins(pageCacheSupportsPlugins); |
| 1481 | } |
| 1482 | |
| 1483 | void InternalSettingsGenerated::setPaginateDuringLayoutEnabled(bool paginateDuringLayoutEnabled) |
| 1484 | { |
| 1485 | m_page->settings().setPaginateDuringLayoutEnabled(paginateDuringLayoutEnabled); |
| 1486 | } |
| 1487 | |
| 1488 | void InternalSettingsGenerated::setPassiveTouchListenersAsDefaultOnDocument(bool passiveTouchListenersAsDefaultOnDocument) |
| 1489 | { |
| 1490 | m_page->settings().setPassiveTouchListenersAsDefaultOnDocument(passiveTouchListenersAsDefaultOnDocument); |
| 1491 | } |
| 1492 | |
| 1493 | void InternalSettingsGenerated::setPasswordEchoDurationInSeconds(double passwordEchoDurationInSeconds) |
| 1494 | { |
| 1495 | m_page->settings().setPasswordEchoDurationInSeconds(passwordEchoDurationInSeconds); |
| 1496 | } |
| 1497 | |
| 1498 | void InternalSettingsGenerated::setPasswordEchoEnabled(bool passwordEchoEnabled) |
| 1499 | { |
| 1500 | m_page->settings().setPasswordEchoEnabled(passwordEchoEnabled); |
| 1501 | } |
| 1502 | |
| 1503 | void InternalSettingsGenerated::setPaymentRequestEnabled(bool paymentRequestEnabled) |
| 1504 | { |
| 1505 | #if ENABLE(PAYMENT_REQUEST) |
| 1506 | m_page->settings().setPaymentRequestEnabled(paymentRequestEnabled); |
| 1507 | #else |
| 1508 | UNUSED_PARAM(paymentRequestEnabled); |
| 1509 | #endif |
| 1510 | } |
| 1511 | |
| 1512 | void InternalSettingsGenerated::setPlugInSnapshottingEnabled(bool plugInSnapshottingEnabled) |
| 1513 | { |
| 1514 | m_page->settings().setPlugInSnapshottingEnabled(plugInSnapshottingEnabled); |
| 1515 | } |
| 1516 | |
| 1517 | void InternalSettingsGenerated::setPluginsEnabled(bool pluginsEnabled) |
| 1518 | { |
| 1519 | m_page->settings().setPluginsEnabled(pluginsEnabled); |
| 1520 | } |
| 1521 | |
| 1522 | void InternalSettingsGenerated::setPreferMIMETypeForImages(bool preferMIMETypeForImages) |
| 1523 | { |
| 1524 | m_page->settings().setPreferMIMETypeForImages(preferMIMETypeForImages); |
| 1525 | } |
| 1526 | |
| 1527 | void InternalSettingsGenerated::setPreventKeyboardDOMEventDispatch(bool preventKeyboardDOMEventDispatch) |
| 1528 | { |
| 1529 | m_page->settings().setPreventKeyboardDOMEventDispatch(preventKeyboardDOMEventDispatch); |
| 1530 | } |
| 1531 | |
| 1532 | void InternalSettingsGenerated::setPrimaryPlugInSnapshotDetectionEnabled(bool primaryPlugInSnapshotDetectionEnabled) |
| 1533 | { |
| 1534 | m_page->settings().setPrimaryPlugInSnapshotDetectionEnabled(primaryPlugInSnapshotDetectionEnabled); |
| 1535 | } |
| 1536 | |
| 1537 | void InternalSettingsGenerated::setPunchOutWhiteBackgroundsInDarkMode(bool punchOutWhiteBackgroundsInDarkMode) |
| 1538 | { |
| 1539 | m_page->settings().setPunchOutWhiteBackgroundsInDarkMode(punchOutWhiteBackgroundsInDarkMode); |
| 1540 | } |
| 1541 | |
| 1542 | void InternalSettingsGenerated::setQuickTimePluginReplacementEnabled(bool quickTimePluginReplacementEnabled) |
| 1543 | { |
| 1544 | m_page->settings().setQuickTimePluginReplacementEnabled(quickTimePluginReplacementEnabled); |
| 1545 | } |
| 1546 | |
| 1547 | void InternalSettingsGenerated::setRepaintOutsideLayoutEnabled(bool repaintOutsideLayoutEnabled) |
| 1548 | { |
| 1549 | m_page->settings().setRepaintOutsideLayoutEnabled(repaintOutsideLayoutEnabled); |
| 1550 | } |
| 1551 | |
| 1552 | void InternalSettingsGenerated::setRequestAnimationFrameEnabled(bool requestAnimationFrameEnabled) |
| 1553 | { |
| 1554 | m_page->settings().setRequestAnimationFrameEnabled(requestAnimationFrameEnabled); |
| 1555 | } |
| 1556 | |
| 1557 | void InternalSettingsGenerated::setRequiresUserGestureToLoadVideo(bool requiresUserGestureToLoadVideo) |
| 1558 | { |
| 1559 | m_page->settings().setRequiresUserGestureToLoadVideo(requiresUserGestureToLoadVideo); |
| 1560 | } |
| 1561 | |
| 1562 | void InternalSettingsGenerated::setResizeObserverEnabled(bool resizeObserverEnabled) |
| 1563 | { |
| 1564 | #if ENABLE(RESIZE_OBSERVER) |
| 1565 | m_page->settings().setResizeObserverEnabled(resizeObserverEnabled); |
| 1566 | #else |
| 1567 | UNUSED_PARAM(resizeObserverEnabled); |
| 1568 | #endif |
| 1569 | } |
| 1570 | |
| 1571 | void InternalSettingsGenerated::setResourceUsageOverlayVisible(bool resourceUsageOverlayVisible) |
| 1572 | { |
| 1573 | m_page->settings().setResourceUsageOverlayVisible(resourceUsageOverlayVisible); |
| 1574 | } |
| 1575 | |
| 1576 | void InternalSettingsGenerated::setRubberBandingForSubScrollableRegionsEnabled(bool rubberBandingForSubScrollableRegionsEnabled) |
| 1577 | { |
| 1578 | #if ENABLE(RUBBER_BANDING) |
| 1579 | m_page->settings().setRubberBandingForSubScrollableRegionsEnabled(rubberBandingForSubScrollableRegionsEnabled); |
| 1580 | #else |
| 1581 | UNUSED_PARAM(rubberBandingForSubScrollableRegionsEnabled); |
| 1582 | #endif |
| 1583 | } |
| 1584 | |
| 1585 | void InternalSettingsGenerated::setScriptEnabled(bool scriptEnabled) |
| 1586 | { |
| 1587 | m_page->settings().setScriptEnabled(scriptEnabled); |
| 1588 | } |
| 1589 | |
| 1590 | void InternalSettingsGenerated::setScriptMarkupEnabled(bool scriptMarkupEnabled) |
| 1591 | { |
| 1592 | m_page->settings().setScriptMarkupEnabled(scriptMarkupEnabled); |
| 1593 | } |
| 1594 | |
| 1595 | void InternalSettingsGenerated::setScrollAnimatorEnabled(bool scrollAnimatorEnabled) |
| 1596 | { |
| 1597 | #if ENABLE(SMOOTH_SCROLLING) |
| 1598 | m_page->settings().setScrollAnimatorEnabled(scrollAnimatorEnabled); |
| 1599 | #else |
| 1600 | UNUSED_PARAM(scrollAnimatorEnabled); |
| 1601 | #endif |
| 1602 | } |
| 1603 | |
| 1604 | void InternalSettingsGenerated::setScrollingCoordinatorEnabled(bool scrollingCoordinatorEnabled) |
| 1605 | { |
| 1606 | m_page->settings().setScrollingCoordinatorEnabled(scrollingCoordinatorEnabled); |
| 1607 | } |
| 1608 | |
| 1609 | void InternalSettingsGenerated::setScrollingPerformanceLoggingEnabled(bool scrollingPerformanceLoggingEnabled) |
| 1610 | { |
| 1611 | m_page->settings().setScrollingPerformanceLoggingEnabled(scrollingPerformanceLoggingEnabled); |
| 1612 | } |
| 1613 | |
| 1614 | void InternalSettingsGenerated::setScrollingTreeIncludesFrames(bool scrollingTreeIncludesFrames) |
| 1615 | { |
| 1616 | m_page->settings().setScrollingTreeIncludesFrames(scrollingTreeIncludesFrames); |
| 1617 | } |
| 1618 | |
| 1619 | void InternalSettingsGenerated::setSelectTrailingWhitespaceEnabled(bool selectTrailingWhitespaceEnabled) |
| 1620 | { |
| 1621 | m_page->settings().setSelectTrailingWhitespaceEnabled(selectTrailingWhitespaceEnabled); |
| 1622 | } |
| 1623 | |
| 1624 | void InternalSettingsGenerated::setSelectionAcrossShadowBoundariesEnabled(bool selectionAcrossShadowBoundariesEnabled) |
| 1625 | { |
| 1626 | m_page->settings().setSelectionAcrossShadowBoundariesEnabled(selectionAcrossShadowBoundariesEnabled); |
| 1627 | } |
| 1628 | |
| 1629 | void InternalSettingsGenerated::setSelectionPaintingWithoutSelectionGapsEnabled(bool selectionPaintingWithoutSelectionGapsEnabled) |
| 1630 | { |
| 1631 | m_page->settings().setSelectionPaintingWithoutSelectionGapsEnabled(selectionPaintingWithoutSelectionGapsEnabled); |
| 1632 | } |
| 1633 | |
| 1634 | void InternalSettingsGenerated::setServiceControlsEnabled(bool serviceControlsEnabled) |
| 1635 | { |
| 1636 | #if ENABLE(SERVICE_CONTROLS) |
| 1637 | m_page->settings().setServiceControlsEnabled(serviceControlsEnabled); |
| 1638 | #else |
| 1639 | UNUSED_PARAM(serviceControlsEnabled); |
| 1640 | #endif |
| 1641 | } |
| 1642 | |
| 1643 | void InternalSettingsGenerated::setSessionStorageQuota(unsigned sessionStorageQuota) |
| 1644 | { |
| 1645 | m_page->settings().setSessionStorageQuota(sessionStorageQuota); |
| 1646 | } |
| 1647 | |
| 1648 | void InternalSettingsGenerated::setShouldAllowUserInstalledFonts(bool shouldAllowUserInstalledFonts) |
| 1649 | { |
| 1650 | m_page->settings().setShouldAllowUserInstalledFonts(shouldAllowUserInstalledFonts); |
| 1651 | } |
| 1652 | |
| 1653 | void InternalSettingsGenerated::setShouldConvertInvalidURLsToBlank(bool shouldConvertInvalidURLsToBlank) |
| 1654 | { |
| 1655 | m_page->settings().setShouldConvertInvalidURLsToBlank(shouldConvertInvalidURLsToBlank); |
| 1656 | } |
| 1657 | |
| 1658 | void InternalSettingsGenerated::setShouldConvertPositionStyleOnCopy(bool shouldConvertPositionStyleOnCopy) |
| 1659 | { |
| 1660 | m_page->settings().setShouldConvertPositionStyleOnCopy(shouldConvertPositionStyleOnCopy); |
| 1661 | } |
| 1662 | |
| 1663 | void InternalSettingsGenerated::setShouldDecidePolicyBeforeLoadingQuickLookPreview(bool shouldDecidePolicyBeforeLoadingQuickLookPreview) |
| 1664 | { |
| 1665 | m_page->settings().setShouldDecidePolicyBeforeLoadingQuickLookPreview(shouldDecidePolicyBeforeLoadingQuickLookPreview); |
| 1666 | } |
| 1667 | |
| 1668 | void InternalSettingsGenerated::setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad(bool shouldDeferAsynchronousScriptsUntilAfterDocumentLoad) |
| 1669 | { |
| 1670 | m_page->settings().setShouldDeferAsynchronousScriptsUntilAfterDocumentLoad(shouldDeferAsynchronousScriptsUntilAfterDocumentLoad); |
| 1671 | } |
| 1672 | |
| 1673 | void InternalSettingsGenerated::setShouldDispatchSyntheticMouseEventsWhenModifyingSelection(bool shouldDispatchSyntheticMouseEventsWhenModifyingSelection) |
| 1674 | { |
| 1675 | m_page->settings().setShouldDispatchSyntheticMouseEventsWhenModifyingSelection(shouldDispatchSyntheticMouseEventsWhenModifyingSelection); |
| 1676 | } |
| 1677 | |
| 1678 | void InternalSettingsGenerated::setShouldDisplayCaptions(bool shouldDisplayCaptions) |
| 1679 | { |
| 1680 | #if ENABLE(VIDEO_TRACK) |
| 1681 | m_page->settings().setShouldDisplayCaptions(shouldDisplayCaptions); |
| 1682 | #else |
| 1683 | UNUSED_PARAM(shouldDisplayCaptions); |
| 1684 | #endif |
| 1685 | } |
| 1686 | |
| 1687 | void InternalSettingsGenerated::setShouldDisplaySubtitles(bool shouldDisplaySubtitles) |
| 1688 | { |
| 1689 | #if ENABLE(VIDEO_TRACK) |
| 1690 | m_page->settings().setShouldDisplaySubtitles(shouldDisplaySubtitles); |
| 1691 | #else |
| 1692 | UNUSED_PARAM(shouldDisplaySubtitles); |
| 1693 | #endif |
| 1694 | } |
| 1695 | |
| 1696 | void InternalSettingsGenerated::setShouldDisplayTextDescriptions(bool shouldDisplayTextDescriptions) |
| 1697 | { |
| 1698 | #if ENABLE(VIDEO_TRACK) |
| 1699 | m_page->settings().setShouldDisplayTextDescriptions(shouldDisplayTextDescriptions); |
| 1700 | #else |
| 1701 | UNUSED_PARAM(shouldDisplayTextDescriptions); |
| 1702 | #endif |
| 1703 | } |
| 1704 | |
| 1705 | void InternalSettingsGenerated::setShouldEnableTextAutosizingBoost(bool shouldEnableTextAutosizingBoost) |
| 1706 | { |
| 1707 | #if ENABLE(TEXT_AUTOSIZING) |
| 1708 | m_page->settings().setShouldEnableTextAutosizingBoost(shouldEnableTextAutosizingBoost); |
| 1709 | #else |
| 1710 | UNUSED_PARAM(shouldEnableTextAutosizingBoost); |
| 1711 | #endif |
| 1712 | } |
| 1713 | |
| 1714 | void InternalSettingsGenerated::setShouldIgnoreFontLoadCompletions(bool shouldIgnoreFontLoadCompletions) |
| 1715 | { |
| 1716 | m_page->settings().setShouldIgnoreFontLoadCompletions(shouldIgnoreFontLoadCompletions); |
| 1717 | } |
| 1718 | |
| 1719 | void InternalSettingsGenerated::setShouldIgnoreMetaViewport(bool shouldIgnoreMetaViewport) |
| 1720 | { |
| 1721 | m_page->settings().setShouldIgnoreMetaViewport(shouldIgnoreMetaViewport); |
| 1722 | } |
| 1723 | |
| 1724 | void InternalSettingsGenerated::setShouldInjectUserScriptsInInitialEmptyDocument(bool shouldInjectUserScriptsInInitialEmptyDocument) |
| 1725 | { |
| 1726 | m_page->settings().setShouldInjectUserScriptsInInitialEmptyDocument(shouldInjectUserScriptsInInitialEmptyDocument); |
| 1727 | } |
| 1728 | |
| 1729 | void InternalSettingsGenerated::setShouldPrintBackgrounds(bool shouldPrintBackgrounds) |
| 1730 | { |
| 1731 | m_page->settings().setShouldPrintBackgrounds(shouldPrintBackgrounds); |
| 1732 | } |
| 1733 | |
| 1734 | void InternalSettingsGenerated::setShouldRespectImageOrientation(bool shouldRespectImageOrientation) |
| 1735 | { |
| 1736 | m_page->settings().setShouldRespectImageOrientation(shouldRespectImageOrientation); |
| 1737 | } |
| 1738 | |
| 1739 | void InternalSettingsGenerated::setShouldSuppressTextInputFromEditingDuringProvisionalNavigation(bool shouldSuppressTextInputFromEditingDuringProvisionalNavigation) |
| 1740 | { |
| 1741 | m_page->settings().setShouldSuppressTextInputFromEditingDuringProvisionalNavigation(shouldSuppressTextInputFromEditingDuringProvisionalNavigation); |
| 1742 | } |
| 1743 | |
| 1744 | void InternalSettingsGenerated::setShowDebugBorders(bool showDebugBorders) |
| 1745 | { |
| 1746 | m_page->settings().setShowDebugBorders(showDebugBorders); |
| 1747 | } |
| 1748 | |
| 1749 | void InternalSettingsGenerated::setShowRepaintCounter(bool showRepaintCounter) |
| 1750 | { |
| 1751 | m_page->settings().setShowRepaintCounter(showRepaintCounter); |
| 1752 | } |
| 1753 | |
| 1754 | void InternalSettingsGenerated::setShowTiledScrollingIndicator(bool showTiledScrollingIndicator) |
| 1755 | { |
| 1756 | m_page->settings().setShowTiledScrollingIndicator(showTiledScrollingIndicator); |
| 1757 | } |
| 1758 | |
| 1759 | void InternalSettingsGenerated::setShowsToolTipOverTruncatedText(bool showsToolTipOverTruncatedText) |
| 1760 | { |
| 1761 | m_page->settings().setShowsToolTipOverTruncatedText(showsToolTipOverTruncatedText); |
| 1762 | } |
| 1763 | |
| 1764 | void InternalSettingsGenerated::setShowsURLsInToolTips(bool showsURLsInToolTips) |
| 1765 | { |
| 1766 | m_page->settings().setShowsURLsInToolTips(showsURLsInToolTips); |
| 1767 | } |
| 1768 | |
| 1769 | void InternalSettingsGenerated::setShrinksStandaloneImagesToFit(bool shrinksStandaloneImagesToFit) |
| 1770 | { |
| 1771 | m_page->settings().setShrinksStandaloneImagesToFit(shrinksStandaloneImagesToFit); |
| 1772 | } |
| 1773 | |
| 1774 | void InternalSettingsGenerated::setSimpleLineLayoutDebugBordersEnabled(bool simpleLineLayoutDebugBordersEnabled) |
| 1775 | { |
| 1776 | m_page->settings().setSimpleLineLayoutDebugBordersEnabled(simpleLineLayoutDebugBordersEnabled); |
| 1777 | } |
| 1778 | |
| 1779 | void InternalSettingsGenerated::setSimpleLineLayoutEnabled(bool simpleLineLayoutEnabled) |
| 1780 | { |
| 1781 | m_page->settings().setSimpleLineLayoutEnabled(simpleLineLayoutEnabled); |
| 1782 | } |
| 1783 | |
| 1784 | void InternalSettingsGenerated::setSmartInsertDeleteEnabled(bool smartInsertDeleteEnabled) |
| 1785 | { |
| 1786 | m_page->settings().setSmartInsertDeleteEnabled(smartInsertDeleteEnabled); |
| 1787 | } |
| 1788 | |
| 1789 | void InternalSettingsGenerated::setSnapshotAllPlugIns(bool snapshotAllPlugIns) |
| 1790 | { |
| 1791 | m_page->settings().setSnapshotAllPlugIns(snapshotAllPlugIns); |
| 1792 | } |
| 1793 | |
| 1794 | void InternalSettingsGenerated::setSourceBufferChangeTypeEnabled(bool sourceBufferChangeTypeEnabled) |
| 1795 | { |
| 1796 | #if ENABLE(MEDIA_SOURCE) |
| 1797 | m_page->settings().setSourceBufferChangeTypeEnabled(sourceBufferChangeTypeEnabled); |
| 1798 | #else |
| 1799 | UNUSED_PARAM(sourceBufferChangeTypeEnabled); |
| 1800 | #endif |
| 1801 | } |
| 1802 | |
| 1803 | void InternalSettingsGenerated::setSpatialNavigationEnabled(bool spatialNavigationEnabled) |
| 1804 | { |
| 1805 | m_page->settings().setSpatialNavigationEnabled(spatialNavigationEnabled); |
| 1806 | } |
| 1807 | |
| 1808 | void InternalSettingsGenerated::setSpringTimingFunctionEnabled(bool springTimingFunctionEnabled) |
| 1809 | { |
| 1810 | m_page->settings().setSpringTimingFunctionEnabled(springTimingFunctionEnabled); |
| 1811 | } |
| 1812 | |
| 1813 | void InternalSettingsGenerated::setStandalone(bool standalone) |
| 1814 | { |
| 1815 | m_page->settings().setStandalone(standalone); |
| 1816 | } |
| 1817 | |
| 1818 | void InternalSettingsGenerated::setStorageAccessAPIEnabled(bool storageAccessAPIEnabled) |
| 1819 | { |
| 1820 | m_page->settings().setStorageAccessAPIEnabled(storageAccessAPIEnabled); |
| 1821 | } |
| 1822 | |
| 1823 | void InternalSettingsGenerated::setSubpixelAntialiasedLayerTextEnabled(bool subpixelAntialiasedLayerTextEnabled) |
| 1824 | { |
| 1825 | m_page->settings().setSubpixelAntialiasedLayerTextEnabled(subpixelAntialiasedLayerTextEnabled); |
| 1826 | } |
| 1827 | |
| 1828 | void InternalSettingsGenerated::setSubpixelCSSOMElementMetricsEnabled(bool subpixelCSSOMElementMetricsEnabled) |
| 1829 | { |
| 1830 | m_page->settings().setSubpixelCSSOMElementMetricsEnabled(subpixelCSSOMElementMetricsEnabled); |
| 1831 | } |
| 1832 | |
| 1833 | void InternalSettingsGenerated::setSubresourceIntegrityEnabled(bool subresourceIntegrityEnabled) |
| 1834 | { |
| 1835 | m_page->settings().setSubresourceIntegrityEnabled(subresourceIntegrityEnabled); |
| 1836 | } |
| 1837 | |
| 1838 | void InternalSettingsGenerated::setSuppressesIncrementalRendering(bool suppressesIncrementalRendering) |
| 1839 | { |
| 1840 | m_page->settings().setSuppressesIncrementalRendering(suppressesIncrementalRendering); |
| 1841 | } |
| 1842 | |
| 1843 | void InternalSettingsGenerated::setTelephoneNumberParsingEnabled(bool telephoneNumberParsingEnabled) |
| 1844 | { |
| 1845 | m_page->settings().setTelephoneNumberParsingEnabled(telephoneNumberParsingEnabled); |
| 1846 | } |
| 1847 | |
| 1848 | void InternalSettingsGenerated::setTemporaryTileCohortRetentionEnabled(bool temporaryTileCohortRetentionEnabled) |
| 1849 | { |
| 1850 | m_page->settings().setTemporaryTileCohortRetentionEnabled(temporaryTileCohortRetentionEnabled); |
| 1851 | } |
| 1852 | |
| 1853 | void InternalSettingsGenerated::setTextAreasAreResizable(bool textAreasAreResizable) |
| 1854 | { |
| 1855 | m_page->settings().setTextAreasAreResizable(textAreasAreResizable); |
| 1856 | } |
| 1857 | |
| 1858 | void InternalSettingsGenerated::setTextAutosizingEnabled(bool textAutosizingEnabled) |
| 1859 | { |
| 1860 | #if ENABLE(TEXT_AUTOSIZING) |
| 1861 | m_page->settings().setTextAutosizingEnabled(textAutosizingEnabled); |
| 1862 | #else |
| 1863 | UNUSED_PARAM(textAutosizingEnabled); |
| 1864 | #endif |
| 1865 | } |
| 1866 | |
| 1867 | void InternalSettingsGenerated::setTextAutosizingUsesIdempotentMode(bool textAutosizingUsesIdempotentMode) |
| 1868 | { |
| 1869 | #if ENABLE(TEXT_AUTOSIZING) |
| 1870 | m_page->settings().setTextAutosizingUsesIdempotentMode(textAutosizingUsesIdempotentMode); |
| 1871 | #else |
| 1872 | UNUSED_PARAM(textAutosizingUsesIdempotentMode); |
| 1873 | #endif |
| 1874 | } |
| 1875 | |
| 1876 | void InternalSettingsGenerated::setThirdPartyIframeRedirectBlockingEnabled(bool thirdPartyIframeRedirectBlockingEnabled) |
| 1877 | { |
| 1878 | m_page->settings().setThirdPartyIframeRedirectBlockingEnabled(thirdPartyIframeRedirectBlockingEnabled); |
| 1879 | } |
| 1880 | |
| 1881 | void InternalSettingsGenerated::setTouchEventEmulationEnabled(bool touchEventEmulationEnabled) |
| 1882 | { |
| 1883 | #if ENABLE(TOUCH_EVENTS) |
| 1884 | m_page->settings().setTouchEventEmulationEnabled(touchEventEmulationEnabled); |
| 1885 | #else |
| 1886 | UNUSED_PARAM(touchEventEmulationEnabled); |
| 1887 | #endif |
| 1888 | } |
| 1889 | |
| 1890 | void InternalSettingsGenerated::setTreatIPAddressAsDomain(bool treatIPAddressAsDomain) |
| 1891 | { |
| 1892 | m_page->settings().setTreatIPAddressAsDomain(treatIPAddressAsDomain); |
| 1893 | } |
| 1894 | |
| 1895 | void InternalSettingsGenerated::setTreatsAnyTextCSSLinkAsStylesheet(bool treatsAnyTextCSSLinkAsStylesheet) |
| 1896 | { |
| 1897 | m_page->settings().setTreatsAnyTextCSSLinkAsStylesheet(treatsAnyTextCSSLinkAsStylesheet); |
| 1898 | } |
| 1899 | |
| 1900 | void InternalSettingsGenerated::setUnhandledPromiseRejectionToConsoleEnabled(bool unhandledPromiseRejectionToConsoleEnabled) |
| 1901 | { |
| 1902 | m_page->settings().setUnhandledPromiseRejectionToConsoleEnabled(unhandledPromiseRejectionToConsoleEnabled); |
| 1903 | } |
| 1904 | |
| 1905 | void InternalSettingsGenerated::setUnifiedTextCheckerEnabled(bool unifiedTextCheckerEnabled) |
| 1906 | { |
| 1907 | m_page->settings().setUnifiedTextCheckerEnabled(unifiedTextCheckerEnabled); |
| 1908 | } |
| 1909 | |
| 1910 | void InternalSettingsGenerated::setUseAnonymousModeWhenFetchingMaskImages(bool useAnonymousModeWhenFetchingMaskImages) |
| 1911 | { |
| 1912 | m_page->settings().setUseAnonymousModeWhenFetchingMaskImages(useAnonymousModeWhenFetchingMaskImages); |
| 1913 | } |
| 1914 | |
| 1915 | void InternalSettingsGenerated::setUseGiantTiles(bool useGiantTiles) |
| 1916 | { |
| 1917 | m_page->settings().setUseGiantTiles(useGiantTiles); |
| 1918 | } |
| 1919 | |
| 1920 | void InternalSettingsGenerated::setUseImageDocumentForSubframePDF(bool useImageDocumentForSubframePDF) |
| 1921 | { |
| 1922 | m_page->settings().setUseImageDocumentForSubframePDF(useImageDocumentForSubframePDF); |
| 1923 | } |
| 1924 | |
| 1925 | void InternalSettingsGenerated::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacyBackgroundSizeShorthandBehavior) |
| 1926 | { |
| 1927 | m_page->settings().setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundSizeShorthandBehavior); |
| 1928 | } |
| 1929 | |
| 1930 | void InternalSettingsGenerated::setUseLegacyTextAlignPositionedElementBehavior(bool useLegacyTextAlignPositionedElementBehavior) |
| 1931 | { |
| 1932 | m_page->settings().setUseLegacyTextAlignPositionedElementBehavior(useLegacyTextAlignPositionedElementBehavior); |
| 1933 | } |
| 1934 | |
| 1935 | void InternalSettingsGenerated::setUsePreHTML5ParserQuirks(bool usePreHTML5ParserQuirks) |
| 1936 | { |
| 1937 | m_page->settings().setUsePreHTML5ParserQuirks(usePreHTML5ParserQuirks); |
| 1938 | } |
| 1939 | |
| 1940 | void InternalSettingsGenerated::setUsesDashboardBackwardCompatibilityMode(bool usesDashboardBackwardCompatibilityMode) |
| 1941 | { |
| 1942 | #if ENABLE(DASHBOARD_SUPPORT) |
| 1943 | m_page->settings().setUsesDashboardBackwardCompatibilityMode(usesDashboardBackwardCompatibilityMode); |
| 1944 | #else |
| 1945 | UNUSED_PARAM(usesDashboardBackwardCompatibilityMode); |
| 1946 | #endif |
| 1947 | } |
| 1948 | |
| 1949 | void InternalSettingsGenerated::setUsesEncodingDetector(bool usesEncodingDetector) |
| 1950 | { |
| 1951 | m_page->settings().setUsesEncodingDetector(usesEncodingDetector); |
| 1952 | } |
| 1953 | |
| 1954 | void InternalSettingsGenerated::setUsesPageCache(bool usesPageCache) |
| 1955 | { |
| 1956 | m_page->settings().setUsesPageCache(usesPageCache); |
| 1957 | } |
| 1958 | |
| 1959 | void InternalSettingsGenerated::setValidationMessageTimerMagnification(int validationMessageTimerMagnification) |
| 1960 | { |
| 1961 | m_page->settings().setValidationMessageTimerMagnification(validationMessageTimerMagnification); |
| 1962 | } |
| 1963 | |
| 1964 | void InternalSettingsGenerated::setVideoPlaybackRequiresUserGesture(bool videoPlaybackRequiresUserGesture) |
| 1965 | { |
| 1966 | m_page->settings().setVideoPlaybackRequiresUserGesture(videoPlaybackRequiresUserGesture); |
| 1967 | } |
| 1968 | |
| 1969 | void InternalSettingsGenerated::setVideoQualityIncludesDisplayCompositingEnabled(bool videoQualityIncludesDisplayCompositingEnabled) |
| 1970 | { |
| 1971 | #if ENABLE(VIDEO) |
| 1972 | m_page->settings().setVideoQualityIncludesDisplayCompositingEnabled(videoQualityIncludesDisplayCompositingEnabled); |
| 1973 | #else |
| 1974 | UNUSED_PARAM(videoQualityIncludesDisplayCompositingEnabled); |
| 1975 | #endif |
| 1976 | } |
| 1977 | |
| 1978 | void InternalSettingsGenerated::setViewportFitEnabled(bool viewportFitEnabled) |
| 1979 | { |
| 1980 | m_page->settings().setViewportFitEnabled(viewportFitEnabled); |
| 1981 | } |
| 1982 | |
| 1983 | void InternalSettingsGenerated::setVisualViewportAPIEnabled(bool visualViewportAPIEnabled) |
| 1984 | { |
| 1985 | m_page->settings().setVisualViewportAPIEnabled(visualViewportAPIEnabled); |
| 1986 | } |
| 1987 | |
| 1988 | void InternalSettingsGenerated::setVisualViewportEnabled(bool visualViewportEnabled) |
| 1989 | { |
| 1990 | m_page->settings().setVisualViewportEnabled(visualViewportEnabled); |
| 1991 | } |
| 1992 | |
| 1993 | void InternalSettingsGenerated::setWantsBalancedSetDefersLoadingBehavior(bool wantsBalancedSetDefersLoadingBehavior) |
| 1994 | { |
| 1995 | m_page->settings().setWantsBalancedSetDefersLoadingBehavior(wantsBalancedSetDefersLoadingBehavior); |
| 1996 | } |
| 1997 | |
| 1998 | void InternalSettingsGenerated::setWebArchiveDebugModeEnabled(bool webArchiveDebugModeEnabled) |
| 1999 | { |
| 2000 | #if ENABLE(WEB_ARCHIVE) |
| 2001 | m_page->settings().setWebArchiveDebugModeEnabled(webArchiveDebugModeEnabled); |
| 2002 | #else |
| 2003 | UNUSED_PARAM(webArchiveDebugModeEnabled); |
| 2004 | #endif |
| 2005 | } |
| 2006 | |
| 2007 | void InternalSettingsGenerated::setWebAudioEnabled(bool webAudioEnabled) |
| 2008 | { |
| 2009 | m_page->settings().setWebAudioEnabled(webAudioEnabled); |
| 2010 | } |
| 2011 | |
| 2012 | void InternalSettingsGenerated::setWebGLEnabled(bool webGLEnabled) |
| 2013 | { |
| 2014 | m_page->settings().setWebGLEnabled(webGLEnabled); |
| 2015 | } |
| 2016 | |
| 2017 | void InternalSettingsGenerated::setWebGLErrorsToConsoleEnabled(bool webGLErrorsToConsoleEnabled) |
| 2018 | { |
| 2019 | m_page->settings().setWebGLErrorsToConsoleEnabled(webGLErrorsToConsoleEnabled); |
| 2020 | } |
| 2021 | |
| 2022 | void InternalSettingsGenerated::setWebSecurityEnabled(bool webSecurityEnabled) |
| 2023 | { |
| 2024 | m_page->settings().setWebSecurityEnabled(webSecurityEnabled); |
| 2025 | } |
| 2026 | |
| 2027 | void InternalSettingsGenerated::setWebkitImageReadyEventEnabled(bool webkitImageReadyEventEnabled) |
| 2028 | { |
| 2029 | m_page->settings().setWebkitImageReadyEventEnabled(webkitImageReadyEventEnabled); |
| 2030 | } |
| 2031 | |
| 2032 | void InternalSettingsGenerated::setWindowFocusRestricted(bool windowFocusRestricted) |
| 2033 | { |
| 2034 | m_page->settings().setWindowFocusRestricted(windowFocusRestricted); |
| 2035 | } |
| 2036 | |
| 2037 | void InternalSettingsGenerated::setXSSAuditorEnabled(bool xssAuditorEnabled) |
| 2038 | { |
| 2039 | m_page->settings().setXSSAuditorEnabled(xssAuditorEnabled); |
| 2040 | } |
| 2041 | |
| 2042 | void InternalSettingsGenerated::setYouTubeFlashPluginReplacementEnabled(bool youTubeFlashPluginReplacementEnabled) |
| 2043 | { |
| 2044 | m_page->settings().setYouTubeFlashPluginReplacementEnabled(youTubeFlashPluginReplacementEnabled); |
| 2045 | } |
| 2046 | |
| 2047 | } // namespace WebCore |
| 2048 | |