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

Unified Diff: ash/shell/lock_view.cc

Issue 108063004: Give up focus if the focused view becomes unfocusable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extracted to common code into FocusManager class Created 7 years 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 aee013328aae4c0ee7ca9ca22daeea3f67f5bf50..7a95ea4393db76daf13cce6baa362a1b3caedcc5 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -28,7 +28,7 @@ class LockView : public views::WidgetDelegateView,
: unlock_button_(new views::LabelButton(this, ASCIIToUTF16("Unlock"))) {
unlock_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
AddChildView(unlock_button_);
- unlock_button_->set_focusable(true);
+ unlock_button_->SetFocusable(true);
}
virtual ~LockView() {}

Powered by Google App Engine
This is Rietveld 408576698