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

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_view.h

Issue 678093002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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
Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
index bd952997adb85a3eaf39fedfb0b10e0b44a1f54b..ca6aa06f1705d0ccc64dbef451ff999b9d381518 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
@@ -38,7 +38,7 @@ class IconLabelBubbleView : public views::View {
SkColor text_color,
SkColor parent_background_color,
bool elide_in_middle);
- virtual ~IconLabelBubbleView();
+ ~IconLabelBubbleView() override;
void SetLabel(const base::string16& label);
void SetImage(const gfx::ImageSkia& image);
@@ -48,10 +48,10 @@ class IconLabelBubbleView : public views::View {
protected:
// views::View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual void Layout() override;
- virtual void OnMouseEntered(const ui::MouseEvent& event) override;
- virtual void OnMouseExited(const ui::MouseEvent& event) override;
+ gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ void OnMouseEntered(const ui::MouseEvent& event) override;
+ void OnMouseExited(const ui::MouseEvent& event) override;
const gfx::FontList& font_list() const { return label_->font_list(); }
@@ -66,7 +66,7 @@ class IconLabelBubbleView : public views::View {
static int GetBubbleOuterPadding(bool by_icon);
// views::View:
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ void OnPaint(gfx::Canvas* canvas) override;
int GetPreLabelWidth() const;

Powered by Google App Engine
This is Rietveld 408576698