summaryrefslogtreecommitdiffstats
path: root/views/controls/scrollbar/scroll_bar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/scrollbar/scroll_bar.cc')
-rw-r--r--views/controls/scrollbar/scroll_bar.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/controls/scrollbar/scroll_bar.cc b/views/controls/scrollbar/scroll_bar.cc
index 880a42a..94360bb 100644
--- a/views/controls/scrollbar/scroll_bar.cc
+++ b/views/controls/scrollbar/scroll_bar.cc
@@ -5,7 +5,6 @@
#include "views/controls/scrollbar/scroll_bar.h"
#include "base/logging.h"
-#include "ui/base/accessibility/accessible_view_state.h"
namespace views {
@@ -23,8 +22,8 @@ ScrollBar::ScrollBar(bool is_horiz) : is_horiz_(is_horiz),
ScrollBar::~ScrollBar() {
}
-void ScrollBar::GetAccessibleState(ui::AccessibleViewState* state) {
- state->role = ui::AccessibilityTypes::ROLE_SCROLLBAR;
+AccessibilityTypes::Role ScrollBar::GetAccessibleRole() {
+ return AccessibilityTypes::ROLE_SCROLLBAR;
}
bool ScrollBar::IsHorizontal() const {