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

Unified Diff: ash/shell/lock_view.cc

Issue 1963563002: Views: Flip default value of CustomButton::request_focus_on_press_ to false. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo unrelated changes. 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
« no previous file with comments | « no previous file | ash/system/tray/tray_popup_header_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/lock_view.cc
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
index 67b5571a5155ed1baf97f68401e0020d1b7f29e1..cd6a5b466eb294e4390eb9dc790073364d45814a 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -31,6 +31,7 @@ class LockView : public views::WidgetDelegateView,
unlock_button_->SetStyle(views::Button::STYLE_BUTTON);
AddChildView(unlock_button_);
views::Button::ConfigureDefaultFocus(unlock_button_);
oshima 2016/05/11 14:58:27 It wasn't obvious to me that this will enable focu
karandeepb 2016/05/12 00:45:28 Will rename this in a subsequent CL. Thanks.
+ unlock_button_->set_request_focus_on_press(true);
}
~LockView() override {}
« no previous file with comments | « no previous file | ash/system/tray/tray_popup_header_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698