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

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

Issue 2411693002: views: add focus ring to TreeView (Closed)
Patch Set: make this Mac-specific Created 4 years, 2 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.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index 3e390abe1f3c63a8f346cc6f2f05e84cf0be0712..58d9ada46dedc126233605b222b0dc06ae64b919 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -48,6 +48,9 @@ class VIEWS_EXPORT PlatformStyle {
// The menu button's action to show the menu.
static const CustomButton::NotifyAction kMenuNotifyActivationAction;
+ // Whether TreeViews get a focus ring on the entire TreeView when focused.
+ static const bool kTreeViewHasFocusRing;
+
// Whether selecting a row in a TreeView selects the entire row or only the
// label for that row.
static const bool kTreeViewSelectionPaintsEntireRow;

Powered by Google App Engine
This is Rietveld 408576698