summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/options/options_page_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/options/options_page_view.cc')
-rw-r--r--chrome/browser/ui/views/options/options_page_view.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/ui/views/options/options_page_view.cc b/chrome/browser/ui/views/options/options_page_view.cc
index b81b3af..3cbf3a5 100644
--- a/chrome/browser/ui/views/options/options_page_view.cc
+++ b/chrome/browser/ui/views/options/options_page_view.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/options/options_page_view.h"
#include "chrome/browser/metrics/user_metrics.h"
+#include "ui/base/accessibility/accessible_view_state.h"
#include "views/widget/widget.h"
///////////////////////////////////////////////////////////////////////////////
@@ -33,6 +34,6 @@ void OptionsPageView::ViewHierarchyChanged(bool is_add,
}
}
-AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() {
- return AccessibilityTypes::ROLE_PAGETAB;
+void OptionsPageView::GetAccessibleState(ui::AccessibleViewState* state) {
+ state->role = ui::AccessibilityTypes::ROLE_PAGETAB;
}