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

Unified Diff: ui/aura/window.h

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/aura/screen_rotation.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index daa8f06c54d361c91e33769869f85cd8fe11ba60..2554716188537780875d6fc28c467c69424f7b96 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -17,6 +17,7 @@
#include "ui/base/ui_base_types.h"
#include "ui/aura/aura_export.h"
#include "ui/gfx/compositor/layer.h"
+#include "ui/gfx/compositor/layer_animator.h"
#include "ui/gfx/compositor/layer_delegate.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
@@ -27,6 +28,7 @@ namespace ui {
class Animation;
class Compositor;
class Layer;
+class LayerAnimationSequence;
class Transform;
class ViewProp;
}
@@ -268,10 +270,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
// the property does not exist.
void* GetProperty(const char* name) const;
- // Returns an animation configured with the default duration. All animations
- // should use this. Caller owns returned value.
- static ui::Animation* CreateDefaultAnimation();
-
protected:
// Returns the desktop or NULL if we aren't yet attached to a desktop.
virtual Desktop* GetDesktop();
@@ -309,7 +307,8 @@ class AURA_EXPORT Window : 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;
int type_;
« no previous file with comments | « ui/aura/screen_rotation.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698