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

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 Dominic's comments. 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
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..2fb2809654b45df022be0d20c89c0685ae8f1840 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,9 +21,12 @@ class CONTENT_EXPORT BrowserAccessibilityState {
// Returns the singleton instance.
static BrowserAccessibilityState* GetInstance();
- // Called when accessibility is enabled manually (via command-line flag).
+ // Called when accessibility is enabled manually.
virtual void OnAccessibilityEnabledManually() = 0;
+ // Called when accessibility is disabled manually.
+ virtual void OnAccessibilityDisabledManually() = 0;
+
// Called when screen reader client is detected.
virtual void OnScreenReaderDetected() = 0;

Powered by Google App Engine
This is Rietveld 408576698