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

Unified Diff: ash/shell/lock_view.cc

Issue 1898633004: Views: Add new SetFocusBehavior method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/sticky_keys/sticky_keys_overlay.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 ba5200fd48dd232ea1e3a4161d7f22824e24bda0..8fa39711e455de3dfe0b9d154c50e676c7bb188c 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_->SetFocusable(true);
+ unlock_button_->SetFocusBehavior(FocusBehavior::ALWAYS);
}
~LockView() override {}
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/sticky_keys/sticky_keys_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698