summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/infobars/infobar_button_border.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/infobars/infobar_button_border.h')
-rw-r--r--chrome/browser/views/infobars/infobar_button_border.h46
1 files changed, 3 insertions, 43 deletions
diff --git a/chrome/browser/views/infobars/infobar_button_border.h b/chrome/browser/views/infobars/infobar_button_border.h
index 865e4f8..daafb16 100644
--- a/chrome/browser/views/infobars/infobar_button_border.h
+++ b/chrome/browser/views/infobars/infobar_button_border.h
@@ -6,48 +6,8 @@
#define CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_BUTTON_BORDER_H_
#pragma once
-#include "views/border.h"
-
-#include "third_party/skia/include/core/SkBitmap.h"
-
-namespace gfx {
-class Canvas;
-}
-namespace views {
-class View;
-}
-
-// A TextButtonBorder that is dark and also paints the button frame in the
-// normal state.
-
-class InfoBarButtonBorder : public views::Border {
- public:
- InfoBarButtonBorder();
- virtual ~InfoBarButtonBorder();
-
- // Overriden from Border:
- virtual void GetInsets(gfx::Insets* insets) const;
- virtual void Paint(const views::View& view, gfx::Canvas* canvas) const;
-
- private:
- // Images
- struct MBBImageSet {
- SkBitmap* top_left;
- SkBitmap* top;
- SkBitmap* top_right;
- SkBitmap* left;
- SkBitmap* center;
- SkBitmap* right;
- SkBitmap* bottom_left;
- SkBitmap* bottom;
- SkBitmap* bottom_right;
- };
-
- MBBImageSet normal_set_;
- MBBImageSet hot_set_;
- MBBImageSet pushed_set_;
-
- DISALLOW_COPY_AND_ASSIGN(InfoBarButtonBorder);
-};
+#include "chrome/browser/ui/views/infobars/infobar_button_border.h"
+// TODO(beng): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_VIEWS_INFOBARS_INFOBAR_BUTTON_BORDER_H_
+