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

Unified Diff: ash/common/wm/window_cycle_list.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 | « ash/common/system/user/user_card_view.cc ('k') | ash/system/chromeos/screen_layout_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_cycle_list.cc
diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
index 33efaacd2a03cac952e7308c2f7e4e8969dbef92..32ae915bcc5a05a61fc391576f308082ec6fabc4 100644
--- a/ash/common/wm/window_cycle_list.cc
+++ b/ash/common/wm/window_cycle_list.cc
@@ -14,7 +14,7 @@
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "base/command_line.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
#include "ui/compositor/scoped_layer_animation_settings.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
@@ -167,9 +167,9 @@ class WindowPreviewView : public views::View, public WmWindowObserver {
mirror_view_->SetPosition(preview_area_bounds.origin());
}
- void GetAccessibleState(ui::AXViewState* state) override {
- state->role = ui::AX_ROLE_WINDOW;
- state->name = window_title_->text();
+ void GetAccessibleNodeData(ui::AXNodeData* node_data) override {
+ node_data->role = ui::AX_ROLE_WINDOW;
+ node_data->SetName(window_title_->text());
}
// WmWindowObserver:
« no previous file with comments | « ash/common/system/user/user_card_view.cc ('k') | ash/system/chromeos/screen_layout_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698