OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/views/controls/tree/tree_view.h" | 5 #include "chrome/views/controls/tree/tree_view.h" |
6 | 6 |
7 #include <shellapi.h> | 7 #include <shellapi.h> |
8 | 8 |
| 9 #include "app/l10n_util.h" |
| 10 #include "app/l10n_util_win.h" |
9 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
10 #include "base/stl_util-inl.h" | 12 #include "base/stl_util-inl.h" |
11 #include "base/win_util.h" | 13 #include "base/win_util.h" |
12 #include "chrome/common/gfx/chrome_canvas.h" | 14 #include "chrome/common/gfx/chrome_canvas.h" |
13 #include "chrome/common/gfx/icon_util.h" | 15 #include "chrome/common/gfx/icon_util.h" |
14 #include "chrome/common/l10n_util.h" | |
15 #include "chrome/common/l10n_util_win.h" | |
16 #include "chrome/views/focus/focus_manager.h" | 16 #include "chrome/views/focus/focus_manager.h" |
17 #include "chrome/views/widget/widget.h" | 17 #include "chrome/views/widget/widget.h" |
18 #include "grit/theme_resources.h" | 18 #include "grit/theme_resources.h" |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 | 21 |
22 TreeView::TreeView() | 22 TreeView::TreeView() |
23 : tree_view_(NULL), | 23 : tree_view_(NULL), |
24 model_(NULL), | 24 model_(NULL), |
25 editable_(true), | 25 editable_(true), |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 } | 736 } |
737 // Fall through and let the default handler process as well. | 737 // Fall through and let the default handler process as well. |
738 break; | 738 break; |
739 } | 739 } |
740 WNDPROC handler = tree->original_handler_; | 740 WNDPROC handler = tree->original_handler_; |
741 DCHECK(handler); | 741 DCHECK(handler); |
742 return CallWindowProc(handler, window, message, w_param, l_param); | 742 return CallWindowProc(handler, window, message, w_param, l_param); |
743 } | 743 } |
744 | 744 |
745 } // namespace views | 745 } // namespace views |
OLD | NEW |