diff options
author | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 19:30:23 +0000 |
---|---|---|
committer | ctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-28 19:30:23 +0000 |
commit | 4c671e16908c0f60f38aa26051b89d399b5eb0f0 (patch) | |
tree | 36801dcd79034457409f700a0bf42d0f1304c8e1 /views/controls/label.h | |
parent | 485149b279565e436b1c2a6157086b81b4e9ede7 (diff) | |
download | chromium_src-4c671e16908c0f60f38aa26051b89d399b5eb0f0.zip chromium_src-4c671e16908c0f60f38aa26051b89d399b5eb0f0.tar.gz chromium_src-4c671e16908c0f60f38aa26051b89d399b5eb0f0.tar.bz2 |
Make accessible getters return values instead of accepting an output parameter. GetAccessibleName still needs to be converted.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/3416033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/label.h')
-rw-r--r-- | views/controls/label.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/label.h b/views/controls/label.h index fea4085..f863999 100644 --- a/views/controls/label.h +++ b/views/controls/label.h @@ -181,8 +181,8 @@ class Label : public View { void SizeToFit(int max_width); // Accessibility accessors, overridden from View. - virtual bool GetAccessibleRole(AccessibilityTypes::Role* role); - virtual bool GetAccessibleState(AccessibilityTypes::State* state); + virtual AccessibilityTypes::Role GetAccessibleRole(); + virtual AccessibilityTypes::State GetAccessibleState(); // Gets/sets the flag to determine whether the label should be collapsed when // it's hidden (not visible). If this flag is true, the label will return a |