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

Unified Diff: ash/common/system/date/date_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 | « ash/common/system/date/date_view.h ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/date_view.cc
diff --git a/ash/common/system/date/date_view.cc b/ash/common/system/date/date_view.cc
index e130ce4bef46294165c8158602163105f31c6198..a0857961479db123f0c009653b561ec4dada5193 100644
--- a/ash/common/system/date/date_view.cc
+++ b/ash/common/system/date/date_view.cc
@@ -18,7 +18,7 @@
#include "third_party/icu/source/i18n/unicode/datefmt.h"
#include "third_party/icu/source/i18n/unicode/dtptngen.h"
#include "third_party/icu/source/i18n/unicode/smpdtfmt.h"
-#include "ui/accessibility/ax_view_state.h"
+#include "ui/accessibility/ax_node_data.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
@@ -106,9 +106,9 @@ void BaseDateTimeView::UpdateText() {
SetTimer(now);
}
-void BaseDateTimeView::GetAccessibleState(ui::AXViewState* state) {
- ActionableView::GetAccessibleState(state);
- state->role = ui::AX_ROLE_TIME;
+void BaseDateTimeView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
+ ActionableView::GetAccessibleNodeData(node_data);
+ node_data->role = ui::AX_ROLE_TIME;
}
BaseDateTimeView::BaseDateTimeView(SystemTrayItem* owner)
« no previous file with comments | « ash/common/system/date/date_view.h ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698