summaryrefslogtreecommitdiffstats
path: root/views/controls/resize_area.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/resize_area.cc')
-rw-r--r--views/controls/resize_area.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/controls/resize_area.cc b/views/controls/resize_area.cc
index b3897bb..0769cf9 100644
--- a/views/controls/resize_area.cc
+++ b/views/controls/resize_area.cc
@@ -5,6 +5,7 @@
#include "views/controls/resize_area.h"
#include "base/logging.h"
+#include "ui/base/accessibility/accessible_view_state.h"
#include "ui/base/resource/resource_bundle.h"
#if defined(OS_LINUX)
@@ -74,8 +75,8 @@ void ResizeArea::OnMouseReleased(const views::MouseEvent& event,
ReportResizeAmount(canceled ? initial_position_ : event.x(), true);
}
-AccessibilityTypes::Role ResizeArea::GetAccessibleRole() {
- return AccessibilityTypes::ROLE_SEPARATOR;
+void ResizeArea::GetAccessibleState(ui::AccessibleViewState* state) {
+ state->role = ui::AccessibilityTypes::ROLE_SEPARATOR;
}
void ResizeArea::ReportResizeAmount(int resize_amount, bool last_update) {