Build fix. Make overriding methods virtual to satisfy clang.

BUG=none.
TEST=none

TBR=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10831166

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149988 0039d316-1c4b-4281-b951-d872f2087c98
parent 62fffee0
...@@ -47,7 +47,7 @@ class VIEWS_EXPORT BubbleBorder2 : public BubbleBorder { ...@@ -47,7 +47,7 @@ class VIEWS_EXPORT BubbleBorder2 : public BubbleBorder {
void SetShadow(gfx::ShadowValue shadow); void SetShadow(gfx::ShadowValue shadow);
// views::BubbleBorder overrides: // views::BubbleBorder overrides:
int GetBorderThickness() const OVERRIDE; virtual int GetBorderThickness() const OVERRIDE;
protected: protected:
void PaintBackground(gfx::Canvas* canvas, void PaintBackground(gfx::Canvas* canvas,
...@@ -61,8 +61,9 @@ class VIEWS_EXPORT BubbleBorder2 : public BubbleBorder { ...@@ -61,8 +61,9 @@ class VIEWS_EXPORT BubbleBorder2 : public BubbleBorder {
virtual void GetInsets(gfx::Insets* insets) const OVERRIDE; virtual void GetInsets(gfx::Insets* insets) const OVERRIDE;
virtual gfx::Rect GetBounds(const gfx::Rect& position_relative_to, virtual gfx::Rect GetBounds(const gfx::Rect& position_relative_to,
const gfx::Size& contents_size) const OVERRIDE; const gfx::Size& contents_size) const OVERRIDE;
void GetInsetsForArrowLocation(gfx::Insets* insets, virtual void GetInsetsForArrowLocation(
ArrowLocation arrow_loc) const OVERRIDE; gfx::Insets* insets,
ArrowLocation arrow_loc) const OVERRIDE;
// views::Border overrides: // views::Border overrides:
virtual void Paint(const View& view, virtual void Paint(const View& view,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment