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

Unified Diff: ui/views/controls/combobox/native_combobox_views.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 | « ui/views/controls/combobox/combobox.cc ('k') | ui/views/controls/combobox/native_combobox_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/native_combobox_views.h
diff --git a/ui/views/controls/combobox/native_combobox_views.h b/ui/views/controls/combobox/native_combobox_views.h
index e8dd165ab46dc87e1ddfb8e47179c2c870883424..64f9afeca1c8b52c1270da3ad61e4dcce21359e1 100644
--- a/ui/views/controls/combobox/native_combobox_views.h
+++ b/ui/views/controls/combobox/native_combobox_views.h
@@ -17,7 +17,6 @@ class Font;
namespace views {
-class KeyEvent;
class FocusableBorder;
class MenuRunner;
@@ -27,6 +26,8 @@ class NativeComboboxViews : public views::View,
public NativeComboboxWrapper,
public views::MenuDelegate {
public:
+ static const char kViewClassName[];
+
explicit NativeComboboxViews(Combobox* parent);
virtual ~NativeComboboxViews();
@@ -60,13 +61,7 @@ class NativeComboboxViews : public views::View,
virtual void ExecuteCommand(int id) OVERRIDE;
virtual bool GetAccelerator(int id, ui::Accelerator* accelerator) OVERRIDE;
- // class name of internal
- static const char kViewClassName[];
-
private:
- // Returns the Combobox's font.
- const gfx::Font& GetFont() const;
-
// Given bounds within our View, this helper routine mirrors the bounds if
// necessary.
void AdjustBoundsForRTLUI(gfx::Rect* rect) const;
« no previous file with comments | « ui/views/controls/combobox/combobox.cc ('k') | ui/views/controls/combobox/native_combobox_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698