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

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

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 8 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: ui/gfx/compositor/test/test_layer_animation_delegate.h
diff --git a/ui/gfx/compositor/test/test_layer_animation_delegate.h b/ui/gfx/compositor/test/test_layer_animation_delegate.h
deleted file mode 100644
index 862544543385bc9c120f9a8d17fa259a2962b75b..0000000000000000000000000000000000000000
--- a/ui/gfx/compositor/test/test_layer_animation_delegate.h
+++ /dev/null
@@ -1,44 +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_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
-#define UI_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "ui/gfx/rect.h"
-#include "ui/gfx/transform.h"
-#include "ui/gfx/compositor/layer_animation_delegate.h"
-
-namespace ui {
-
-class TestLayerAnimationDelegate : public LayerAnimationDelegate {
- public:
- TestLayerAnimationDelegate();
- explicit TestLayerAnimationDelegate(const LayerAnimationDelegate& other);
- virtual ~TestLayerAnimationDelegate();
-
- // Implementation of LayerAnimationDelegate
- virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE;
- virtual void SetTransformFromAnimation(const Transform& transform) OVERRIDE;
- virtual void SetOpacityFromAnimation(float opacity) OVERRIDE;
- virtual void SetVisibilityFromAnimation(bool visibility) OVERRIDE;
- virtual void ScheduleDrawForAnimation() OVERRIDE;
- virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE;
- virtual const Transform& GetTransformForAnimation() const OVERRIDE;
- virtual float GetOpacityForAnimation() const OVERRIDE;
- virtual bool GetVisibilityForAnimation() const OVERRIDE;
-
- private:
- gfx::Rect bounds_;
- Transform transform_;
- float opacity_;
- bool visibility_;
-
- // Allow copy and assign.
-};
-
-} // namespace ui
-
-#endif // UI_GFX_COMPOSITOR_TEST_TEST_LAYER_ANIMATION_DELEGATE_H_
« no previous file with comments | « ui/gfx/compositor/test/test_compositor_host_win.cc ('k') | ui/gfx/compositor/test/test_layer_animation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698