};
BubbleBorder(Arrow arrow, Shadow shadow, SkColor color);
- virtual ~BubbleBorder();
+ ~BubbleBorder() override;
// Returns the radius of the corner of the border.
// TODO(xiyuan): Get rid of this since it's part of BorderImages now?
int GetArrowOffset(const gfx::Size& border_size) const;
// Overridden from Border:
- virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE;
- virtual gfx::Insets GetInsets() const OVERRIDE;
- virtual gfx::Size GetMinimumSize() const OVERRIDE;
+ void Paint(const View& view, gfx::Canvas* canvas) override;
+ gfx::Insets GetInsets() const override;
+ gfx::Size GetMinimumSize() const override;
private:
FRIEND_TEST_ALL_PREFIXES(BubbleBorderTest, GetSizeForContentsSizeTest);
explicit BubbleBackground(BubbleBorder* border) : border_(border) {}
// Overridden from Background:
- virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE;
+ void Paint(gfx::Canvas* canvas, View* view) const override;
private:
BubbleBorder* border_;