summaryrefslogtreecommitdiffstats
path: root/views/accessibility
diff options
context:
space:
mode:
authorklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 21:34:20 +0000
committerklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 21:34:20 +0000
commit92a22704ea2f408ffc7917c1e96ca1f097a6ecb7 (patch)
treed4d1e69dd1c0a2fecada7ae6dee924b9d30dace3 /views/accessibility
parent3eb73b83046e13cd7ed56fa863684d36fd7098b4 (diff)
downloadchromium_src-92a22704ea2f408ffc7917c1e96ca1f097a6ecb7.zip
chromium_src-92a22704ea2f408ffc7917c1e96ca1f097a6ecb7.tar.gz
chromium_src-92a22704ea2f408ffc7917c1e96ca1f097a6ecb7.tar.bz2
Adds additional MSAA information to fill in a few gaps in the hierarchy.
TEST=None BUG=None Review URL: http://codereview.chromium.org/160239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21896 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/accessibility')
-rw-r--r--views/accessibility/accessibility_types.h1
-rw-r--r--views/accessibility/view_accessibility.cc2
2 files changed, 3 insertions, 0 deletions
diff --git a/views/accessibility/accessibility_types.h b/views/accessibility/accessibility_types.h
index ee4d864..18365b2 100644
--- a/views/accessibility/accessibility_types.h
+++ b/views/accessibility/accessibility_types.h
@@ -30,6 +30,7 @@ class AccessibilityTypes {
ROLE_PUSHBUTTON,
ROLE_SEPARATOR,
ROLE_TEXT,
+ ROLE_TITLEBAR,
ROLE_TOOLBAR,
ROLE_WINDOW
};
diff --git a/views/accessibility/view_accessibility.cc b/views/accessibility/view_accessibility.cc
index f9ee1bd..72bd9f5 100644
--- a/views/accessibility/view_accessibility.cc
+++ b/views/accessibility/view_accessibility.cc
@@ -632,6 +632,8 @@ long ViewAccessibility::MSAARole(AccessibilityTypes::Role role) {
return ROLE_SYSTEM_SEPARATOR;
case AccessibilityTypes::ROLE_TEXT:
return ROLE_SYSTEM_TEXT;
+ case AccessibilityTypes::ROLE_TITLEBAR:
+ return ROLE_SYSTEM_TITLEBAR;
case AccessibilityTypes::ROLE_TOOLBAR:
return ROLE_SYSTEM_TOOLBAR;
case AccessibilityTypes::ROLE_WINDOW: