summaryrefslogtreecommitdiffstats
path: root/views/controls/label.cc
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 04:00:49 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 04:00:49 +0000
commit70d38b09d6f504b6a47b4d0e8f0a9b2f5d615373 (patch)
treeefcc27929e40b9e71d0284d8094dab970945214d /views/controls/label.cc
parent7f265f9db6a502cb8909636d350afd0dbf6c5539 (diff)
downloadchromium_src-70d38b09d6f504b6a47b4d0e8f0a9b2f5d615373.zip
chromium_src-70d38b09d6f504b6a47b4d0e8f0a9b2f5d615373.tar.gz
chromium_src-70d38b09d6f504b6a47b4d0e8f0a9b2f5d615373.tar.bz2
[accessibility] Allow views to have multiple accessibility states and add correct roles.
Allow views to contain multiple accessibility states since states are not mutually exclusive, we treat them as an uint32. Add missing roles to couple of views. BUG=None TEST=Run unit tests, and check accessibility tree. Review URL: http://codereview.chromium.org/1527019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44054 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/label.cc')
-rw-r--r--views/controls/label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/label.cc b/views/controls/label.cc
index 19060f6..89e9a572 100644
--- a/views/controls/label.cc
+++ b/views/controls/label.cc
@@ -248,7 +248,7 @@ void Label::SizeToFit(int max_width) {
bool Label::GetAccessibleRole(AccessibilityTypes::Role* role) {
DCHECK(role);
- *role = AccessibilityTypes::ROLE_TEXT;
+ *role = AccessibilityTypes::ROLE_STATICTEXT;
return true;
}