diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 18:34:03 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 18:34:03 +0000 |
commit | 4abaee203b9d0dfe8c2fb84682a564fe995b3c79 (patch) | |
tree | 7cc0237dfa00cbc87e6d769449c0e073cdc64a62 /views/accessibility | |
parent | 6e64343accab0d5b5436645e40a36f5ff20d17ec (diff) | |
download | chromium_src-4abaee203b9d0dfe8c2fb84682a564fe995b3c79.zip chromium_src-4abaee203b9d0dfe8c2fb84682a564fe995b3c79.tar.gz chromium_src-4abaee203b9d0dfe8c2fb84682a564fe995b3c79.tar.bz2 |
Landing tfarina CL.
Original patch by thiago.farina@gmail.com
See original review at:
http://codereview.chromium.org/668225/show
BUG=9616
TEST=opens AccExplorer2, opens clear browsing data, select the a checkbox+label with the AccExplorer2 tool,
see if the role for this control is checkbox.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41178 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 fc890bb..e3bdfae 100644 --- a/views/accessibility/accessibility_types.h +++ b/views/accessibility/accessibility_types.h @@ -23,6 +23,7 @@ class AccessibilityTypes { ROLE_APPLICATION, ROLE_BUTTONDROPDOWN, ROLE_BUTTONMENU, + ROLE_CHECKBUTTON, ROLE_CLIENT, ROLE_GRAPHIC, ROLE_GROUPING, diff --git a/views/accessibility/view_accessibility.cc b/views/accessibility/view_accessibility.cc index 952f6d4..f6c83eb 100644 --- a/views/accessibility/view_accessibility.cc +++ b/views/accessibility/view_accessibility.cc @@ -674,6 +674,8 @@ long ViewAccessibility::MSAARole(AccessibilityTypes::Role role) { return ROLE_SYSTEM_BUTTONDROPDOWN; case AccessibilityTypes::ROLE_BUTTONMENU: return ROLE_SYSTEM_BUTTONMENU; + case AccessibilityTypes::ROLE_CHECKBUTTON: + return ROLE_SYSTEM_CHECKBUTTON; case AccessibilityTypes::ROLE_GRAPHIC: return ROLE_SYSTEM_GRAPHIC; case AccessibilityTypes::ROLE_GROUPING: |