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

Unified Diff: ui/views/controls/tree/tree_view.cc

Issue 2714753002: Improve appearance of focus rings at fractional scales. (Closed)
Patch Set: no treeview update Created 3 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
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/painter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view.cc
diff --git a/ui/views/controls/tree/tree_view.cc b/ui/views/controls/tree/tree_view.cc
index 7e964f96c66ea799acd3547c60ee57475be07fbd..a6ea9f7bb6180a57fcc6dc914e0d9a7d67f89f12 100644
--- a/ui/views/controls/tree/tree_view.cc
+++ b/ui/views/controls/tree/tree_view.cc
@@ -1058,7 +1058,7 @@ bool TreeView::IsPointInExpandControl(InternalNode* node,
}
void TreeView::SetHasFocusRing(bool shows) {
- if (!ui::MaterialDesignController::IsSecondaryUiMaterial() ||
+ if (/*!ui::MaterialDesignController::IsSecondaryUiMaterial() ||*/
msw 2017/02/23 19:15:13 Fix this
Evan Stade 2017/02/23 20:07:30 my bad, this is residue from the CL I split off.
!PlatformStyle::kTreeViewHasFocusRing) {
return;
}
« no previous file with comments | « ui/views/controls/slider.cc ('k') | ui/views/painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698