diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 23:37:50 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 23:37:50 +0000 |
commit | 1fbe00aa54304d316e0ebd8f43553b390294da64 (patch) | |
tree | 87bc339c00946fbb3acca7c1622c31f6a8fa6c34 /views/controls/message_box_view.h | |
parent | 7f801d827de060e0bb88e266e6aa889ba3e14289 (diff) | |
download | chromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.zip chromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.tar.gz chromium_src-1fbe00aa54304d316e0ebd8f43553b390294da64.tar.bz2 |
Minor improvements to views accessibility. Improves notification for a
few classes, and replaces an ugly view class name comparison with a clean
switch based on the view's role.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7328027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/message_box_view.h')
-rw-r--r-- | views/controls/message_box_view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/message_box_view.h b/views/controls/message_box_view.h index 9734d17..a3f1355 100644 --- a/views/controls/message_box_view.h +++ b/views/controls/message_box_view.h @@ -56,6 +56,9 @@ class MessageBoxView : public View { // Sets the state of the check-box. void SetCheckBoxSelected(bool selected); + // View: + virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; + protected: // View: virtual void ViewHierarchyChanged(bool is_add, |