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

Unified Diff: chrome/browser/accessibility/accessibility_extension_api.h

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
« no previous file with comments | « no previous file | chrome/browser/accessibility/accessibility_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/accessibility_extension_api.h
diff --git a/chrome/browser/accessibility/accessibility_extension_api.h b/chrome/browser/accessibility/accessibility_extension_api.h
index 04078de0412ccd5260c9d94b73e2aaaf04c0bcc4..3784ec4eb92802c14eeec2ca36ddf8f7f67b5cf8 100644
--- a/chrome/browser/accessibility/accessibility_extension_api.h
+++ b/chrome/browser/accessibility/accessibility_extension_api.h
@@ -41,4 +41,13 @@ class AccessibilityPrivateSetKeyboardListenerFunction
ACCESSIBILITY_PRIVATE_SETKEYBOARDLISTENER)
};
+// API function that darkens or undarkens the screen.
+class AccessibilityPrivateDarkenScreenFunction
+ : public UIThreadExtensionFunction {
+ ~AccessibilityPrivateDarkenScreenFunction() override {}
+ ResponseAction Run() override;
+ DECLARE_EXTENSION_FUNCTION("accessibilityPrivate.darkenScreen",
+ ACCESSIBILITY_PRIVATE_DARKENSCREEN)
+};
+
#endif // CHROME_BROWSER_ACCESSIBILITY_ACCESSIBILITY_EXTENSION_API_H_
« no previous file with comments | « no previous file | chrome/browser/accessibility/accessibility_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698