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/gfx/canvas.h" | 9 #include "app/gfx/canvas.h" |
10 #include "app/gfx/canvas_paint.h" | 10 #include "app/gfx/canvas_paint.h" |
11 #include "app/gfx/favicon_size.h" | 11 #include "app/gfx/favicon_size.h" |
12 #include "app/gfx/icon_util.h" | |
13 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
14 #include "app/l10n_util_win.h" | 13 #include "app/l10n_util_win.h" |
15 #include "app/resource_bundle.h" | 14 #include "app/resource_bundle.h" |
16 #include "base/gfx/point.h" | 15 #include "base/gfx/point.h" |
17 #include "base/keyboard_codes.h" | 16 #include "base/keyboard_codes.h" |
18 #include "base/stl_util-inl.h" | 17 #include "base/stl_util-inl.h" |
19 #include "base/win_util.h" | 18 #include "base/win_util.h" |
| 19 #include "gfx/icon_util.h" |
20 #include "grit/app_resources.h" | 20 #include "grit/app_resources.h" |
21 #include "views/focus/focus_manager.h" | 21 #include "views/focus/focus_manager.h" |
22 #include "views/widget/widget.h" | 22 #include "views/widget/widget.h" |
23 | 23 |
24 namespace views { | 24 namespace views { |
25 | 25 |
26 TreeView::TreeView() | 26 TreeView::TreeView() |
27 : tree_view_(NULL), | 27 : tree_view_(NULL), |
28 model_(NULL), | 28 model_(NULL), |
29 auto_expand_children_(false), | 29 auto_expand_children_(false), |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 } | 777 } |
778 // Fall through and let the default handler process as well. | 778 // Fall through and let the default handler process as well. |
779 break; | 779 break; |
780 } | 780 } |
781 WNDPROC handler = tree->original_handler_; | 781 WNDPROC handler = tree->original_handler_; |
782 DCHECK(handler); | 782 DCHECK(handler); |
783 return CallWindowProc(handler, window, message, w_param, l_param); | 783 return CallWindowProc(handler, window, message, w_param, l_param); |
784 } | 784 } |
785 | 785 |
786 } // namespace views | 786 } // namespace views |
OLD | NEW |