diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-23 21:55:52 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-23 21:55:52 +0000 |
commit | a8111ce7343d3d6458eff4a5f370cf611f6753b4 (patch) | |
tree | 30dfb0171c2e450f0271d3c787ac0cfbc06e663b /chrome/browser/views/first_run_customize_view.h | |
parent | e48211e18675bec9056fb0762ec1c6644b0ff32e (diff) | |
download | chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.zip chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.gz chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.bz2 |
The death knell for the old native buttons, checkboxes and radio buttons.
Replace with renamed NativeButton2, Checkbox2, RadioButton2.
Review URL: http://codereview.chromium.org/50083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_customize_view.h')
-rw-r--r-- | chrome/browser/views/first_run_customize_view.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/chrome/browser/views/first_run_customize_view.h b/chrome/browser/views/first_run_customize_view.h index 9727bd8..b394254 100644 --- a/chrome/browser/views/first_run_customize_view.h +++ b/chrome/browser/views/first_run_customize_view.h @@ -6,17 +6,18 @@ #define CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ #include "chrome/browser/views/first_run_view_base.h" -#include "chrome/views/controls/button/native_button.h" +#include "chrome/views/controls/button/button.h" #include "chrome/views/controls/combo_box.h" #include "chrome/views/view.h" #include "chrome/views/window/dialog_delegate.h" namespace views { -class Label; -class Window; +class Checkbox; +class ComboBox; class ImageView; +class Label; class Separator; -class ComboBox; +class Window; } class Profile; @@ -24,7 +25,7 @@ class Profile; // FirstRunCustomizeView implements the dialog that allows the user to do // some simple customizations during the first run. class FirstRunCustomizeView : public FirstRunViewBase, - public views::NativeButton::Listener, + public views::ButtonListener, public views::ComboBox::Model { public: class CustomizeViewObserver { @@ -49,8 +50,8 @@ class FirstRunCustomizeView : public FirstRunViewBase, virtual bool Accept(); virtual bool Cancel(); - // Overridden form views::NativeButton::Listener. - virtual void ButtonPressed(views::NativeButton* sender); + // Overridden form views::ButtonListener. + virtual void ButtonPressed(views::Button* sender); // Overridden form views::ComboBox::Model. virtual int GetItemCount(views::ComboBox* source); @@ -68,14 +69,14 @@ class FirstRunCustomizeView : public FirstRunViewBase, // Initializes the controls on the dialog. void SetupControls(); - views::CheckBox* MakeCheckBox(int resource_id); + views::Checkbox* MakeCheckBox(int resource_id); views::Label* main_label_; - views::CheckBox* import_cbox_; + views::Checkbox* import_cbox_; views::ComboBox* import_from_combo_; views::Label* shortcuts_label_; - views::CheckBox* desktop_shortcut_cbox_; - views::CheckBox* quick_shortcut_cbox_; + views::Checkbox* desktop_shortcut_cbox_; + views::Checkbox* quick_shortcut_cbox_; CustomizeViewObserver* customize_observer_; |