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

Unified Diff: ui/gfx/compositor/test_layer_animation_delegate.cc

Issue 8362006: Reland r107720 - Enable the new layer animation framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 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
« no previous file with comments | « ui/gfx/compositor/test_layer_animation_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test_layer_animation_delegate.cc
diff --git a/ui/gfx/compositor/test_layer_animation_delegate.cc b/ui/gfx/compositor/test_layer_animation_delegate.cc
deleted file mode 100644
index 5d87ae05043925ec8229679995deafc8eb3ef42b..0000000000000000000000000000000000000000
--- a/ui/gfx/compositor/test_layer_animation_delegate.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "ui/gfx/compositor/test_layer_animation_delegate.h"
-
-namespace ui {
-
-TestLayerAnimationDelegate::TestLayerAnimationDelegate() : opacity_(1.0f) {
-}
-
-TestLayerAnimationDelegate::~TestLayerAnimationDelegate() {
-}
-
-void TestLayerAnimationDelegate::SetBoundsFromAnimation(
- const gfx::Rect& bounds) {
- bounds_ = bounds;
-}
-
-void TestLayerAnimationDelegate::SetTransformFromAnimation(
- const Transform& transform) {
- transform_ = transform;
-}
-
-void TestLayerAnimationDelegate::SetOpacityFromAnimation(float opacity) {
- opacity_ = opacity;
-}
-
-void TestLayerAnimationDelegate::ScheduleDrawForAnimation() {
-}
-
-const gfx::Rect& TestLayerAnimationDelegate::GetBoundsForAnimation() const {
- return bounds_;
-}
-
-const Transform& TestLayerAnimationDelegate::GetTransformForAnimation() const {
- return transform_;
-}
-
-float TestLayerAnimationDelegate::GetOpacityForAnimation() const {
- return opacity_;
-}
-
-} // namespace ui
« no previous file with comments | « ui/gfx/compositor/test_layer_animation_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698