Home | History | Annotate | Download | only in page
      1 # FIXME: Add support for global settings.
      2 # FIXME: Add support for custom getters/setters.
      3 
      4 defaultTextEncodingName type=String
      5 editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
      6 passwordEchoDurationInSeconds type=double, initial=1
      7 
      8 # Sets the magnification value for validation message timer.  If the
      9 # magnification value is N, a validation message disappears automatically after
     10 # <message length> * N / 1000 seconds.  If N is equal to or less than 0, a
     11 # validation message doesn't disappears automaticaly.
     12 validationMessageTimerMagnification type=int, initial=50
     13 
     14 # Number of pixels below which 2D canvas is rendered in software
     15 # even if hardware acceleration is enabled.
     16 # Hardware acceleration is useful for large canvases where it can avoid the
     17 # pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
     18 # a price - extra back-buffer and texture copy. Small canvases are also
     19 # widely used for stylized fonts. Anti-aliasing text in hardware at that
     20 # scale is generally slower. So below a certain size it is better to
     21 # draw canvas in software.
     22 minimumAccelerated2dCanvasSize type=int, initial=257*256
     23 
     24 layoutFallbackWidth type=int, initial=980
     25 
     26 minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
     27 minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
     28 defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
     29 defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
     30 
     31 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
     32 
     33 caretBrowsingEnabled initial=false
     34 localStorageEnabled initial=false
     35 allowUniversalAccessFromFileURLs initial=true
     36 allowFileAccessFromFileURLs initial=true
     37 javaScriptCanOpenWindowsAutomatically initial=false
     38 supportsMultipleWindows initial=true
     39 javaScriptCanAccessClipboard initial=false
     40 shouldPrintBackgrounds initial=false
     41 shouldClearDocumentBackground initial=true
     42 
     43 textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
     44 authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
     45 acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
     46 showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
     47 
     48 shrinksStandaloneImagesToFit initial=true
     49 pageCacheSupportsPlugins initial=false
     50 needsSiteSpecificQuirks initial=false
     51 offlineWebApplicationCacheEnabled initial=false
     52 usesEncodingDetector initial=false
     53 allowScriptsToCloseWindows initial=false
     54 acceleratedFiltersEnabled initial=false
     55 regionBasedColumnsEnabled initial=false
     56 
     57 # FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
     58 # they can't use by. Leaving enabled for now to not change existing behavior.
     59 downloadableBinaryFontsEnabled initial=true
     60 
     61 xssAuditorEnabled initial=false
     62 unsafePluginPastingEnabled initial=true
     63 acceleratedCompositingFor3DTransformsEnabled initial=true
     64 acceleratedCompositingForVideoEnabled initial=true
     65 acceleratedCompositingForPluginsEnabled initial=true
     66 acceleratedCompositingForCanvasEnabled initial=true
     67 acceleratedCompositingForAnimationEnabled initial=true
     68 acceleratedCompositingForFiltersEnabled initial=false
     69 acceleratedCompositingForFixedPositionEnabled initial=false
     70 acceleratedCompositingForOverflowScrollEnabled initial=false
     71 acceleratedCompositingForTransitionEnabled initial=false
     72 acceleratedCompositingForFixedRootBackgroundEnabled initial=false
     73 
     74 # Works only in conjunction with forceCompositingMode.
     75 acceleratedCompositingForScrollableFramesEnabled initial=false
     76 compositedScrollingForFramesEnabled initial=false
     77 
     78 webGLEnabled initial=false
     79 webGLErrorsToConsoleEnabled initial=true
     80 privilegedWebGLExtensionsEnabled initial=false
     81 accelerated2dCanvasEnabled initial=false
     82 antialiased2dCanvasEnabled initial=true
     83 webAudioEnabled initial=false
     84 fullScreenEnabled initial=false
     85 asynchronousSpellCheckingEnabled initial=false
     86 memoryInfoEnabled initial=false
     87 
     88 hyperlinkAuditingEnabled initial=false
     89 forceCompositingMode initial=false
     90 allowDisplayOfInsecureContent initial=true
     91 allowRunningOfInsecureContent initial=true
     92 mediaPlaybackRequiresUserGesture initial=false
     93 passwordEchoEnabled initial=false
     94 visualWordMovementEnabled initial=false
     95 shouldDisplaySubtitles initial=false
     96 shouldDisplayCaptions initial=false
     97 shouldDisplayTextDescriptions initial=false
     98 scrollingCoordinatorEnabled initial=false
     99 scrollAnimatorEnabled initial=true
    100 
    101 shouldRespectImageOrientation initial=false
    102 deviceSupportsTouch initial=false
    103 deviceSupportsMouse initial=true
    104 
    105 touchAdjustmentEnabled initial=true
    106 compositorTouchHitTesting initial=true
    107 
    108 fixedPositionCreatesStackingContext initial=false
    109 syncXHRInDocumentsEnabled initial=true
    110 cookieEnabled initial=true
    111 mediaEnabled initial=true
    112 DOMPasteAllowed initial=false
    113 
    114 threadedHTMLParser initial=false
    115 useThreadedHTMLParserForDataURLs initial=false
    116 
    117 applyPageScaleFactorInCompositor initial=false
    118 
    119 allowCustomScrollbarInMainFrame initial=true
    120 webSecurityEnabled initial=true
    121 spatialNavigationEnabled initial=false
    122 
    123 # This setting adds a means to enable/disable touch initiated drag & drop. If
    124 # enabled, the user can initiate drag using long press.
    125 touchDragDropEnabled initial=false
    126 
    127 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
    128 
    129 # Some apps could have a default video poster if it is not set.
    130 defaultVideoPosterURL type=String
    131 
    132 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
    133 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
    134 
    135 selectionIncludesAltImageText initial=false
    136 useLegacyBackgroundSizeShorthandBehavior initial=false
    137 # This quirk is to maintain compatibility with Android apps built on
    138 # the Android SDK prior to and including version 18. Presumably, this
    139 # can be removed any time after 2015. See http://crbug.com/282130.
    140 viewportMetaZeroValuesQuirk initial=false
    141 # Another Android SDK <= 18 quirk, removable 2015.  http://crbug.com/295287
    142 ignoreMainFrameOverflowHiddenQuirk initial=false
    143 # Yet another Android SDK <= 18 quirk, removable 2015.
    144 # See http://crbug.com/305236
    145 reportScreenSizeInPhysicalPixelsQuirk initial=false
    146 # One more Android SDK <= 18 quirk, removable 2015.
    147 # See http://crbug.com/306548
    148 viewportMetaMergeQuirk initial=false
    149 # This quirk is to maintain compatibility with Android apps.
    150 # It will be possible to remove it once WebSettings.{get|set}UseWideViewPort
    151 # API function will be removed. See http://crbug.com/288037.
    152 wideViewportQuirkEnabled initial=false
    153 
    154 # This setting enables touch based text selection and editing.
    155 touchEditingEnabled initial=false
    156 
    157 experimentalWebSocketEnabled initial=false
    158 pinchVirtualViewportEnabled initial=false
    159