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

Unified Diff: content/browser/accessibility/accessibility_tree_formatter_utils_win.cc

Issue 744623002: Exposing ARIA state/property aria-orientation on Windows correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing presubmit warning Created 6 years, 1 month 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/browser/accessibility/accessibility_tree_formatter_utils_win.cc
diff --git a/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc b/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc
index 02159bca1adb4f6d267f49236c2f3d6efd98be6d..fdf9519dece67c3090f19ac3183b4076911f60f7 100644
--- a/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc
+++ b/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc
@@ -200,6 +200,7 @@ AccessibilityRoleStateMap::AccessibilityRoleStateMap() {
IA2_STATE_MAP(IA2_STATE_CHECKABLE)
IA2_STATE_MAP(IA2_STATE_DEFUNCT)
IA2_STATE_MAP(IA2_STATE_EDITABLE)
+ IA2_STATE_MAP(IA2_STATE_HORIZONTAL)
IA2_STATE_MAP(IA2_STATE_ICONIFIED)
IA2_STATE_MAP(IA2_STATE_INVALID_ENTRY)
IA2_STATE_MAP(IA2_STATE_MANAGES_DESCENDANTS)
@@ -211,12 +212,11 @@ AccessibilityRoleStateMap::AccessibilityRoleStateMap() {
IA2_STATE_MAP(IA2_STATE_STALE)
IA2_STATE_MAP(IA2_STATE_SUPPORTS_AUTOCOMPLETION)
IA2_STATE_MAP(IA2_STATE_TRANSIENT)
+ IA2_STATE_MAP(IA2_STATE_VERTICAL)
// Untested states include those that would be repeated on nearly every node,
// or would vary based on window size.
- // IA2_STATE_MAP(IA2_STATE_HORIZONTAL) // Untested.
// IA2_STATE_MAP(IA2_STATE_OPAQUE) // Untested.
- // IA2_STATE_MAP(IA2_STATE_VERTICAL) // Untested.
}
} // namespace.
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698