summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/infobars/infobars.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
commita8111ce7343d3d6458eff4a5f370cf611f6753b4 (patch)
tree30dfb0171c2e450f0271d3c787ac0cfbc06e663b /chrome/browser/views/infobars/infobars.h
parente48211e18675bec9056fb0762ec1c6644b0ff32e (diff)
downloadchromium_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/infobars/infobars.h')
-rw-r--r--chrome/browser/views/infobars/infobars.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/chrome/browser/views/infobars/infobars.h b/chrome/browser/views/infobars/infobars.h
index c8b721dc..85388bd 100644
--- a/chrome/browser/views/infobars/infobars.h
+++ b/chrome/browser/views/infobars/infobars.h
@@ -8,16 +8,16 @@
#include "chrome/browser/tab_contents/infobar_delegate.h"
#include "chrome/common/animation.h"
#include "chrome/views/controls/button/button.h"
-#include "chrome/views/controls/button/native_button.h"
#include "chrome/views/controls/link.h"
class InfoBarContainer;
class SlideAnimation;
namespace views {
-class ImageButton;
class ExternalFocusTracker;
+class ImageButton;
class ImageView;
class Label;
+class NativeButton;
}
// This file contains implementations for some general purpose InfoBars. See
@@ -70,10 +70,10 @@ class InfoBar : public views::View,
// (Will lead to this InfoBar being closed).
void RemoveInfoBar() const;
- private:
// Overridden from views::ButtonListener:
virtual void ButtonPressed(views::Button* sender);
+ private:
// Overridden from AnimationDelegate:
virtual void AnimationProgressed(const Animation* animation);
virtual void AnimationEnded(const Animation* animation);
@@ -158,8 +158,7 @@ class LinkInfoBar : public InfoBar,
DISALLOW_COPY_AND_ASSIGN(LinkInfoBar);
};
-class ConfirmInfoBar : public AlertInfoBar,
- public views::NativeButton::Listener {
+class ConfirmInfoBar : public AlertInfoBar {
public:
explicit ConfirmInfoBar(ConfirmInfoBarDelegate* delegate);
virtual ~ConfirmInfoBar();
@@ -173,8 +172,8 @@ class ConfirmInfoBar : public AlertInfoBar,
views::View* parent,
views::View* child);
- // Overridden from views::NativeButton::Listener:
- virtual void ButtonPressed(views::NativeButton* sender);
+ // Overridden from views::ButtonListener:
+ virtual void ButtonPressed(views::Button* sender);
// Overridden from InfoBar:
virtual int GetAvailableWidth() const;