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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.h

Issue 683473005: 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 | « ash/system/user/user_view.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/ash_popup_alignment_delegate.h
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.h b/ash/system/web_notification/ash_popup_alignment_delegate.h
index 365675b4f58c9f45233fe6d8fee5b291d34df669..cb94ad6cddd0c078a33efffbea8c43dafe3980df 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.h
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.h
@@ -37,7 +37,7 @@ class ASH_EXPORT AshPopupAlignmentDelegate
public gfx::DisplayObserver {
public:
AshPopupAlignmentDelegate();
- virtual ~AshPopupAlignmentDelegate();
+ ~AshPopupAlignmentDelegate() override;
// Start observing the system.
void StartObserving(gfx::Screen* screen, const gfx::Display& display);
@@ -47,12 +47,12 @@ class ASH_EXPORT AshPopupAlignmentDelegate
void SetSystemTrayHeight(int height);
// Overridden from message_center::PopupAlignmentDelegate:
- virtual int GetToastOriginX(const gfx::Rect& toast_bounds) const override;
- virtual int GetBaseLine() const override;
- virtual int GetWorkAreaBottom() const override;
- virtual bool IsTopDown() const override;
- virtual bool IsFromLeft() const override;
- virtual void RecomputeAlignment(const gfx::Display& display) override;
+ int GetToastOriginX(const gfx::Rect& toast_bounds) const override;
+ int GetBaseLine() const override;
+ int GetWorkAreaBottom() const override;
+ bool IsTopDown() const override;
+ bool IsFromLeft() const override;
+ void RecomputeAlignment(const gfx::Display& display) override;
private:
friend class AshPopupAlignmentDelegateTest;
@@ -67,16 +67,16 @@ class ASH_EXPORT AshPopupAlignmentDelegate
void UpdateShelf();
// Overridden from ShellObserver:
- virtual void OnDisplayWorkAreaInsetsChanged() override;
+ void OnDisplayWorkAreaInsetsChanged() override;
// Overridden from ShelfLayoutManagerObserver:
- virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) override;
+ void OnAutoHideStateChanged(ShelfAutoHideState new_state) override;
// Overridden from gfx::DisplayObserver:
- virtual void OnDisplayAdded(const gfx::Display& new_display) override;
- virtual void OnDisplayRemoved(const gfx::Display& old_display) override;
- virtual void OnDisplayMetricsChanged(const gfx::Display& display,
- uint32_t metrics) override;
+ void OnDisplayAdded(const gfx::Display& new_display) override;
+ void OnDisplayRemoved(const gfx::Display& old_display) override;
+ void OnDisplayMetricsChanged(const gfx::Display& display,
+ uint32_t metrics) override;
int64_t display_id_;
gfx::Screen* screen_;
« no previous file with comments | « ash/system/user/user_view.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698