summaryrefslogtreecommitdiffstats
path: root/ash/system/tray_caps_lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/system/tray_caps_lock.cc')
-rw-r--r--ash/system/tray_caps_lock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/system/tray_caps_lock.cc b/ash/system/tray_caps_lock.cc
index ce7b976..933fb95 100644
--- a/ash/system/tray_caps_lock.cc
+++ b/ash/system/tray_caps_lock.cc
@@ -13,7 +13,7 @@
#include "ash/system/tray/tray_constants.h"
#include "grit/ash_resources.h"
#include "grit/ash_strings.h"
-#include "ui/base/accessibility/accessible_view_state.h"
+#include "ui/accessibility/ax_view_state.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
#include "ui/views/controls/image_view.h"
@@ -88,8 +88,8 @@ class CapsLockDefaultView : public ActionableView {
text_size.height()));
}
- virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE {
- state->role = ui::AccessibilityTypes::ROLE_PUSHBUTTON;
+ virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE {
+ state->role = ui::AX_ROLE_BUTTON;
state->name = text_label_->text();
}