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

Unified Diff: ash/system/tray/actionable_view.h

Issue 685483004: 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
« no previous file with comments | « no previous file | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/actionable_view.h
diff --git a/ash/system/tray/actionable_view.h b/ash/system/tray/actionable_view.h
index 1621be523c0428d6d39dc2d2b98eb4eee79cefaa..7baef57a78c28f12c875532b6ef869be2ec9b84d 100644
--- a/ash/system/tray/actionable_view.h
+++ b/ash/system/tray/actionable_view.h
@@ -24,7 +24,7 @@ class ASH_EXPORT ActionableView : public views::View {
ActionableView();
- virtual ~ActionableView();
+ ~ActionableView() override;
void SetAccessibleName(const base::string16& name);
const base::string16& accessible_name() const { return accessible_name_; }
@@ -41,18 +41,18 @@ class ASH_EXPORT ActionableView : public views::View {
virtual bool PerformAction(const ui::Event& event) = 0;
// Overridden from views::View.
- virtual const char* GetClassName() const override;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) override;
- virtual bool OnMousePressed(const ui::MouseEvent& event) override;
- virtual void OnMouseReleased(const ui::MouseEvent& event) override;
- virtual void OnMouseCaptureLost() override;
- virtual void GetAccessibleState(ui::AXViewState* state) override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
- virtual void OnFocus() override;
- virtual void OnBlur() override;
+ const char* GetClassName() const override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
+ bool OnMousePressed(const ui::MouseEvent& event) override;
+ void OnMouseReleased(const ui::MouseEvent& event) override;
+ void OnMouseCaptureLost() override;
+ void GetAccessibleState(ui::AXViewState* state) override;
+ void OnPaint(gfx::Canvas* canvas) override;
+ void OnFocus() override;
+ void OnBlur() override;
// Overridden from ui::EventHandler.
- virtual void OnGestureEvent(ui::GestureEvent* event) override;
+ void OnGestureEvent(ui::GestureEvent* event) override;
private:
base::string16 accessible_name_;
« no previous file with comments | « no previous file | ash/system/tray/default_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698