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

Unified Diff: views/layer_property_setter.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 | « views/layer_property_setter.h ('k') | views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/layer_property_setter.cc
diff --git a/views/layer_property_setter.cc b/views/layer_property_setter.cc
deleted file mode 100644
index 26f203f727da1a36ed61e28b1c8b7d95f01ec595..0000000000000000000000000000000000000000
--- a/views/layer_property_setter.cc
+++ /dev/null
@@ -1,59 +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 "views/layer_property_setter.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/gfx/compositor/compositor.h"
-#include "ui/gfx/compositor/layer.h"
-
-namespace views {
-
-namespace {
-
-// DefaultSetter ---------------------------------------------------------------
-
-class DefaultSetter : public LayerPropertySetter {
- public:
- DefaultSetter();
-
- // LayerPropertySetter:
- virtual void Installed(ui::Layer* layer) OVERRIDE;
- virtual void Uninstalled(ui::Layer* layer) OVERRIDE;
- virtual void SetTransform(ui::Layer* layer,
- const ui::Transform& transform) OVERRIDE;
- virtual void SetBounds(ui::Layer* layer, const gfx::Rect& bounds) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DefaultSetter);
-};
-
-DefaultSetter::DefaultSetter() {
-}
-
-void DefaultSetter::Installed(ui::Layer* layer) {
-}
-
-void DefaultSetter::Uninstalled(ui::Layer* layer) {
-}
-
-void DefaultSetter::SetTransform(ui::Layer* layer,
- const ui::Transform& transform) {
- layer->SetTransform(transform);
-}
-
-void DefaultSetter::SetBounds(ui::Layer* layer, const gfx::Rect& bounds) {
- layer->SetBounds(bounds);
-}
-
-} // namespace
-
-// LayerPropertySetter ---------------------------------------------------------
-
-// static
-LayerPropertySetter* LayerPropertySetter::CreateDefaultSetter() {
- return new DefaultSetter;
-}
-
-} // namespace views
« no previous file with comments | « views/layer_property_setter.h ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698