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 30428a31cadc3a535e06d642f68697863664b61d..596903801eb730bd758862ac213456681fc7f763 100644 |
--- a/ui/views/controls/tree/tree_view.cc |
+++ b/ui/views/controls/tree/tree_view.cc |
@@ -25,6 +25,7 @@ |
#include "ui/views/controls/textfield/textfield.h" |
#include "ui/views/controls/tree/tree_view_controller.h" |
#include "ui/views/resources/grit/views_resources.h" |
+#include "ui/views/style/platform_style.h" |
using ui::TreeModel; |
using ui::TreeModelNode; |
@@ -81,7 +82,7 @@ TreeView::TreeView() |
controller_(NULL), |
root_shown_(true), |
row_height_(font_list_.GetHeight() + kTextVerticalPadding * 2) { |
- SetFocusable(true); |
+ PlatformStyle::ConfigureFocus(PlatformStyle::CONTROL::TREE_VIEW, this); |
closed_icon_ = *ui::ResourceBundle::GetSharedInstance().GetImageNamed( |
(base::i18n::IsRTL() ? IDR_FOLDER_CLOSED_RTL |
: IDR_FOLDER_CLOSED)).ToImageSkia(); |