diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 16:28:35 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 16:28:35 +0000 |
commit | 61b84ba044118d4338416bf8c9a1dc5c03cf78a2 (patch) | |
tree | d6b0881a183492da8bd863fc3be7bbfd21af9d0e /ui/views/examples/native_theme_button_example.h | |
parent | cd43b5d95d3d089ce31ee21ef54a8a492388fcde (diff) | |
download | chromium_src-61b84ba044118d4338416bf8c9a1dc5c03cf78a2.zip chromium_src-61b84ba044118d4338416bf8c9a1dc5c03cf78a2.tar.gz chromium_src-61b84ba044118d4338416bf8c9a1dc5c03cf78a2.tar.bz2 |
views: Factor out Listener from Combobox into its own header file.
R=sky@chromium.org
Review URL: http://codereview.chromium.org/8607001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/examples/native_theme_button_example.h')
-rw-r--r-- | ui/views/examples/native_theme_button_example.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/views/examples/native_theme_button_example.h b/ui/views/examples/native_theme_button_example.h index 59f5e97..8b59fec 100644 --- a/ui/views/examples/native_theme_button_example.h +++ b/ui/views/examples/native_theme_button_example.h @@ -10,7 +10,7 @@ #include "ui/gfx/native_theme.h" #include "ui/views/examples/example_base.h" #include "views/controls/button/custom_button.h" -#include "views/controls/combobox/combobox.h" +#include "views/controls/combobox/combobox_listener.h" #include "views/native_theme_delegate.h" #include "views/native_theme_painter.h" @@ -24,7 +24,7 @@ namespace examples { // A subclass of button to test native theme rendering. class ExampleNativeThemeButton : public views::CustomButton, public views::NativeThemeDelegate, - public views::Combobox::Listener { + public views::ComboboxListener { public: ExampleNativeThemeButton(views::ButtonListener* listener, views::Combobox* cb_part, @@ -34,11 +34,11 @@ class ExampleNativeThemeButton : public views::CustomButton, std::string MessWithState(); private: - // Overridden from View: + // Overridden from views::View: virtual gfx::Size GetPreferredSize() OVERRIDE; virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; - // Overridden from views::Combobox::Listener: + // Overridden from views::ComboboxListener: virtual void ItemChanged(views::Combobox* combo_box, int prev_index, int new_index) OVERRIDE; |