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

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

Issue 42743003: Adjust ChromeVox (spoken feedback) strings and make it possible for announcemen (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « chrome/app/chromeos_strings.grdp ('k') | 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 cf7508d53386cb7f082517cc0cbce6c810bc4db3..2ef765794baca91225bac1daf88438f4e66ea944 100644
--- a/chrome/browser/accessibility/accessibility_extension_api.h
+++ b/chrome/browser/accessibility/accessibility_extension_api.h
@@ -14,6 +14,10 @@
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "ui/base/accessibility/accessibility_types.h"
+namespace extensions {
+class ExtensionHost;
+} // namespace extensions
+
// Observes the profile and routes accessibility notifications as events
// to the extension system.
class ExtensionAccessibilityEventRouter {
@@ -54,6 +58,16 @@ class ExtensionAccessibilityEventRouter {
void HandleControlEvent(ui::AccessibilityTypes::Event event,
const AccessibilityControlInfo* info);
+ void OnChromeVoxLoadStateChanged(
+ Profile* profile,
+ bool loading,
+ bool make_announcements);
+
+ static void DispatchEventToChromeVox(
+ Profile* profile,
+ const char* event_name,
+ scoped_ptr<base::ListValue> event_args);
+
private:
friend struct DefaultSingletonTraits<ExtensionAccessibilityEventRouter>;
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/accessibility/accessibility_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698