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

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

Issue 12335101: Move some accessibility methods, enums and interfaces into the content/public API. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove #include which crept back in" Created 7 years, 10 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/public/browser/accessibility_tree_formatter.h ('k') | content/public/browser/render_widget_host.h » ('j') | 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..1d0955064975bfcd2ff0e9c85eb7edf5b56b1bba 100644
--- a/content/public/browser/browser_accessibility_state.h
+++ b/content/public/browser/browser_accessibility_state.h
@@ -7,6 +7,7 @@
#include "base/callback_forward.h"
#include "content/common/content_export.h"
+#include "content/public/common/accessibility_mode.h"
namespace content {
@@ -29,6 +30,9 @@ class CONTENT_EXPORT BrowserAccessibilityState {
// Returns true if the browser should be customized for accessibility.
virtual bool IsAccessibleBrowser() = 0;
+ virtual AccessibilityMode GetAccessibilityMode() = 0;
+ virtual void SetAccessibilityMode(AccessibilityMode mode) = 0;
+
// Add a callback method that will be called once, a small while after the
// browser starts up, when accessibility state histograms are updated.
// Use this to register a method to update additional accessibility
« no previous file with comments | « content/public/browser/accessibility_tree_formatter.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698