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

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

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « skia/ext/vector_platform_device_win.cc ('k') | views/controls/menu/menu_config_win.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // 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/combobox_model.h" 7 #include "app/combobox_model.h"
8 #include "app/gfx/font.h" 8 #include "app/gfx/font.h"
9 #include "app/gfx/native_theme_win.h"
9 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
11 #include "base/gfx/native_theme.h"
12 #include "views/controls/combobox/combobox.h" 12 #include "views/controls/combobox/combobox.h"
13 #include "views/widget/widget.h" 13 #include "views/widget/widget.h"
14 14
15 namespace views { 15 namespace views {
16 16
17 // Limit how small a combobox can be. 17 // Limit how small a combobox can be.
18 static const int kMinComboboxWidth = 148; 18 static const int kMinComboboxWidth = 148;
19 19
20 // Add a couple extra pixels to the widths of comboboxes and combobox 20 // Add a couple extra pixels to the widths of comboboxes and combobox
21 // dropdowns so that text isn't too crowded. 21 // dropdowns so that text isn't too crowded.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 //////////////////////////////////////////////////////////////////////////////// 188 ////////////////////////////////////////////////////////////////////////////////
189 // NativeComboboxWrapper, public: 189 // NativeComboboxWrapper, public:
190 190
191 // static 191 // static
192 NativeComboboxWrapper* NativeComboboxWrapper::CreateWrapper( 192 NativeComboboxWrapper* NativeComboboxWrapper::CreateWrapper(
193 Combobox* combobox) { 193 Combobox* combobox) {
194 return new NativeComboboxWin(combobox); 194 return new NativeComboboxWin(combobox);
195 } 195 }
196 196
197 } // namespace views 197 } // namespace views
OLDNEW
« no previous file with comments | « skia/ext/vector_platform_device_win.cc ('k') | views/controls/menu/menu_config_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698