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

Unified Diff: ui/views/widget/root_view.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/widget/root_view.h ('k') | ui/views/window/client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/root_view.cc
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc
index cbfb8c4a95dffa42d8ffa0e11797a44fcfd765f0..63be235c909201f674fcef9120ff443845d11e02 100644
--- a/ui/views/widget/root_view.cc
+++ b/ui/views/widget/root_view.cc
@@ -9,7 +9,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/ui_base_switches_util.h"
@@ -600,9 +600,9 @@ void RootView::SetMouseHandler(View* new_mh) {
drag_info_.Reset();
}
-void RootView::GetAccessibleState(ui::AXViewState* state) {
- state->name = widget_->widget_delegate()->GetAccessibleWindowTitle();
- state->role = widget_->widget_delegate()->GetAccessibleWindowRole();
+void RootView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
+ node_data->SetName(widget_->widget_delegate()->GetAccessibleWindowTitle());
+ node_data->role = widget_->widget_delegate()->GetAccessibleWindowRole();
}
void RootView::UpdateParentLayer() {
« no previous file with comments | « ui/views/widget/root_view.h ('k') | ui/views/window/client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698