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

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

Issue 2878573003: Initial skeleton of high-contrast mode. (Closed)
Patch Set: Created 3 years, 7 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 7cac80b9b7fc1e797a51ad45ec564bee1cc00b09..86fd8a726d112f2d6eb735237d7591fe9d27936f 100644
--- a/third_party/WebKit/Source/core/frame/Settings.json5
+++ b/third_party/WebKit/Source/core/frame/Settings.json5
@@ -927,5 +927,23 @@
name: "doNotUpdateSelectionOnMutatingSelectionRange",
initial: false,
},
+
+ //
+ // 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