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

Unified Diff: chrome/browser/ui/views/website_settings/permission_selector_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: chrome/browser/ui/views/website_settings/permission_selector_view.cc
diff --git a/chrome/browser/ui/views/website_settings/permission_selector_view.cc b/chrome/browser/ui/views/website_settings/permission_selector_view.cc
index 6e34c9ae77b3e40f62f9996fde78647cea595c72..18a9755bcbcfe7a6914e5e81cb79ab43a46a5f6b 100644
--- a/chrome/browser/ui/views/website_settings/permission_selector_view.cc
+++ b/chrome/browser/ui/views/website_settings/permission_selector_view.cc
@@ -71,7 +71,7 @@ PermissionMenuButton::PermissionMenuButton(const base::string16& text,
// be available, and the button would get native GTK styling on Linux.
UpdateThemedBorder();
- SetFocusBehavior(FocusBehavior::ALWAYS);
+ Button::ConfigureDefaultFocus(this);
is_rtl_display_ =
base::i18n::RIGHT_TO_LEFT == base::i18n::GetStringDirection(text);
}

Powered by Google App Engine
This is Rietveld 408576698