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

Unified Diff: ash/shelf/shelf_layout_manager_unittest.cc

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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 | « ash/shelf/shelf_layout_manager.cc ('k') | ash/shelf/shelf_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager_unittest.cc
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index 03640c09d308d53811d3ba5a82634996a36ab17c..7091afbc0a66c39b451906cba19ed8586bd0afa3 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -107,7 +107,7 @@ class ShelfAnimationWaiter : views::WidgetObserver {
// views::WidgetObserver override.
virtual void OnWidgetBoundsChanged(views::Widget* widget,
- const gfx::Rect& new_bounds) OVERRIDE {
+ const gfx::Rect& new_bounds) override {
if (done_waiting_)
return;
@@ -242,7 +242,7 @@ class ShelfLayoutObserverTest : public ShelfLayoutManagerObserver {
private:
virtual void OnAutoHideStateChanged(
- ShelfAutoHideState new_state) OVERRIDE {
+ ShelfAutoHideState new_state) override {
changed_auto_hide_state_ = true;
}
@@ -261,7 +261,7 @@ class TestItem : public SystemTrayItem {
detailed_view_(NULL),
notification_view_(NULL) {}
- virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE {
+ virtual views::View* CreateTrayView(user::LoginStatus status) override {
tray_view_ = new views::View;
// Add a label so it has non-zero width.
tray_view_->SetLayoutManager(new views::FillLayout);
@@ -269,14 +269,14 @@ class TestItem : public SystemTrayItem {
return tray_view_;
}
- virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE {
+ virtual views::View* CreateDefaultView(user::LoginStatus status) override {
default_view_ = new views::View;
default_view_->SetLayoutManager(new views::FillLayout);
default_view_->AddChildView(new views::Label(base::UTF8ToUTF16("Default")));
return default_view_;
}
- virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE {
+ virtual views::View* CreateDetailedView(user::LoginStatus status) override {
detailed_view_ = new views::View;
detailed_view_->SetLayoutManager(new views::FillLayout);
detailed_view_->AddChildView(
@@ -285,29 +285,29 @@ class TestItem : public SystemTrayItem {
}
virtual views::View* CreateNotificationView(
- user::LoginStatus status) OVERRIDE {
+ user::LoginStatus status) override {
notification_view_ = new views::View;
return notification_view_;
}
- virtual void DestroyTrayView() OVERRIDE {
+ virtual void DestroyTrayView() override {
tray_view_ = NULL;
}
- virtual void DestroyDefaultView() OVERRIDE {
+ virtual void DestroyDefaultView() override {
default_view_ = NULL;
}
- virtual void DestroyDetailedView() OVERRIDE {
+ virtual void DestroyDetailedView() override {
detailed_view_ = NULL;
}
- virtual void DestroyNotificationView() OVERRIDE {
+ virtual void DestroyNotificationView() override {
notification_view_ = NULL;
}
virtual void UpdateAfterLoginStatusChange(
- user::LoginStatus status) OVERRIDE {}
+ user::LoginStatus status) override {}
views::View* tray_view() const { return tray_view_; }
views::View* default_view() const { return default_view_; }
@@ -365,7 +365,7 @@ class ShelfLayoutManagerTest : public ash::test::AshTestBase {
}
// Overridden from AshTestBase:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
CommandLine::ForCurrentProcess()->AppendSwitch(
ash::switches::kAshEnableTrayDragging);
test::AshTestBase::SetUp();
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/shelf/shelf_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698