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

Unified Diff: content/public/common/accessibility_mode.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: Address review comments 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
Index: content/public/common/accessibility_mode.h
diff --git a/content/public/common/accessibility_mode.h b/content/public/common/accessibility_mode.h
new file mode 100644
index 0000000000000000000000000000000000000000..f2820711796a178dfd2070b6ee2445d128de8c59
--- /dev/null
+++ b/content/public/common/accessibility_mode.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_
+#define CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_
+
+namespace content {
+
+enum AccessibilityMode {
+ // WebKit accessibility is off and no accessibility information is
+ // sent from the renderer to the browser process.
+ AccessibilityModeOff,
jam 2013/02/27 19:35:50 nit: per chrome style guide, macros should be all
aboxhall 2013/02/27 21:19:59 Done.
+
+ // WebKit accessibility is on, but only limited information about
+ // editable text nodes is sent to the browser process. Useful for
+ // implementing limited UIA on tablets.
+ AccessibilityModeEditableTextOnly,
+
+ // WebKit accessibility is on, and the full accessibility tree is synced
+ // to the browser process. Useful for screen readers and magnifiers.
+ AccessibilityModeComplete,
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_ACCESSIBILITY_MODE_H_

Powered by Google App Engine
This is Rietveld 408576698