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

Unified Diff: ui/message_center/views/bounded_label.cc

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.h ('k') | ui/message_center/views/bounded_label_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/bounded_label.cc
diff --git a/ui/message_center/views/bounded_label.cc b/ui/message_center/views/bounded_label.cc
index f6b2fe2b9fbc51dcac488caa932e64d7a00b939b..a634a29dd01b9ad167d25f61d8b68700603f7b8f 100644
--- a/ui/message_center/views/bounded_label.cc
+++ b/ui/message_center/views/bounded_label.cc
@@ -34,7 +34,7 @@ namespace message_center {
class InnerBoundedLabel : public views::Label {
public:
InnerBoundedLabel(const BoundedLabel& owner);
- virtual ~InnerBoundedLabel();
+ ~InnerBoundedLabel() override;
void SetNativeTheme(const ui::NativeTheme* theme);
@@ -44,12 +44,12 @@ class InnerBoundedLabel : public views::Label {
std::vector<base::string16> GetWrappedText(int width, int lines);
// Overridden from views::Label.
- virtual void SetText(const base::string16& text) override;
+ void SetText(const base::string16& text) override;
protected:
// Overridden from views::Label.
- virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
+ void OnPaint(gfx::Canvas* canvas) override;
private:
int GetTextFlags();
« no previous file with comments | « ui/message_center/views/bounded_label.h ('k') | ui/message_center/views/bounded_label_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698