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

Unified Diff: ui/message_center/views/proportional_image_view.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/padded_button.h ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/proportional_image_view.h
diff --git a/ui/message_center/views/proportional_image_view.h b/ui/message_center/views/proportional_image_view.h
index f92b4d889ee893288adbca9e001e2c3f55b8ea03..63e8e049b0e519dd300d3a6fe06eb07012ca19ed 100644
--- a/ui/message_center/views/proportional_image_view.h
+++ b/ui/message_center/views/proportional_image_view.h
@@ -14,12 +14,12 @@ namespace message_center {
class ProportionalImageView : public views::View {
public:
ProportionalImageView(const gfx::ImageSkia& image, const gfx::Size& max_size);
- virtual ~ProportionalImageView();
+ ~ProportionalImageView() override;
// Overridden from views::View:
- virtual gfx::Size GetPreferredSize() const override;
- virtual int GetHeightForWidth(int width) const override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
+ gfx::Size GetPreferredSize() const override;
+ int GetHeightForWidth(int width) const override;
+ void OnPaint(gfx::Canvas* canvas) override;
private:
gfx::Size GetImageDrawingSize();
« no previous file with comments | « ui/message_center/views/padded_button.h ('k') | ui/message_center/views/toast_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698