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

Unified Diff: ash/system/user/button_from_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/system/user/button_from_view.cc
diff --git a/ash/system/user/button_from_view.cc b/ash/system/user/button_from_view.cc
index 13bdbb0dd0cf0d0703b50a8bdfd8297cd2a370dd..bbc6bd16c38b3a46650eedac151f3e5ca5ea50d0 100644
--- a/ash/system/user/button_from_view.cc
+++ b/ash/system/user/button_from_view.cc
@@ -43,7 +43,7 @@ ButtonFromView::ButtonFromView(views::View* content,
ShowActive();
// Only make it focusable when we are active/interested in clicks.
if (listener)
- SetFocusBehavior(FocusBehavior::ALWAYS);
+ Button::ConfigureDefaultFocus(this);
}
ButtonFromView::~ButtonFromView() {}

Powered by Google App Engine
This is Rietveld 408576698