| Index: ash/common/shelf/app_list_button.cc
|
| diff --git a/ash/common/shelf/app_list_button.cc b/ash/common/shelf/app_list_button.cc
|
| index 323691fc672b9f90d5db94f174da51a021ec27ae..eb68a0edec3cd009a1f305c1c895345e5bb05a18 100644
|
| --- a/ash/common/shelf/app_list_button.cc
|
| +++ b/ash/common/shelf/app_list_button.cc
|
| @@ -18,7 +18,7 @@
|
| #include "base/command_line.h"
|
| #include "grit/ash_resources.h"
|
| #include "grit/ash_strings.h"
|
| -#include "ui/accessibility/ax_view_state.h"
|
| +#include "ui/accessibility/ax_node_data.h"
|
| #include "ui/app_list/app_list_switches.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -243,9 +243,9 @@ void AppListButton::PaintAppListButton(gfx::Canvas* canvas,
|
| foreground_bounds.y());
|
| }
|
|
|
| -void AppListButton::GetAccessibleState(ui::AXViewState* state) {
|
| - state->role = ui::AX_ROLE_BUTTON;
|
| - state->name = shelf_view_->GetTitleForView(this);
|
| +void AppListButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {
|
| + node_data->role = ui::AX_ROLE_BUTTON;
|
| + node_data->SetName(shelf_view_->GetTitleForView(this));
|
| }
|
|
|
| std::unique_ptr<views::InkDropRipple> AppListButton::CreateInkDropRipple()
|
|
|