diff options
author | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 21:34:20 +0000 |
---|---|---|
committer | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 21:34:20 +0000 |
commit | 92a22704ea2f408ffc7917c1e96ca1f097a6ecb7 (patch) | |
tree | d4d1e69dd1c0a2fecada7ae6dee924b9d30dace3 /views/accessibility | |
parent | 3eb73b83046e13cd7ed56fa863684d36fd7098b4 (diff) | |
download | chromium_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.h | 1 | ||||
-rw-r--r-- | views/accessibility/view_accessibility.cc | 2 |
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: |