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