Lines Matching refs:Settings
158 #import <WebCore/Settings.h>
719 Settings::setDefaultMinDOMTimerInterval(0.004);
740 _private->page->settings()->setLocalStorageDatabasePath([[self preferences] _localStorageDatabasePath]);
743 _private->page->settings()->setShouldInjectUserScriptsInInitialEmptyDocument(true);
1435 || (_private->page && _private->page->settings()->usesDashboardBackwardCompatibilityMode())
1461 // Update corresponding WebCore Settings object.
1465 Settings* settings = _private->page->settings();
1467 settings->setCursiveFontFamily([preferences cursiveFontFamily]);
1468 settings->setDefaultFixedFontSize([preferences defaultFixedFontSize]);
1469 settings->setDefaultFontSize([preferences defaultFontSize]);
1470 settings->setDefaultTextEncodingName([preferences defaultTextEncodingName]);
1471 settings->setUsesEncodingDetector([preferences usesEncodingDetector]);
1472 settings->setFantasyFontFamily([preferences fantasyFontFamily]);
1473 settings->setFixedFontFamily([preferences fixedFontFamily]);
1474 settings->setForceFTPDirectoryListings([preferences _forceFTPDirectoryListings]);
1475 settings->setFTPDirectoryTemplatePath([preferences _ftpDirectoryTemplatePath]);
1476 settings->setLocalStorageDatabasePath([preferences _localStorageDatabasePath]);
1477 settings->setJavaEnabled([preferences isJavaEnabled]);
1478 settings->setJavaScriptEnabled([preferences isJavaScriptEnabled]);
1479 settings->setWebSecurityEnabled([preferences isWebSecurityEnabled]);
1480 settings->setAllowUniversalAccessFromFileURLs([preferences allowUniversalAccessFromFileURLs]);
1481 settings->setAllowFileAccessFromFileURLs([preferences allowFileAccessFromFileURLs]);
1482 settings->setJavaScriptCanOpenWindowsAutomatically([preferences javaScriptCanOpenWindowsAutomatically]);
1483 settings->setMinimumFontSize([preferences minimumFontSize]);
1484 settings->setMinimumLogicalFontSize([preferences minimumLogicalFontSize]);
1485 settings->setPluginsEnabled([preferences arePlugInsEnabled]);
1489 settings->setLocalStorageEnabled([preferences localStorageEnabled]);
1490 settings->setExperimentalNotificationsEnabled([preferences experimentalNotificationsEnabled]);
1491 settings->setPrivateBrowsingEnabled([preferences privateBrowsingEnabled]);
1492 settings->setSansSerifFontFamily([preferences sansSerifFontFamily]);
1493 settings->setSerifFontFamily([preferences serifFontFamily]);
1494 settings->setStandardFontFamily([preferences standardFontFamily]);
1495 settings->setLoadsImagesAutomatically([preferences loadsImagesAutomatically]);
1496 settings->setLoadsSiteIconsIgnoringImageLoadingSetting([preferences loadsSiteIconsIgnoringImageLoadingPreference]);
1497 settings->setShouldPrintBackgrounds([preferences shouldPrintBackgrounds]);
1498 settings->setTextAreasAreResizable([preferences textAreasAreResizable]);
1499 settings->setShrinksStandaloneImagesToFit([preferences shrinksStandaloneImagesToFit]);
1500 settings->setEditableLinkBehavior(core([preferences editableLinkBehavior]));
1501 settings->setEditingBehaviorType(core([preferences editingBehavior]));
1502 settings->setTextDirectionSubmenuInclusionBehavior(core([preferences textDirectionSubmenuInclusionBehavior]));
1503 settings->setDOMPasteAllowed([preferences isDOMPasteAllowed]);
1504 settings->setUsesPageCache([self usesPageCache]);
1505 settings->setShowsURLsInToolTips([preferences showsURLsInToolTips]);
1506 settings->setDeveloperExtrasEnabled([preferences developerExtrasEnabled]);
1507 settings->setAuthorAndUserStylesEnabled([preferences authorAndUserStylesEnabled]);
1508 settings->setApplicationChromeMode([preferences applicationChromeModeEnabled]);
1513 settings->setUserStyleSheetLocation([NSURL URLWithString:(location ? location : @"")]);
1515 settings->setUserStyleSheetLocation([NSURL URLWithString:@""]);
1516 settings->setNeedsAdobeFrameReloadingQuirk([self _needsAdobeFrameReloadingQuirk]);
1517 settings->setTreatsAnyTextCSSLinkAsStylesheet([self _needsLinkElementTextCSSQuirk]);
1518 settings->setNeedsKeyboardEventDisambiguationQuirks([self _needsKeyboardEventDisambiguationQuirks]);
1519 settings->setNeedsLeopardMailQuirks(runningLeopardMail());
1520 settings->setNeedsTigerMailQuirks(runningTigerMail());
1521 settings->setNeedsSiteSpecificQuirks(_private->useSiteSpecificSpoofing);
1522 settings->setWebArchiveDebugModeEnabled([preferences webArchiveDebugModeEnabled]);
1523 settings->setLocalFileContentSniffingEnabled([preferences localFileContentSniffingEnabled]);
1524 settings->setOfflineWebApplicationCacheEnabled([preferences offlineWebApplicationCacheEnabled]);
1525 settings->setJavaScriptCanAccessClipboard([preferences javaScriptCanAccessClipboard]);
1526 settings->setXSSAuditorEnabled([preferences isXSSAuditorEnabled]);
1527 settings->setEnforceCSSMIMETypeInNoQuirksMode(!WKAppVersionCheckLessThan(@"com.apple.iWeb", -1, 2.1));
1528 settings->setDNSPrefetchingEnabled([preferences isDNSPrefetchingEnabled]);
1532 settings->setAcceleratedCompositingEnabled((coreVideoHas7228836Fix() || [preferences webGLEnabled] ||
1534 settings->setAcceleratedDrawingEnabled([preferences acceleratedDrawingEnabled]);
1535 settings->setCanvasUsesAcceleratedDrawing([preferences canvasUsesAcceleratedDrawing]);
1536 settings->setShowDebugBorders([preferences showDebugBorders]);
1537 settings->setShowRepaintCounter([preferences showRepaintCounter]);
1538 settings->setPluginAllowedRunTime([preferences pluginAllowedRunTime]);
1539 settings->setWebAudioEnabled([preferences webAudioEnabled]);
1540 settings->setWebGLEnabled([preferences webGLEnabled]);
1541 settings->setAccelerated2dCanvasEnabled([preferences accelerated2dCanvasEnabled]);
1542 settings->setLoadDeferringEnabled(shouldEnableLoadDeferring());
1543 settings->setFrameFlatteningEnabled([preferences isFrameFlatteningEnabled]);
1544 settings->setSpatialNavigationEnabled([preferences isSpatialNavigationEnabled]);
1545 settings->setPaginateDuringLayoutEnabled([preferences paginateDuringLayoutEnabled]);
1547 settings->setFullScreenEnabled([preferences fullScreenEnabled]);
1551 settings->setAsynchronousSpellCheckingEnabled([preferences asynchronousSpellCheckingEnabled]);
1553 settings->setMemoryInfoEnabled([preferences memoryInfoEnabled]);
1554 settings->setHyperlinkAuditingEnabled([preferences hyperlinkAuditingEnabled]);
1555 settings->setUsePreHTML5ParserQuirks([self _needsPreHTML5ParserQuirks]);
1556 settings->setUseQuickLookResourceCachingQuirks([preferences useQuickLookResourceCachingQuirks]);
1557 settings->setCrossOriginCheckInGetMatchedCSSRulesDisabled([self _needsUnrestrictedGetMatchedCSSRules]);
1558 settings->setInteractiveFormValidationEnabled([self interactiveFormValidationEnabled]);
1559 settings->setValidationMessageTimerMagnification([self validationMessageTimerMagnification]);
1561 // Application Cache Preferences are stored on the global cache storage manager, not in Settings.
2080 _private->page->settings()->setUsesDashboardBackwardCompatibilityMode(true);
2101 _private->page->settings()->setUsesDashboardBackwardCompatibilityMode(flag);
2109 _private->page->settings()->setUsePreHTML5ParserQuirks([self _needsPreHTML5ParserQuirks]);
2128 return _private->page && _private->page->settings()->usesDashboardBackwardCompatibilityMode();
2300 // Update our own settings and post the public notification only
2820 return Settings::defaultMinDOMTimerInterval();
2826 _private->page->settings()->setMinDOMTimerInterval(intervalInSeconds);
3407 // After registering for the notification, post it so the WebCore settings update.