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

Unified Diff: ash/common/system/chromeos/network/network_state_list_detailed_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
Index: ash/common/system/chromeos/network/network_state_list_detailed_view.cc
diff --git a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
index 03308f4a9d3c751c422444bc07fa9b65cf5004a2..9ff78b1117d8d64ba9ea627022e34200edcd5be9 100644
--- a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
+++ b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
@@ -50,7 +50,7 @@
#include "grit/ash_resources.h"
#include "grit/ash_strings.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/compositor/layer.h"
@@ -187,9 +187,9 @@ class ScanningThrobber : public ThrobberView {
layer()->SetOpacity(visible ? 1.0 : 0.0);
}
- void GetAccessibleState(ui::AXViewState* state) override {
- state->name = accessible_name_;
- state->role = ui::AX_ROLE_BUSY_INDICATOR;
+ void GetAccessibleNodeData(ui::AXNodeData* node_data) override {
+ node_data->SetName(accessible_name_);
+ node_data->role = ui::AX_ROLE_BUSY_INDICATOR;
}
private:
« no previous file with comments | « ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc ('k') | ash/common/system/chromeos/network/tray_network.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698