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

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

Issue 14696007: Warn on missing OVERRIDE/virtual everywhere, not just in header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: new regressions, attempt 3 Created 7 years, 8 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/gfx/image/image.cc ('k') | ui/views/corewm/focus_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view_unittest.cc
diff --git a/ui/message_center/views/message_center_view_unittest.cc b/ui/message_center/views/message_center_view_unittest.cc
index 128b9b7e40aaafa013f8de570af41e02170811fc..84ac652f9b7ba1188100e7db9ace888253d11c25 100644
--- a/ui/message_center/views/message_center_view_unittest.cc
+++ b/ui/message_center/views/message_center_view_unittest.cc
@@ -40,9 +40,9 @@ class MockNotificationView : public NotificationView {
int view_id);
virtual ~MockNotificationView();
- virtual gfx::Size GetPreferredSize();
- virtual int GetHeightForWidth(int w);
- virtual void Layout();
+ virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual int GetHeightForWidth(int w) OVERRIDE;
+ virtual void Layout() OVERRIDE;
int get_id() { return id_; };
@@ -104,7 +104,7 @@ class MessageCenterViewTest : public testing::Test,
int GetNotificationCount();
int GetCallCount(CallType type);
- void RegisterCall(int receiver_id, CallType type);
+ virtual void RegisterCall(int receiver_id, CallType type) OVERRIDE;
void LogBounds(int depth, views::View* view);
« no previous file with comments | « ui/gfx/image/image.cc ('k') | ui/views/corewm/focus_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698