| OLD | NEW |
| 1 # Defines properties which are available on the Settings object. | 1 # Defines properties which are available on the Settings object. |
| 2 # | 2 # |
| 3 # Please think carefully before adding a new Setting. Some questions to | 3 # Please think carefully before adding a new Setting. Some questions to |
| 4 # consider are: | 4 # consider are: |
| 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things | 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things |
| 6 # which we support either values of at runtime. Features are set at renderer | 6 # which we support either values of at runtime. Features are set at renderer |
| 7 # process startup and are never changed. Features also tend to be set to a | 7 # process startup and are never changed. Features also tend to be set to a |
| 8 # value based on the platform or the stability of the code in question, where | 8 # value based on the platform or the stability of the code in question, where |
| 9 # as settings both codepaths need to be stable. | 9 # as settings both codepaths need to be stable. |
| 10 # - How will you ensure test coverage of all relevant values of your setting? | 10 # - How will you ensure test coverage of all relevant values of your setting? |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 # scale is generally slower. So below a certain size it is better to | 35 # scale is generally slower. So below a certain size it is better to |
| 36 # draw canvas in software. | 36 # draw canvas in software. |
| 37 minimumAccelerated2dCanvasSize type=int, initial=257*256 | 37 minimumAccelerated2dCanvasSize type=int, initial=257*256 |
| 38 | 38 |
| 39 defaultFontSize type=int, initial=0, invalidate=Style | 39 defaultFontSize type=int, initial=0, invalidate=Style |
| 40 defaultFixedFontSize type=int, initial=0, invalidate=Style | 40 defaultFixedFontSize type=int, initial=0, invalidate=Style |
| 41 | 41 |
| 42 javaScriptCanAccessClipboard initial=false | 42 javaScriptCanAccessClipboard initial=false |
| 43 shouldClearDocumentBackground initial=true | 43 shouldClearDocumentBackground initial=true |
| 44 | 44 |
| 45 textAreasAreResizable initial=false, invalidate=Style | |
| 46 | |
| 47 deferredFiltersEnabled initial=true | 45 deferredFiltersEnabled initial=true |
| 48 | 46 |
| 49 containerCullingEnabled initial=false | 47 containerCullingEnabled initial=false |
| 50 | 48 |
| 51 # FIXME: This should really be disabled by default as it makes platforms that | 49 # FIXME: This should really be disabled by default as it makes platforms that |
| 52 # don't support the feature download files they can't use by. | 50 # don't support the feature download files they can't use by. |
| 53 # Leaving enabled for now to not change existing behavior. | 51 # Leaving enabled for now to not change existing behavior. |
| 54 downloadableBinaryFontsEnabled initial=true | 52 downloadableBinaryFontsEnabled initial=true |
| 55 | 53 |
| 56 preferCompositingToLCDTextEnabled initial=false, invalidate=AcceleratedCompositi
ng | 54 preferCompositingToLCDTextEnabled initial=false, invalidate=AcceleratedCompositi
ng |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 132 |
| 135 # These values are bit fields for the properties of available pointing devices | 133 # These values are bit fields for the properties of available pointing devices |
| 136 # and may take on multiple values (e.g. laptop with touchpad and touchscreen | 134 # and may take on multiple values (e.g. laptop with touchpad and touchscreen |
| 137 # has pointerType coarse *and* fine). | 135 # has pointerType coarse *and* fine). |
| 138 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery | 136 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery |
| 139 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery | 137 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery |
| 140 | 138 |
| 141 # These values specify properties of the user's primary pointing device only. | 139 # These values specify properties of the user's primary pointing device only. |
| 142 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery | 140 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery |
| 143 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery | 141 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery |
| OLD | NEW |