| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 # 3D canvas (WebGL) support. | 54 # 3D canvas (WebGL) support. |
| 55 webGLEnabled initial=false | 55 webGLEnabled initial=false |
| 56 | 56 |
| 57 webGLErrorsToConsoleEnabled initial=true | 57 webGLErrorsToConsoleEnabled initial=true |
| 58 accelerated2dCanvasEnabled initial=false | 58 accelerated2dCanvasEnabled initial=false |
| 59 antialiased2dCanvasEnabled initial=true | 59 antialiased2dCanvasEnabled initial=true |
| 60 accelerated2dCanvasMSAASampleCount type=int, initial=0 | 60 accelerated2dCanvasMSAASampleCount type=int, initial=0 |
| 61 | 61 |
| 62 asynchronousSpellCheckingEnabled initial=false | 62 asynchronousSpellCheckingEnabled initial=false |
| 63 | 63 |
| 64 mediaPlaybackRequiresUserGesture initial=false | |
| 65 | |
| 66 # Used in layout tests for gesture tap highlights. Makes the highlights square | 64 # Used in layout tests for gesture tap highlights. Makes the highlights square |
| 67 # (rather than rounded) to make it possible to reftest the results. | 65 # (rather than rounded) to make it possible to reftest the results. |
| 68 mockGestureTapHighlightsEnabled initial=false | 66 mockGestureTapHighlightsEnabled initial=false |
| 69 | 67 |
| 70 shouldRespectImageOrientation initial=false | 68 shouldRespectImageOrientation initial=false |
| 71 | 69 |
| 72 # Limited use by features which behave differently depending on the input | 70 # Limited use by features which behave differently depending on the input |
| 73 # devices available. For example, the pointer and hover media queries. | 71 # devices available. For example, the pointer and hover media queries. |
| 74 # Note that we need to be careful when basing behavior or UI on this - | 72 # Note that we need to be careful when basing behavior or UI on this - |
| 75 # just because a device is present doesn't mean the user cares about it | 73 # just because a device is present doesn't mean the user cares about it |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 122 |
| 125 # These values are bit fields for the properties of available pointing devices | 123 # These values are bit fields for the properties of available pointing devices |
| 126 # and may take on multiple values (e.g. laptop with touchpad and touchscreen | 124 # and may take on multiple values (e.g. laptop with touchpad and touchscreen |
| 127 # has pointerType coarse *and* fine). | 125 # has pointerType coarse *and* fine). |
| 128 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery | 126 availablePointerTypes type=int, initial=PointerTypeNone, invalidate=MediaQuery |
| 129 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery | 127 availableHoverTypes type=int, initial=HoverTypeNone, invalidate=MediaQuery |
| 130 | 128 |
| 131 # These values specify properties of the user's primary pointing device only. | 129 # These values specify properties of the user's primary pointing device only. |
| 132 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery | 130 primaryPointerType type=PointerType, initial=PointerTypeNone, invalidate=MediaQu
ery |
| 133 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery | 131 primaryHoverType type=HoverType, initial=HoverTypeNone, invalidate=MediaQuery |
| OLD | NEW |