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

Unified Diff: ui/views/style/platform_style.cc

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix FocusManagerTest.StoreFocusedView Created 4 years, 10 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: ui/views/style/platform_style.cc
diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc
index 6d636b6332c6f9021ade06ec06ee727db6d097ae..7ad97c9ed2eea7d77cb69c0c9b33b25869fd1775 100644
--- a/ui/views/style/platform_style.cc
+++ b/ui/views/style/platform_style.cc
@@ -35,4 +35,10 @@ scoped_ptr<Border> PlatformStyle::CreateThemedLabelButtonBorder(
}
#endif
+#if !defined(OS_MACOSX)
+// static
+void PlatformStyle::SetControlStyleFocus(View* view) {
+ view->SetFocusable(true);
+}
+#endif
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698