| Index: ui/views/bubble/tray_bubble_view.cc
|
| diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc
|
| index 284312231050fa7ac4440a1f7b6647c1e93e56a0..6725b8b7a45fde10816b43636f011a2d0cfd51e0 100644
|
| --- a/ui/views/bubble/tray_bubble_view.cc
|
| +++ b/ui/views/bubble/tray_bubble_view.cc
|
| @@ -12,7 +12,7 @@
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkPath.h"
|
| #include "third_party/skia/include/effects/SkBlurImageFilter.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/compositor/layer.h"
|
| #include "ui/compositor/layer_delegate.h"
|
| @@ -488,10 +488,10 @@ void TrayBubbleView::OnMouseExited(const ui::MouseEvent& event) {
|
| delegate_->OnMouseExitedView();
|
| }
|
|
|
| -void TrayBubbleView::GetAccessibleState(ui::AXViewState* state) {
|
| +void TrayBubbleView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| if (delegate_ && CanActivate()) {
|
| - state->role = ui::AX_ROLE_WINDOW;
|
| - state->name = delegate_->GetAccessibleNameForBubble();
|
| + node_data->role = ui::AX_ROLE_WINDOW;
|
| + node_data->SetName(delegate_->GetAccessibleNameForBubble());
|
| }
|
| }
|
|
|
|
|