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

Unified Diff: ash/shell/lock_view.cc

Issue 1894383002: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SetFocusBehavior
Patch Set: Rebased Created 4 years, 7 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: ash/shell/lock_view.cc
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
index 8fa39711e455de3dfe0b9d154c50e676c7bb188c..67b5571a5155ed1baf97f68401e0020d1b7f29e1 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -30,7 +30,7 @@ class LockView : public views::WidgetDelegateView,
this, base::ASCIIToUTF16("Unlock"))) {
unlock_button_->SetStyle(views::Button::STYLE_BUTTON);
AddChildView(unlock_button_);
- unlock_button_->SetFocusBehavior(FocusBehavior::ALWAYS);
+ views::Button::ConfigureDefaultFocus(unlock_button_);
}
~LockView() override {}

Powered by Google App Engine
This is Rietveld 408576698