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

Unified Diff: chrome/common/extensions/api/accessibility_private.json

Issue 2768703002: Wire up an api to darken screen for accessibility (Closed)
Patch Set: Rebase. Created 3 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: chrome/common/extensions/api/accessibility_private.json
diff --git a/chrome/common/extensions/api/accessibility_private.json b/chrome/common/extensions/api/accessibility_private.json
index 0b874da2429c64d47c67b0051bbd9793008ad313..f5b53a8ceefc59efa8a1360a98908c38b0934933 100644
--- a/chrome/common/extensions/api/accessibility_private.json
+++ b/chrome/common/extensions/api/accessibility_private.json
@@ -82,6 +82,18 @@
"description": "True if key events should be swallowed natively and not propagated if preventDefault() gets called by the extension's background page."
}
]
+ },
+ {
+ "name": "darkenScreen",
+ "type": "function",
+ "description": "Darkens or undarkens the screen.",
+ "parameters": [
+ {
+ "type": "boolean",
+ "name": "enabled",
+ "description": "True to darken screen; false to undarken screen."
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698