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

Unified Diff: ui/views/test/test_views.h

Issue 679233002: 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/views/test/focus_manager_test.h ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views.h
diff --git a/ui/views/test/test_views.h b/ui/views/test/test_views.h
index 429e59f531ffed5dcba70d8cf5337d3a2558ca34..f2dc2830669c0bb4ef8e62c83635b63fdfaad2f9 100644
--- a/ui/views/test/test_views.h
+++ b/ui/views/test/test_views.h
@@ -14,9 +14,9 @@ namespace views {
class StaticSizedView : public View {
public:
explicit StaticSizedView(const gfx::Size& size);
- virtual ~StaticSizedView();
+ ~StaticSizedView() override;
- virtual gfx::Size GetPreferredSize() const override;
+ gfx::Size GetPreferredSize() const override;
private:
gfx::Size size_;
@@ -28,12 +28,12 @@ class StaticSizedView : public View {
class ProportionallySizedView : public View {
public:
explicit ProportionallySizedView(int factor);
- virtual ~ProportionallySizedView();
+ ~ProportionallySizedView() override;
void set_preferred_width(int width) { preferred_width_ = width; }
- virtual int GetHeightForWidth(int w) const override;
- virtual gfx::Size GetPreferredSize() const override;
+ int GetHeightForWidth(int w) const override;
+ gfx::Size GetPreferredSize() const override;
private:
// The multiplicative factor between width and height, i.e.
« no previous file with comments | « ui/views/test/focus_manager_test.h ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698