summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/infobars/infobar_text_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/infobars/infobar_text_button.h')
-rw-r--r--chrome/browser/views/infobars/infobar_text_button.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/chrome/browser/views/infobars/infobar_text_button.h b/chrome/browser/views/infobars/infobar_text_button.h
index 35f16a1..7255f0d 100644
--- a/chrome/browser/views/infobars/infobar_text_button.h
+++ b/chrome/browser/views/infobars/infobar_text_button.h
@@ -6,33 +6,8 @@
#define CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_TEXT_BUTTON_H_
#pragma once
-#include "views/controls/button/text_button.h"
-
-// A TextButton subclass that overrides OnMousePressed to default to
-// CustomButton so as to create pressed state effect.
-
-class InfoBarTextButton : public views::TextButton {
- public:
- // Creates a button with the specified |text|.
- static InfoBarTextButton* Create(views::ButtonListener* listener,
- const string16& text);
- // Creates a button which text is the resource string identified by
- // |message_id|.
- static InfoBarTextButton* CreateWithMessageID(views::ButtonListener* listener,
- int message_id);
- static InfoBarTextButton* CreateWithMessageIDAndParam(
- views::ButtonListener* listener, int message_id, const string16& param);
-
- virtual ~InfoBarTextButton();
-
- protected:
- InfoBarTextButton(views::ButtonListener* listener, const string16& text);
-
- // Overriden from TextButton:
- virtual bool OnMousePressed(const views::MouseEvent& e);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(InfoBarTextButton);
-};
+#include "chrome/browser/ui/views/infobars/infobar_text_button.h"
+// TODO(beng): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_TEXT_BUTTON_H_
+