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

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: order 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..77fc9844ba6c14cc457e2a5219c16a212ca9cba4 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;
}
@@ -30,6 +34,8 @@ class VIEWS_EXPORT Combobox : public View {
explicit Combobox(ui::ComboboxModel* model);
virtual ~Combobox();
+ static const gfx::Font& GetFont();
+
// Register |listener| for item change events.
void set_listener(ComboboxListener* listener) {
listener_ = listener;
« 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