| Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
| diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
| index ff1cf502323294c6dc2ac1733a24c1dd53548771..c0f0db111f827ffaa69a19155ca91c27f71c0433 100644
|
| --- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
| +++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_panel.cc
|
| @@ -29,6 +29,7 @@
|
| #include "ui/views/layout/box_layout.h"
|
| #include "ui/views/layout/grid_layout.h"
|
| #include "ui/views/layout/layout_constants.h"
|
| +#include "ui/views/style/platform_style.h"
|
| #include "ui/views/view.h"
|
|
|
| namespace {
|
| @@ -62,7 +63,8 @@ class RevokeButton : public views::ImageButton, public views::ButtonListener {
|
|
|
| // Make the button focusable & give it alt-text so permissions can be
|
| // revoked using only the keyboard.
|
| - SetFocusable(true);
|
| + views::PlatformStyle::ConfigureFocus(views::PlatformStyle::CONTROL::BUTTON,
|
| + this);
|
| SetTooltipText(l10n_util::GetStringFUTF16(
|
| IDS_APPLICATION_INFO_REVOKE_PERMISSION_ALT_TEXT, permission_message));
|
| }
|
|
|