Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1487)

Unified Diff: ui/views/controls/scrollbar/scroll_bar.cc

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/scrollbar/scroll_bar.h ('k') | ui/views/controls/separator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/scroll_bar.cc b/ui/views/controls/scrollbar/scroll_bar.cc
index 014cf3b53fa42d76165f03e79e10c7070cdf0184..bfe75dca835edd476890b3fe33b0390ad91902e9 100644
--- a/ui/views/controls/scrollbar/scroll_bar.cc
+++ b/ui/views/controls/scrollbar/scroll_bar.cc
@@ -4,15 +4,15 @@
#include "ui/views/controls/scrollbar/scroll_bar.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
namespace views {
ScrollBar::~ScrollBar() {
}
-void ScrollBar::GetAccessibleState(ui::AXViewState* state) {
- state->role = ui::AX_ROLE_SCROLL_BAR;
+void ScrollBar::GetAccessibleNodeData(ui::AXNodeData* node_data) {
+ node_data->role = ui::AX_ROLE_SCROLL_BAR;
}
bool ScrollBar::IsHorizontal() const {
« no previous file with comments | « ui/views/controls/scrollbar/scroll_bar.h ('k') | ui/views/controls/separator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698