diff options
author | mostynb <mostynb@opera.com> | 2014-10-09 03:54:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-09 10:55:07 +0000 |
commit | 3b3d52b1844d5174f63a1db8cf3f0e3254ec43f6 (patch) | |
tree | 720b6c8d126123e087abffedaedd8a9fa4907132 /ui/compositor/test | |
parent | 002d02909368b7067cc3df9149c5e46ce445861c (diff) | |
download | chromium_src-3b3d52b1844d5174f63a1db8cf3f0e3254ec43f6.zip chromium_src-3b3d52b1844d5174f63a1db8cf3f0e3254ec43f6.tar.gz chromium_src-3b3d52b1844d5174f63a1db8cf3f0e3254ec43f6.tar.bz2 |
replace OVERRIDE and FINAL with override and final in ui/
BUG=417463
Review URL: https://codereview.chromium.org/623293004
Cr-Commit-Position: refs/heads/master@{#298839}
Diffstat (limited to 'ui/compositor/test')
-rw-r--r-- | ui/compositor/test/draw_waiter_for_test.h | 10 | ||||
-rw-r--r-- | ui/compositor/test/in_process_context_factory.h | 16 | ||||
-rw-r--r-- | ui/compositor/test/test_compositor_host_mac.mm | 4 | ||||
-rw-r--r-- | ui/compositor/test/test_compositor_host_ozone.cc | 4 | ||||
-rw-r--r-- | ui/compositor/test/test_compositor_host_win.cc | 4 | ||||
-rw-r--r-- | ui/compositor/test/test_compositor_host_x11.cc | 4 | ||||
-rw-r--r-- | ui/compositor/test/test_layer_animation_delegate.h | 38 | ||||
-rw-r--r-- | ui/compositor/test/test_layer_animation_observer.h | 8 | ||||
-rw-r--r-- | ui/compositor/test/test_suite.h | 4 |
9 files changed, 46 insertions, 46 deletions
diff --git a/ui/compositor/test/draw_waiter_for_test.h b/ui/compositor/test/draw_waiter_for_test.h index e1d63ff..78acd01 100644 --- a/ui/compositor/test/draw_waiter_for_test.h +++ b/ui/compositor/test/draw_waiter_for_test.h @@ -41,12 +41,12 @@ class DrawWaiterForTest : public CompositorObserver { void WaitImpl(Compositor* compositor); // CompositorObserver implementation. - virtual void OnCompositingDidCommit(Compositor* compositor) OVERRIDE; + virtual void OnCompositingDidCommit(Compositor* compositor) override; virtual void OnCompositingStarted(Compositor* compositor, - base::TimeTicks start_time) OVERRIDE; - virtual void OnCompositingEnded(Compositor* compositor) OVERRIDE; - virtual void OnCompositingAborted(Compositor* compositor) OVERRIDE; - virtual void OnCompositingLockStateChanged(Compositor* compositor) OVERRIDE; + base::TimeTicks start_time) override; + virtual void OnCompositingEnded(Compositor* compositor) override; + virtual void OnCompositingAborted(Compositor* compositor) override; + virtual void OnCompositingLockStateChanged(Compositor* compositor) override; scoped_ptr<base::RunLoop> wait_run_loop_; diff --git a/ui/compositor/test/in_process_context_factory.h b/ui/compositor/test/in_process_context_factory.h index 1179729..56f2d7e 100644 --- a/ui/compositor/test/in_process_context_factory.h +++ b/ui/compositor/test/in_process_context_factory.h @@ -27,19 +27,19 @@ class InProcessContextFactory : public ContextFactory { // ContextFactory implementation virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( Compositor* compositor, - bool software_fallback) OVERRIDE; + bool software_fallback) override; virtual scoped_refptr<Reflector> CreateReflector( Compositor* mirrored_compositor, - Layer* mirroring_layer) OVERRIDE; - virtual void RemoveReflector(scoped_refptr<Reflector> reflector) OVERRIDE; + Layer* mirroring_layer) override; + virtual void RemoveReflector(scoped_refptr<Reflector> reflector) override; virtual scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() - OVERRIDE; - virtual void RemoveCompositor(Compositor* compositor) OVERRIDE; - virtual bool DoesCreateTestContexts() OVERRIDE; - virtual cc::SharedBitmapManager* GetSharedBitmapManager() OVERRIDE; - virtual base::MessageLoopProxy* GetCompositorMessageLoop() OVERRIDE; + override; + virtual void RemoveCompositor(Compositor* compositor) override; + virtual bool DoesCreateTestContexts() override; + virtual cc::SharedBitmapManager* GetSharedBitmapManager() override; + virtual base::MessageLoopProxy* GetCompositorMessageLoop() override; private: scoped_ptr<base::Thread> compositor_thread_; diff --git a/ui/compositor/test/test_compositor_host_mac.mm b/ui/compositor/test/test_compositor_host_mac.mm index c85f743..12a9766 100644 --- a/ui/compositor/test/test_compositor_host_mac.mm +++ b/ui/compositor/test/test_compositor_host_mac.mm @@ -88,8 +88,8 @@ class TestCompositorHostMac : public TestCompositorHost, private: // TestCompositorHost: - virtual void Show() OVERRIDE; - virtual ui::Compositor* GetCompositor() OVERRIDE; + virtual void Show() override; + virtual ui::Compositor* GetCompositor() override; gfx::Rect bounds_; diff --git a/ui/compositor/test/test_compositor_host_ozone.cc b/ui/compositor/test/test_compositor_host_ozone.cc index f520b4a..0d3861e 100644 --- a/ui/compositor/test/test_compositor_host_ozone.cc +++ b/ui/compositor/test/test_compositor_host_ozone.cc @@ -24,8 +24,8 @@ class TestCompositorHostOzone : public TestCompositorHost { private: // Overridden from TestCompositorHost: - virtual void Show() OVERRIDE; - virtual ui::Compositor* GetCompositor() OVERRIDE; + virtual void Show() override; + virtual ui::Compositor* GetCompositor() override; gfx::Rect bounds_; diff --git a/ui/compositor/test/test_compositor_host_win.cc b/ui/compositor/test/test_compositor_host_win.cc index a6278f6..e89d092 100644 --- a/ui/compositor/test/test_compositor_host_win.cc +++ b/ui/compositor/test/test_compositor_host_win.cc @@ -29,10 +29,10 @@ class TestCompositorHostWin : public TestCompositorHost, } // Overridden from TestCompositorHost: - virtual void Show() OVERRIDE { + virtual void Show() override { ShowWindow(hwnd(), SW_SHOWNORMAL); } - virtual ui::Compositor* GetCompositor() OVERRIDE { + virtual ui::Compositor* GetCompositor() override { return compositor_.get(); } diff --git a/ui/compositor/test/test_compositor_host_x11.cc b/ui/compositor/test/test_compositor_host_x11.cc index ff1097c..0ee6284 100644 --- a/ui/compositor/test/test_compositor_host_x11.cc +++ b/ui/compositor/test/test_compositor_host_x11.cc @@ -27,8 +27,8 @@ class TestCompositorHostX11 : public TestCompositorHost { private: // Overridden from TestCompositorHost: - virtual void Show() OVERRIDE; - virtual ui::Compositor* GetCompositor() OVERRIDE; + virtual void Show() override; + virtual ui::Compositor* GetCompositor() override; gfx::Rect bounds_; diff --git a/ui/compositor/test/test_layer_animation_delegate.h b/ui/compositor/test/test_layer_animation_delegate.h index 0732c99..3ccb108 100644 --- a/ui/compositor/test/test_layer_animation_delegate.h +++ b/ui/compositor/test/test_layer_animation_delegate.h @@ -19,27 +19,27 @@ class TestLayerAnimationDelegate : public LayerAnimationDelegate { virtual ~TestLayerAnimationDelegate(); // Implementation of LayerAnimationDelegate - virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE; + virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) override; virtual void SetTransformFromAnimation( - const gfx::Transform& transform) OVERRIDE; - virtual void SetOpacityFromAnimation(float opacity) OVERRIDE; - virtual void SetVisibilityFromAnimation(bool visibility) OVERRIDE; - virtual void SetBrightnessFromAnimation(float brightness) OVERRIDE; - virtual void SetGrayscaleFromAnimation(float grayscale) OVERRIDE; - virtual void SetColorFromAnimation(SkColor color) OVERRIDE; - virtual void ScheduleDrawForAnimation() OVERRIDE; - virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE; - virtual gfx::Transform GetTransformForAnimation() const OVERRIDE; - virtual float GetOpacityForAnimation() const OVERRIDE; - virtual bool GetVisibilityForAnimation() const OVERRIDE; - virtual float GetBrightnessForAnimation() const OVERRIDE; - virtual float GetGrayscaleForAnimation() const OVERRIDE; - virtual SkColor GetColorForAnimation() const OVERRIDE; - virtual float GetDeviceScaleFactor() const OVERRIDE; + const gfx::Transform& transform) override; + virtual void SetOpacityFromAnimation(float opacity) override; + virtual void SetVisibilityFromAnimation(bool visibility) override; + virtual void SetBrightnessFromAnimation(float brightness) override; + virtual void SetGrayscaleFromAnimation(float grayscale) override; + virtual void SetColorFromAnimation(SkColor color) override; + virtual void ScheduleDrawForAnimation() override; + virtual const gfx::Rect& GetBoundsForAnimation() const override; + virtual gfx::Transform GetTransformForAnimation() const override; + virtual float GetOpacityForAnimation() const override; + virtual bool GetVisibilityForAnimation() const override; + virtual float GetBrightnessForAnimation() const override; + virtual float GetGrayscaleForAnimation() const override; + virtual SkColor GetColorForAnimation() const override; + virtual float GetDeviceScaleFactor() const override; virtual void AddThreadedAnimation( - scoped_ptr<cc::Animation> animation) OVERRIDE; - virtual void RemoveThreadedAnimation(int animation_id) OVERRIDE; - virtual LayerAnimatorCollection* GetLayerAnimatorCollection() OVERRIDE; + scoped_ptr<cc::Animation> animation) override; + virtual void RemoveThreadedAnimation(int animation_id) override; + virtual LayerAnimatorCollection* GetLayerAnimatorCollection() override; private: gfx::Rect bounds_; diff --git a/ui/compositor/test/test_layer_animation_observer.h b/ui/compositor/test/test_layer_animation_observer.h index 52789f8..bfdcd28 100644 --- a/ui/compositor/test/test_layer_animation_observer.h +++ b/ui/compositor/test/test_layer_animation_observer.h @@ -20,15 +20,15 @@ class TestLayerAnimationObserver : public LayerAnimationObserver { virtual ~TestLayerAnimationObserver(); virtual void OnLayerAnimationEnded( - LayerAnimationSequence* sequence) OVERRIDE; + LayerAnimationSequence* sequence) override; virtual void OnLayerAnimationAborted( - LayerAnimationSequence* sequence) OVERRIDE; + LayerAnimationSequence* sequence) override; virtual void OnLayerAnimationScheduled( - LayerAnimationSequence* sequence) OVERRIDE; + LayerAnimationSequence* sequence) override; - virtual bool RequiresNotificationWhenAnimatorDestroyed() const OVERRIDE; + virtual bool RequiresNotificationWhenAnimatorDestroyed() const override; const LayerAnimationSequence* last_ended_sequence() const { return last_ended_sequence_; diff --git a/ui/compositor/test/test_suite.h b/ui/compositor/test/test_suite.h index 2d86fdc..3daf439 100644 --- a/ui/compositor/test/test_suite.h +++ b/ui/compositor/test/test_suite.h @@ -24,8 +24,8 @@ class CompositorTestSuite : public base::TestSuite { protected: // Overridden from base::TestSuite: - virtual void Initialize() OVERRIDE; - virtual void Shutdown() OVERRIDE; + virtual void Initialize() override; + virtual void Shutdown() override; private: scoped_ptr<base::MessageLoop> message_loop_; |