Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2878573003: Initial skeleton of high-contrast mode. (Closed)
Patch Set: Don't pass settings to GraphicsLayer, address other feedback from chrishtr Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 name: "doNotUpdateSelectionOnMutatingSelectionRange", 917 name: "doNotUpdateSelectionOnMutatingSelectionRange",
918 initial: false, 918 initial: false,
919 }, 919 },
920 920
921 // Defines the autoplay policy to use. 921 // Defines the autoplay policy to use.
922 { 922 {
923 name: "autoplayPolicy", 923 name: "autoplayPolicy",
924 type: "AutoplayPolicy::Type", 924 type: "AutoplayPolicy::Type",
925 initial: "AutoplayPolicy::Type::kNoUserGestureRequired", 925 initial: "AutoplayPolicy::Type::kNoUserGestureRequired",
926 }, 926 },
927
928 //
929 // High contrast mode
930 //
931 {
932 name: "highContrastMode",
933 initial: "HighContrastMode::kOff",
934 type: "HighContrastMode",
935 },
936 {
937 name: "highContrastGrayscale",
938 initial: false,
939 },
940 {
941 name: "highContrastContrast",
942 initial: 0,
943 type: "double",
944 }
927 ], 945 ],
928 } 946 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698