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

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

Issue 2716793004: Revert of Change focus indicator for TableView and TreeView. (Closed)
Patch Set: 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/table/table_view.cc ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view.h
diff --git a/ui/views/controls/tree/tree_view.h b/ui/views/controls/tree/tree_view.h
index 5de65d398df76664197b6c432f632dbc560d84ab..63ea2edc2a5d60a4d274e6843e02a98b2f8cb73d 100644
--- a/ui/views/controls/tree/tree_view.h
+++ b/ui/views/controls/tree/tree_view.h
@@ -349,8 +349,10 @@
// control.
bool IsPointInExpandControl(InternalNode* node, const gfx::Point& point);
- // Sets whether a focus indicator is visible on this control or not.
- void SetHasFocusIndicator(bool);
+ // Sets whether a focus ring is visible on this control or not. This function
+ // does nothing if focus rings aren't enabled in general or if the platform's
+ // style does not use focus rings on TreeViews.
+ void SetHasFocusRing(bool);
// The model, may be null.
ui::TreeModel* model_;
« no previous file with comments | « ui/views/controls/table/table_view.cc ('k') | ui/views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698