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

Unified Diff: chrome/browser/ui/touch/animation/screen_rotation_animator.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 parent patch 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: chrome/browser/ui/touch/animation/screen_rotation_animator.h
diff --git a/chrome/browser/ui/touch/animation/screen_rotation_animator.h b/chrome/browser/ui/touch/animation/screen_rotation_animator.h
new file mode 100644
index 0000000000000000000000000000000000000000..160438d280d76cb6c926fe6f509f31a836f1354b
--- /dev/null
+++ b/chrome/browser/ui/touch/animation/screen_rotation_animator.h
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_
+#define CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_
+#pragma once
+
+#include "ui/gfx/compositor/layer_animator.h"
sky 2011/10/20 20:30:30 can you forward declare LayerAnimator?
+
+namespace views {
+class View;
+}
+
+class ScreenRotationAnimatorFactory {
+ public:
+ // The setter will not own the view, and it is required that the view
+ // outlive the setter.
+ static ui::LayerAnimator* Create(views::View* view);
+};
sky 2011/10/20 20:30:30 Add private: DISALLOW_IMPLICIT_CONSTRUCTORS
+
+#endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_

Powered by Google App Engine
This is Rietveld 408576698