Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Side by Side Diff: views/controls/combobox/native_combobox_win.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/controls/button/text_button.cc ('k') | views/controls/label.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/combobox/native_combobox_win.h" 5 #include "views/controls/combobox/native_combobox_win.h"
6 6
7 #include "app/resource_bundle.h"
8 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
9 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
10 #include "gfx/font.h" 9 #include "gfx/font.h"
11 #include "gfx/native_theme_win.h" 10 #include "gfx/native_theme_win.h"
12 #include "ui/base/models/combobox_model.h" 11 #include "ui/base/models/combobox_model.h"
12 #include "ui/base/resource/resource_bundle.h"
13 #include "views/controls/combobox/combobox.h" 13 #include "views/controls/combobox/combobox.h"
14 #include "views/widget/widget.h" 14 #include "views/widget/widget.h"
15 15
16 using ui::ComboboxModel; // TODO(beng): remove 16 using ui::ComboboxModel; // TODO(beng): remove
17 17
18 namespace views { 18 namespace views {
19 19
20 // Limit how small a combobox can be. 20 // Limit how small a combobox can be.
21 static const int kMinComboboxWidth = 148; 21 static const int kMinComboboxWidth = 148;
22 22
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 //////////////////////////////////////////////////////////////////////////////// 190 ////////////////////////////////////////////////////////////////////////////////
191 // NativeComboboxWrapper, public: 191 // NativeComboboxWrapper, public:
192 192
193 // static 193 // static
194 NativeComboboxWrapper* NativeComboboxWrapper::CreateWrapper( 194 NativeComboboxWrapper* NativeComboboxWrapper::CreateWrapper(
195 Combobox* combobox) { 195 Combobox* combobox) {
196 return new NativeComboboxWin(combobox); 196 return new NativeComboboxWin(combobox);
197 } 197 }
198 198
199 } // namespace views 199 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/button/text_button.cc ('k') | views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698