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..378b0b5e4f5de91f0901bc1ecf6f0822f8b5032b |
--- /dev/null |
+++ b/chrome/browser/ui/touch/animation/screen_rotation_animator.h |
@@ -0,0 +1,29 @@ |
+// 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 "base/basictypes.h" |
+ |
+namespace ui { |
+class 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); |
+ |
+ private: |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ScreenRotationAnimatorFactory); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_ |