OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "views/controls/tree/tree_view.h" | 5 #include "views/controls/tree/tree_view.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "app/l10n_util_win.h" | 9 #include "app/l10n_util_win.h" |
10 #include "app/resource_bundle.h" | |
11 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
12 #include "base/logging.h" | 11 #include "base/logging.h" |
13 #include "base/stl_util-inl.h" | 12 #include "base/stl_util-inl.h" |
14 #include "base/win/win_util.h" | 13 #include "base/win/win_util.h" |
15 #include "gfx/canvas_skia.h" | 14 #include "gfx/canvas_skia.h" |
16 #include "gfx/canvas_skia_paint.h" | 15 #include "gfx/canvas_skia_paint.h" |
17 #include "gfx/favicon_size.h" | 16 #include "gfx/favicon_size.h" |
18 #include "gfx/icon_util.h" | 17 #include "gfx/icon_util.h" |
19 #include "gfx/point.h" | 18 #include "gfx/point.h" |
20 #include "grit/app_resources.h" | 19 #include "grit/app_resources.h" |
21 #include "ui/base/keycodes/keyboard_codes.h" | 20 #include "ui/base/keycodes/keyboard_codes.h" |
22 #include "ui/base/keycodes/keyboard_code_conversion_win.h" | 21 #include "ui/base/keycodes/keyboard_code_conversion_win.h" |
| 22 #include "ui/base/resource/resource_bundle.h" |
23 #include "ui/base/win/hwnd_util.h" | 23 #include "ui/base/win/hwnd_util.h" |
24 #include "views/focus/focus_manager.h" | 24 #include "views/focus/focus_manager.h" |
25 #include "views/widget/widget.h" | 25 #include "views/widget/widget.h" |
26 | 26 |
27 using ui::TreeModel; | 27 using ui::TreeModel; |
28 using ui::TreeModelNode; | 28 using ui::TreeModelNode; |
29 | 29 |
30 namespace views { | 30 namespace views { |
31 | 31 |
32 TreeView::TreeView() | 32 TreeView::TreeView() |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 } | 762 } |
763 // Fall through and let the default handler process as well. | 763 // Fall through and let the default handler process as well. |
764 break; | 764 break; |
765 } | 765 } |
766 WNDPROC handler = tree->original_handler_; | 766 WNDPROC handler = tree->original_handler_; |
767 DCHECK(handler); | 767 DCHECK(handler); |
768 return CallWindowProc(handler, window, message, w_param, l_param); | 768 return CallWindowProc(handler, window, message, w_param, l_param); |
769 } | 769 } |
770 | 770 |
771 } // namespace views | 771 } // namespace views |
OLD | NEW |