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

Unified Diff: chrome/browser/ui/app_list/app_list_shower_views_unittest.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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
Index: chrome/browser/ui/app_list/app_list_shower_views_unittest.cc
diff --git a/chrome/browser/ui/app_list/app_list_shower_views_unittest.cc b/chrome/browser/ui/app_list/app_list_shower_views_unittest.cc
index 6ae22ae82c7930d61afa4690a2e87db258650f18..8360507650abdfda48e1694b4a41e9e3d978e0e1 100644
--- a/chrome/browser/ui/app_list/app_list_shower_views_unittest.cc
+++ b/chrome/browser/ui/app_list/app_list_shower_views_unittest.cc
@@ -19,30 +19,30 @@ class FakeAppListShower : public AppListShower {
: AppListShower(delegate), has_view_(false), visible_(false) {}
// AppListShower:
- virtual void HandleViewBeingDestroyed() OVERRIDE {
+ virtual void HandleViewBeingDestroyed() override {
AppListShower::HandleViewBeingDestroyed();
has_view_ = false;
visible_ = false;
}
- virtual bool IsAppListVisible() const OVERRIDE { return visible_; }
+ virtual bool IsAppListVisible() const override { return visible_; }
- virtual app_list::AppListView* MakeViewForCurrentProfile() OVERRIDE {
+ virtual app_list::AppListView* MakeViewForCurrentProfile() override {
has_view_ = true;
return NULL;
}
- virtual void UpdateViewForNewProfile() OVERRIDE {}
+ virtual void UpdateViewForNewProfile() override {}
- virtual void Show() OVERRIDE {
+ virtual void Show() override {
visible_ = true;
}
- virtual void Hide() OVERRIDE {
+ virtual void Hide() override {
visible_ = false;
}
- virtual bool HasView() const OVERRIDE {
+ virtual bool HasView() const override {
return has_view_;
}
@@ -62,13 +62,13 @@ class AppListShowerUnitTest : public testing::Test,
: views_created_(0),
views_dismissed_(0) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
shower_.reset(new FakeAppListShower(this));
profile1_ = CreateProfile("p1").Pass();
profile2_ = CreateProfile("p2").Pass();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
}
scoped_ptr<FakeProfile> CreateProfile(const std::string& name) {
@@ -76,7 +76,7 @@ class AppListShowerUnitTest : public testing::Test,
}
// AppListShowerDelegate:
- virtual AppListViewDelegate* GetViewDelegateForCreate() OVERRIDE {
+ virtual AppListViewDelegate* GetViewDelegateForCreate() override {
return NULL;
}
@@ -84,9 +84,9 @@ class AppListShowerUnitTest : public testing::Test,
return shower_->keep_alive_.get() != NULL;
}
- virtual void OnViewCreated() OVERRIDE { ++views_created_; }
- virtual void OnViewDismissed() OVERRIDE { ++views_dismissed_; }
- virtual void MoveNearCursor(app_list::AppListView* view) OVERRIDE {}
+ virtual void OnViewCreated() override { ++views_created_; }
+ virtual void OnViewDismissed() override { ++views_dismissed_; }
+ virtual void MoveNearCursor(app_list::AppListView* view) override {}
protected:
scoped_ptr<FakeAppListShower> shower_;
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_views.h ('k') | chrome/browser/ui/app_list/app_list_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698