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

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: Address sky's comments; add new method to experimental_accessibility.json. 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..7d575858e73003b14f8d4bac1c09022597869149 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"
+
#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;
+ // Called when accessibility is enabled manually.
Jói 2013/05/02 09:52:03 An explanation here (and line 27) of why the comme
+ virtual void OnAccessibilityEnabledByExtensionAPI() = 0;
jam 2013/05/02 15:50:20 see http://www.chromium.org/developers/content-mod
+
+ // Called when accessibility is disabled manually.
+ virtual void OnAccessibilityDisabledByExtensionAPI() = 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