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

Unified Diff: content/public/browser/browser_accessibility_state.h

Issue 14473011: Adds new experimental accessibility extension api to enable or disable native accessibility. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Simplify naming. Created 7 years, 8 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 | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_accessibility_state.h
diff --git a/content/public/browser/browser_accessibility_state.h b/content/public/browser/browser_accessibility_state.h
index 16cf706d3867dbd6980bd406224fa9fc4ddca612..6f8d6d2c8c1a8e3db4a69f4a4bb4b901dc895693 100644
--- a/content/public/browser/browser_accessibility_state.h
+++ b/content/public/browser/browser_accessibility_state.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_BROWSER_ACCESSIBILITY_STATE_H_
#include "base/callback_forward.h"
+
jam 2013/05/02 22:34:06 nit: no blank line
#include "content/common/content_export.h"
namespace content {
@@ -20,8 +21,11 @@ class CONTENT_EXPORT BrowserAccessibilityState {
// Returns the singleton instance.
static BrowserAccessibilityState* GetInstance();
- // Called when accessibility is enabled manually (via command-line flag).
- virtual void OnAccessibilityEnabledManually() = 0;
+ // Enables accessibility for all running tabs.
jam 2013/05/02 22:34:06 nit: don't mention tabs in content, since that's a
+ virtual void EnableAccessibility() = 0;
+
+ // Disables accessibility for all running tabs.
+ virtual void DisableAccessibility() = 0;
// Called when screen reader client is detected.
virtual void OnScreenReaderDetected() = 0;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698