summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
authorklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 23:43:25 +0000
committerklink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 23:43:25 +0000
commit759dd968342752e9b30710197898f777f1add3d8 (patch)
treefcbb6cba7299141e06c333228ea07670018d4212 /views/controls
parentf028f136dbb4b497355e1f03d925d9991ad00a19 (diff)
downloadchromium_src-759dd968342752e9b30710197898f777f1add3d8.zip
chromium_src-759dd968342752e9b30710197898f777f1add3d8.tar.gz
chromium_src-759dd968342752e9b30710197898f777f1add3d8.tar.bz2
Adds MSAA information to various (previously uncovered) bits of the UI, including Bookmark and Extensions infobars. This is to moving towards completing the hierarchy for the benefit of full screen reader support.
BUG=None. Test=None. Review URL: http://codereview.chromium.org/155446 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/button/menu_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc
index 9a8d3d2..25a415d 100644
--- a/views/controls/button/menu_button.cc
+++ b/views/controls/button/menu_button.cc
@@ -250,7 +250,7 @@ bool MenuButton::GetAccessibleDefaultAction(std::wstring* action) {
bool MenuButton::GetAccessibleRole(AccessibilityTypes::Role* role) {
DCHECK(role);
- *role = AccessibilityTypes::ROLE_BUTTONDROPDOWN;
+ *role = AccessibilityTypes::ROLE_BUTTONMENU;
return true;
}