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

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, 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: 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_);
tapted 2016/04/20 06:05:57 It feels inconsistent to flip things around when c
karandeepb 2016/05/03 02:54:12 I used a static method because I thought it was be
tapted 2016/05/03 08:08:25 Ack. Thanks for investigating that! I wonder if it
karandeepb 2016/05/04 01:56:38 Yup I was also a bit surprised by this. But LabelB
}
~LockView() override {}
« no previous file with comments | « no previous file | ash/system/tray/tray_popup_header_button.cc » ('j') | ash/system/tray/tray_popup_header_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698