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

Unified Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2878573003: Initial skeleton of high-contrast mode. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/Settings.json5
diff --git a/third_party/WebKit/Source/core/frame/Settings.json5 b/third_party/WebKit/Source/core/frame/Settings.json5
index a45cdb299e2455bb8b8b4b9dfb3f0d94d09f3ce8..798ae0f0dc91bb2b33605b092478f0d49588d288 100644
--- a/third_party/WebKit/Source/core/frame/Settings.json5
+++ b/third_party/WebKit/Source/core/frame/Settings.json5
@@ -931,5 +931,23 @@
type: "AutoplayPolicy::Type",
initial: "AutoplayPolicy::Type::kNoUserGestureRequired",
},
+
+ //
+ // High contrast mode
+ //
+ {
+ name: "highContrastMode",
+ initial: "HighContrastMode::kOff",
+ type: "HighContrastMode",
+ },
+ {
+ name: "highContrastGrayscale",
+ initial: false,
+ },
+ {
+ name: "highContrastContrast",
+ initial: 0,
+ type: "double",
+ }
],
}

Powered by Google App Engine
This is Rietveld 408576698