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

Unified Diff: ui/compositor/test/test_layer_animation_delegate.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/compositor/test/test_compositor_host_x11.cc ('k') | ui/compositor/test/test_layer_animation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_layer_animation_delegate.h
diff --git a/ui/compositor/test/test_layer_animation_delegate.h b/ui/compositor/test/test_layer_animation_delegate.h
deleted file mode 100644
index 4b1f8170502bc7e7103df8f9cb5ffa784eb3167c..0000000000000000000000000000000000000000
--- a/ui/compositor/test/test_layer_animation_delegate.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
-#define UI_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
-
-#include "base/compiler_specific.h"
-#include "ui/compositor/layer_animation_delegate.h"
-#include "ui/gfx/rect.h"
-#include "ui/gfx/transform.h"
-
-namespace ui {
-
-class TestLayerAnimationDelegate : public LayerAnimationDelegate {
- public:
- TestLayerAnimationDelegate();
- explicit TestLayerAnimationDelegate(const LayerAnimationDelegate& other);
- ~TestLayerAnimationDelegate() override;
-
- // Implementation of LayerAnimationDelegate
- void SetBoundsFromAnimation(const gfx::Rect& bounds) override;
- void SetTransformFromAnimation(const gfx::Transform& transform) override;
- void SetOpacityFromAnimation(float opacity) override;
- void SetVisibilityFromAnimation(bool visibility) override;
- void SetBrightnessFromAnimation(float brightness) override;
- void SetGrayscaleFromAnimation(float grayscale) override;
- void SetColorFromAnimation(SkColor color) override;
- void ScheduleDrawForAnimation() override;
- const gfx::Rect& GetBoundsForAnimation() const override;
- gfx::Transform GetTransformForAnimation() const override;
- float GetOpacityForAnimation() const override;
- bool GetVisibilityForAnimation() const override;
- float GetBrightnessForAnimation() const override;
- float GetGrayscaleForAnimation() const override;
- SkColor GetColorForAnimation() const override;
- float GetDeviceScaleFactor() const override;
- void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) override;
- void RemoveThreadedAnimation(int animation_id) override;
- LayerAnimatorCollection* GetLayerAnimatorCollection() override;
-
- private:
- gfx::Rect bounds_;
- gfx::Transform transform_;
- float opacity_;
- bool visibility_;
- float brightness_;
- float grayscale_;
- SkColor color_;
-
- // Allow copy and assign.
-};
-
-} // namespace ui
-
-#endif // UI_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
« no previous file with comments | « ui/compositor/test/test_compositor_host_x11.cc ('k') | ui/compositor/test/test_layer_animation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698