OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_ |
| 6 #define CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/basictypes.h" |
| 10 |
| 11 namespace ui { |
| 12 class LayerAnimator; |
| 13 } |
| 14 |
| 15 namespace views { |
| 16 class View; |
| 17 } |
| 18 |
| 19 class ScreenRotationAnimatorFactory { |
| 20 public: |
| 21 // The setter will not own the view, and it is required that the view |
| 22 // outlive the setter. |
| 23 static ui::LayerAnimator* Create(views::View* view); |
| 24 |
| 25 private: |
| 26 DISALLOW_IMPLICIT_CONSTRUCTORS(ScreenRotationAnimatorFactory); |
| 27 }; |
| 28 |
| 29 #endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_ |
OLD | NEW |