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

Unified Diff: views/view.h

Issue 8362006: Reland r107720 - Enable the new layer animation framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. 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
Index: views/view.h
diff --git a/views/view.h b/views/view.h
index 0e06113c916b178ad0097e81d8a5d2a575e7ab29..f4640a0c5b13d1e73f4a1a388ccef09fd83b7ef2 100644
--- a/views/view.h
+++ b/views/view.h
@@ -36,6 +36,7 @@ namespace ui {
struct AccessibleViewState;
class Compositor;
class Layer;
+class LayerAnimationSequence;
class Texture;
class ThemeProvider;
class Transform;
@@ -55,7 +56,6 @@ class DragController;
class FocusManager;
class FocusTraversable;
class InputMethod;
-class LayerPropertySetter;
class LayoutManager;
class ScrollView;
class TextInputClient;
@@ -286,11 +286,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Compositor.
void SetPaintToLayer(bool paint_to_layer);
- // Sets the LayerPropertySetter for this view. A value of NULL resets the
- // LayerPropertySetter to the default (immediate). Can only be called on a
- // View that has a layer().
- void SetLayerPropertySetter(LayerPropertySetter* setter);
-
const ui::Layer* layer() const { return layer_.get(); }
ui::Layer* layer() { return layer_.get(); }
@@ -989,7 +984,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Overridden from ui::LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE;
- virtual void OnLayerAnimationEnded(const ui::Animation* animation) OVERRIDE;
+ virtual void OnLayerAnimationEnded(
+ const ui::LayerAnimationSequence* animation) OVERRIDE;
// Finds the layer that this view paints to (it may belong to an ancestor
// view), then reorders the immediate children of that layer to match the
@@ -1399,7 +1395,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
bool paint_to_layer_;
scoped_ptr<ui::Layer> layer_;
- scoped_ptr<LayerPropertySetter> layer_property_setter_;
// Accelerators --------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698