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

Unified Diff: content/browser/web_contents/aura/window_slider_unittest.cc

Issue 628213003: Replace OVERRIDE and FINAL with override and final in content/browser/web_contents (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: content/browser/web_contents/aura/window_slider_unittest.cc
diff --git a/content/browser/web_contents/aura/window_slider_unittest.cc b/content/browser/web_contents/aura/window_slider_unittest.cc
index a65a127412fba6c86392bdf8f5e35d88e51c7abe..a406bfac0cbc791d208b7d8c10c3de17594ef5e7 100644
--- a/content/browser/web_contents/aura/window_slider_unittest.cc
+++ b/content/browser/web_contents/aura/window_slider_unittest.cc
@@ -76,7 +76,7 @@ class NoEventWindowDelegate : public aura::test::TestWindowDelegate {
private:
// Overridden from aura::WindowDelegate:
- virtual bool HasHitTestMask() const OVERRIDE { return true; }
+ virtual bool HasHitTestMask() const override { return true; }
DISALLOW_COPY_AND_ASSIGN(NoEventWindowDelegate);
};
@@ -127,33 +127,33 @@ class WindowSliderDelegateTest : public WindowSlider::Delegate {
}
// Overridden from WindowSlider::Delegate:
- virtual ui::Layer* CreateBackLayer() OVERRIDE {
+ virtual ui::Layer* CreateBackLayer() override {
if (!can_create_layer_)
return NULL;
created_back_layer_ = true;
return CreateLayerForTest();
}
- virtual ui::Layer* CreateFrontLayer() OVERRIDE {
+ virtual ui::Layer* CreateFrontLayer() override {
if (!can_create_layer_)
return NULL;
created_front_layer_ = true;
return CreateLayerForTest();
}
- virtual void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) OVERRIDE {
+ virtual void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) override {
slide_completed_ = true;
}
- virtual void OnWindowSlideCompleting() OVERRIDE {
+ virtual void OnWindowSlideCompleting() override {
slide_completing_ = true;
}
- virtual void OnWindowSlideAborted() OVERRIDE {
+ virtual void OnWindowSlideAborted() override {
slide_aborted_ = true;
}
- virtual void OnWindowSliderDestroyed() OVERRIDE {
+ virtual void OnWindowSliderDestroyed() override {
slider_destroyed_ = true;
}
@@ -179,7 +179,7 @@ class WindowSliderDeleteOwnerOnDestroy : public WindowSliderDelegateTest {
private:
// Overridden from WindowSlider::Delegate:
- virtual void OnWindowSliderDestroyed() OVERRIDE {
+ virtual void OnWindowSliderDestroyed() override {
WindowSliderDelegateTest::OnWindowSliderDestroyed();
delete owner_;
}
@@ -198,7 +198,7 @@ class WindowSliderDeleteOwnerOnComplete : public WindowSliderDelegateTest {
private:
// Overridden from WindowSlider::Delegate:
- virtual void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) OVERRIDE {
+ virtual void OnWindowSlideCompleted(scoped_ptr<ui::Layer> layer) override {
WindowSliderDelegateTest::OnWindowSlideCompleted(layer.Pass());
delete owner_;
}
« no previous file with comments | « content/browser/web_contents/aura/window_slider.cc ('k') | content/browser/web_contents/opened_by_dom_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698