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

Unified Diff: chrome/browser/ui/views/passwords/credentials_item_view.cc

Issue 1870573003: Full Keyboard Access: Second Approach (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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/passwords/credentials_item_view.cc
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.cc b/chrome/browser/ui/views/passwords/credentials_item_view.cc
index 42d5c7856f7b35ba095c491ddfb8e238429070c9..c6a5e175f840cf92c771bba3e2ae3776cc58e576 100644
--- a/chrome/browser/ui/views/passwords/credentials_item_view.cc
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.cc
@@ -19,6 +19,7 @@
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/layout_constants.h"
+#include "ui/views/style/platform_style.h"
namespace {
// The default spacing between the icon and text.
@@ -105,7 +106,8 @@ CredentialsItemView::CredentialsItemView(
AddChildView(lower_label_);
}
- SetFocusable(true);
+ views::PlatformStyle::ConfigureFocus(
+ views::PlatformStyle::CONTROL::CREDENTIALS_ITEM_VIEW, this);
}
CredentialsItemView::~CredentialsItemView() = default;

Powered by Google App Engine
This is Rietveld 408576698