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

Unified Diff: chrome/browser/ui/views/tabs/media_indicator_button.h

Issue 682763002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: chrome/browser/ui/views/tabs/media_indicator_button.h
diff --git a/chrome/browser/ui/views/tabs/media_indicator_button.h b/chrome/browser/ui/views/tabs/media_indicator_button.h
index 31e4ed0b56b6aeed275b710e5bcfc334ee12b39b..fb2f77f747a560fc2db3cf6eea20f5cc7a1761c5 100644
--- a/chrome/browser/ui/views/tabs/media_indicator_button.h
+++ b/chrome/browser/ui/views/tabs/media_indicator_button.h
@@ -30,7 +30,7 @@ class MediaIndicatorButton : public views::ImageButton,
static const char kViewClassName[];
MediaIndicatorButton();
- virtual ~MediaIndicatorButton();
+ ~MediaIndicatorButton() override;
// Returns the current TabMediaState except, while the indicator image is
// fading out, returns the prior TabMediaState.
@@ -44,17 +44,17 @@ class MediaIndicatorButton : public views::ImageButton,
protected:
// views::View:
- virtual const char* GetClassName() const override;
- virtual View* GetTooltipHandlerForPoint(const gfx::Point& point) override;
- virtual bool OnMouseDragged(const ui::MouseEvent& event) override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ const char* GetClassName() const override;
+ View* GetTooltipHandlerForPoint(const gfx::Point& point) override;
+ bool OnMouseDragged(const ui::MouseEvent& event) override;
+ void OnPaint(gfx::Canvas* canvas) override;
// views::ViewTargeterDelegate
- virtual bool DoesIntersectRect(const View* target,
- const gfx::Rect& rect) const override;
+ bool DoesIntersectRect(const View* target,
+ const gfx::Rect& rect) const override;
// views::Button:
- virtual void NotifyClick(const ui::Event& event) override;
+ void NotifyClick(const ui::Event& event) override;
private:
class FadeAnimationDelegate;
« no previous file with comments | « chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h ('k') | chrome/browser/ui/views/tabs/media_indicator_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698