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

Unified Diff: ui/views/controls/combobox/combobox.h

Issue 9839034: views: Refactor the way we get the combo box font. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: share it Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/controls/combobox/combobox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/combobox.h
diff --git a/ui/views/controls/combobox/combobox.h b/ui/views/controls/combobox/combobox.h
index a6f7e351613bd692a52343d49eace92951fe902d..66edac8d88263e499a40b7da5559da15d7340f36 100644
--- a/ui/views/controls/combobox/combobox.h
+++ b/ui/views/controls/combobox/combobox.h
@@ -12,6 +12,10 @@
#include "ui/views/controls/combobox/native_combobox_wrapper.h"
#include "ui/views/view.h"
+namespace gfx {
+class Font;
+}
+
namespace ui {
class ComboboxModel;
}
@@ -26,6 +30,8 @@ class VIEWS_EXPORT Combobox : public View {
// The combobox's class name.
static const char kViewClassName[];
+ static const gfx::Font& GetFont();
sky 2012/03/23 18:13:34 static methods shouldn't be before the constructor
tfarina 2012/03/23 18:21:31 Fixed.
+
// |model| is not owned by the combo box.
explicit Combobox(ui::ComboboxModel* model);
virtual ~Combobox();
« no previous file with comments | « no previous file | ui/views/controls/combobox/combobox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698