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