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

Unified Diff: ui/message_center/views/desktop_popup_alignment_delegate.h

Issue 657923005: 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 | « ui/message_center/views/bounded_label_unittest.cc ('k') | ui/message_center/views/message_center_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/desktop_popup_alignment_delegate.h
diff --git a/ui/message_center/views/desktop_popup_alignment_delegate.h b/ui/message_center/views/desktop_popup_alignment_delegate.h
index 1e126d8e026f7198cd83e09ba38ab85b9364a205..58f26bfd6d71f01c47ae16e0049ba67def6f94fc 100644
--- a/ui/message_center/views/desktop_popup_alignment_delegate.h
+++ b/ui/message_center/views/desktop_popup_alignment_delegate.h
@@ -25,17 +25,17 @@ class MESSAGE_CENTER_EXPORT DesktopPopupAlignmentDelegate
public gfx::DisplayObserver {
public:
DesktopPopupAlignmentDelegate();
- virtual ~DesktopPopupAlignmentDelegate();
+ ~DesktopPopupAlignmentDelegate() override;
void StartObserving(gfx::Screen* screen);
// Overridden from 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 test::MessagePopupCollectionTest;
@@ -48,10 +48,10 @@ class MESSAGE_CENTER_EXPORT DesktopPopupAlignmentDelegate
};
// 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;
int32_t alignment_;
int64_t display_id_;
« no previous file with comments | « ui/message_center/views/bounded_label_unittest.cc ('k') | ui/message_center/views/message_center_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698