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

Unified Diff: chrome/browser/ui/views/critical_notification_bubble_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: chrome/browser/ui/views/critical_notification_bubble_view.cc
diff --git a/chrome/browser/ui/views/critical_notification_bubble_view.cc b/chrome/browser/ui/views/critical_notification_bubble_view.cc
index 66713b239a016027e165df30af8eb440b184cf16..cbaf22be2807b7af5e7e8e38764b3301e570fadd 100644
--- a/chrome/browser/ui/views/critical_notification_bubble_view.cc
+++ b/chrome/browser/ui/views/critical_notification_bubble_view.cc
@@ -15,7 +15,7 @@
#include "chrome/grit/theme_resources.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/user_metrics.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/views/bubble/bubble_frame_view.h"
@@ -147,9 +147,9 @@ void CriticalNotificationBubbleView::Init() {
content::RecordAction(UserMetricsAction("CriticalNotificationShown"));
}
-void CriticalNotificationBubbleView::GetAccessibleState(
- ui::AXViewState* state) {
- state->role = ui::AX_ROLE_ALERT;
+void CriticalNotificationBubbleView::GetAccessibleNodeData(
+ ui::AXNodeData* node_data) {
+ node_data->role = ui::AX_ROLE_ALERT;
}
void CriticalNotificationBubbleView::ViewHierarchyChanged(

Powered by Google App Engine
This is Rietveld 408576698