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

Unified Diff: chrome/browser/chromeos/accessibility_util.h

Issue 7550027: Make it possible to load ChromeVox on the oobe and login screens. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/chromeos/accessibility_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility_util.h
===================================================================
--- chrome/browser/chromeos/accessibility_util.h (revision 95578)
+++ chrome/browser/chromeos/accessibility_util.h (working copy)
@@ -6,12 +6,21 @@
#define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_UTIL_H_
#pragma once
+class WebUI;
+
namespace chromeos {
namespace accessibility {
-void EnableAccessibility(bool enabled);
-void ToggleAccessibility();
+// Enable or disable accessibility. Enabling accessibility installs the
+// ChromeVox component extension. If this is being called in a login/oobe
+// login screen, pass the WebUI object in login_web_ui so that ChromeVox
+// can be injected directly into that screen, otherwise it should be NULL.
+void EnableAccessibility(bool enabled, WebUI* login_web_ui);
+// Toggles whether Chrome OS accessibility is on or off. See docs for
+// EnableAccessibility, above.
+void ToggleAccessibility(WebUI* login_web_ui);
+
} // namespace accessibility
} // namespace chromeos
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698