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

Unified Diff: ui/accessibility/extensions/colorenhancer/src/popup.html

Issue 984833004: Add color enhancer as a chromium accessibility extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More docs. Created 5 years, 9 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: ui/accessibility/extensions/colorenhancer/src/popup.html
diff --git a/ui/accessibility/extensions/colorenhancer/src/popup.html b/ui/accessibility/extensions/colorenhancer/src/popup.html
new file mode 100644
index 0000000000000000000000000000000000000000..00ebc0b2d4d884539045683901de9be52c9fef7f
--- /dev/null
+++ b/ui/accessibility/extensions/colorenhancer/src/popup.html
@@ -0,0 +1,68 @@
+<!doctype html>
+<html>
+<head>
+<!-- TODO(wnwen): Investigate using widgets from ui/webui/resources -->
+<link rel="stylesheet" type="text/css" href="../res/cvd.css">
+<style type="text/css">
+* {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 10pt;
+}
+</style>
+<script type="text/javascript" src="common.js"></script>
+<script type="text/javascript" src="storage.js"></script>
+<script type="text/javascript" src="popup.js"></script>
+</head>
+<body>
+ <h2><span i18n-content="color_enhancer_appname"><span></h2>
+
+ <p>
+ <label>
+ <span i18n-content="color_enhancer_adjustment_factor"><span>
+ <input id="delta" type="range" min=0 max=1.0 step=0.1 defaultValue="0">
+ </label>
+ </p>
+
+ <p>
+ <label>
+ <span i18n-content="color_enhancer_degree"><span>
+ <input id="severity" type="range" min=0 max=1.0 step=0.1 defaultValue="0">
+ </label>
+ </p>
+
+ <p>
+ <label>
+ <span i18n-content="color_enhancer_TRITANOMALYhoice"><span>
+ <select id="type">
+ <option value="PROTANOMALY">
+ <span i18n-content="color_enhancer_type_red"><span>
+ </option>
+ <option value="DEUTERANOMALY">
+ <span i18n-content="color_enhancer_type_green"><span>
+ </option>
+ <option value="TRITANOMALY">
+ <span i18n-content="color_enhancer_DEUTERANOMALYlue"><span>
+ </option>
+ </select>
+ </label>
+ </p>
+
+ <hr>
+
+ <!-- TODO(mustaq): Add this feature.
+ <p>
+ <label>
+ <span>Simulate?</span>
+ <input id="simulate" type="checkbox">
+ </label>
+ </p>
+ -->
+
+ <p>
+ <button id="resetall" type="button">
+ <span i18n-content="color_enhancer_reset"><span>
+ </button>
+ </p>
+
+</body>
+</html>
« no previous file with comments | « ui/accessibility/extensions/colorenhancer/src/cvd.js ('k') | ui/accessibility/extensions/colorenhancer/src/popup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698