OLD | NEW |
1 { | 1 { |
2 // Defines properties which are available on the Settings object. | 2 // Defines properties which are available on the Settings object. |
3 // | 3 // |
4 // Please think carefully before adding a new Setting. Some questions to | 4 // Please think carefully before adding a new Setting. Some questions to |
5 // consider are: | 5 // consider are: |
6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things | 6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things |
7 // which we support either values of at runtime. Features are set at render
er | 7 // which we support either values of at runtime. Features are set at render
er |
8 // process startup and are never changed. Features also tend to be set to a | 8 // process startup and are never changed. Features also tend to be set to a |
9 // value based on the platform or the stability of the code in question, whe
re | 9 // value based on the platform or the stability of the code in question, whe
re |
10 // as settings both codepaths need to be stable. | 10 // as settings both codepaths need to be stable. |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 initial: true, | 920 initial: true, |
921 invalidate: "MediaControls", | 921 invalidate: "MediaControls", |
922 }, | 922 }, |
923 | 923 |
924 // Whether we should not update selection attributes when mutating selection
range. | 924 // Whether we should not update selection attributes when mutating selection
range. |
925 // TODO(changwan): remove this flag when we no longer support Android M. | 925 // TODO(changwan): remove this flag when we no longer support Android M. |
926 { | 926 { |
927 name: "doNotUpdateSelectionOnMutatingSelectionRange", | 927 name: "doNotUpdateSelectionOnMutatingSelectionRange", |
928 initial: false, | 928 initial: false, |
929 }, | 929 }, |
| 930 |
| 931 // |
| 932 // High contrast mode |
| 933 // |
| 934 { |
| 935 name: "highContrastMode", |
| 936 initial: "HighContrastMode::kOff", |
| 937 type: "HighContrastMode", |
| 938 }, |
| 939 { |
| 940 name: "highContrastGrayscale", |
| 941 initial: false, |
| 942 }, |
| 943 { |
| 944 name: "highContrastContrast", |
| 945 initial: 0, |
| 946 type: "double", |
| 947 }, |
930 ], | 948 ], |
931 } | 949 } |
OLD | NEW |