Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2514)

Unified Diff: ui/views/bubble/bubble_border.h

Issue 677413004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/bubble/bubble_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border.h
diff --git a/ui/views/bubble/bubble_border.h b/ui/views/bubble/bubble_border.h
index 8fc149b9276376cfcf64eab6fb0820adcf975722..4e60fb0360f4e583b675e3e3c6adf69100f7af59 100644
--- a/ui/views/bubble/bubble_border.h
+++ b/ui/views/bubble/bubble_border.h
@@ -109,7 +109,7 @@ class VIEWS_EXPORT BubbleBorder : public Border {
};
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?
@@ -196,9 +196,9 @@ class VIEWS_EXPORT BubbleBorder : public Border {
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);
@@ -233,7 +233,7 @@ class VIEWS_EXPORT BubbleBackground : public Background {
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_;
« no previous file with comments | « no previous file | ui/views/bubble/bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698