Chromium Code Reviews| 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 1d550a2ff75b849947c3e67e19514f9befc3c497..fdab98077ac7c50a2664d26b6bb4c5c2173045ed 100644 |
| --- a/ui/views/controls/tree/tree_view.cc |
| +++ b/ui/views/controls/tree/tree_view.cc |
| @@ -22,7 +22,6 @@ |
| #include "ui/views/controls/scroll_view.h" |
| #include "ui/views/controls/textfield/textfield.h" |
| #include "ui/views/controls/tree/tree_view_controller.h" |
| -#include "ui/views/ime/input_method.h" |
| using ui::TreeModel; |
| using ui::TreeModelNode; |
| @@ -600,13 +599,10 @@ void TreeView::OnPaint(gfx::Canvas* canvas) { |
| void TreeView::OnFocus() { |
| View::OnFocus(); |
| SchedulePaintForNode(selected_node_); |
| - |
| - // Notify the InputMethod so that it knows to query the TextInputClient. |
| - if (GetInputMethod()) |
| - GetInputMethod()->OnCaretBoundsChanged(this); |
|
sky
2013/08/21 23:35:29
I'm pretty sure I found that if I didn't invoke th
msw
2013/08/22 18:07:10
I tested English and Japanese in Win7, Win8 Deskto
|
| } |
| void TreeView::OnBlur() { |
| + View::OnBlur(); |
| SchedulePaintForNode(selected_node_); |
| if (selector_) |
| selector_->OnViewBlur(); |