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

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

Issue 2050813002: MacViews: support backgrounds for selected rows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: excise depth Created 4 years, 6 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 8534aa276355da0e534c82c363f2aa1d5f5e23c6..70f05442b5c0c36943d027c3e15f79c558021e26 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -42,6 +42,10 @@ class VIEWS_EXPORT PlatformStyle {
// the left or right end of the text from the cursor, respectively.
static const bool kTextfieldDragVerticallyDragsToEnd;
+ // Whether selecting a row in a TreeView selects the entire row or only the
+ // label for that row.
+ static const bool kTreeViewSelectsEntireRow;
+
// Creates an ImageSkia containing the image to use for the combobox arrow.
// The |is_enabled| argument is true if the control the arrow is for is
// enabled, and false if the control is disabled. The |style| argument is the

Powered by Google App Engine
This is Rietveld 408576698