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/listbox/native_listbox_win.h" | 5 #include "views/controls/listbox/native_listbox_win.h" |
6 | 6 |
7 #include <commctrl.h> | 7 #include <commctrl.h> |
8 #include <windowsx.h> | 8 #include <windowsx.h> |
9 | 9 |
10 #include "app/l10n_util.h" | |
11 #include "app/l10n_util_win.h" | 10 #include "app/l10n_util_win.h" |
12 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
13 #include "base/logging.h" | 12 #include "base/logging.h" |
14 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
15 #include "base/win_util.h" | 14 #include "base/win_util.h" |
16 #include "gfx/font.h" | 15 #include "gfx/font.h" |
17 #include "views/controls/listbox/listbox.h" | 16 #include "views/controls/listbox/listbox.h" |
18 #include "views/widget/widget.h" | 17 #include "views/widget/widget.h" |
19 | 18 |
20 namespace views { | 19 namespace views { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 125 |
127 // static | 126 // static |
128 NativeListboxWrapper* NativeListboxWrapper::CreateNativeWrapper( | 127 NativeListboxWrapper* NativeListboxWrapper::CreateNativeWrapper( |
129 Listbox* listbox, | 128 Listbox* listbox, |
130 const std::vector<string16>& strings, | 129 const std::vector<string16>& strings, |
131 Listbox::Listener* listener) { | 130 Listbox::Listener* listener) { |
132 return new NativeListboxWin(listbox, strings, listener); | 131 return new NativeListboxWin(listbox, strings, listener); |
133 } | 132 } |
134 | 133 |
135 } // namespace views | 134 } // namespace views |
OLD | NEW |