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 "ui/gfx/compositor/layer_animator.h" |
| 10 |
| 11 namespace views { |
| 12 class View; |
| 13 } |
| 14 |
| 15 class ScreenRotationAnimatorFactory { |
| 16 public: |
| 17 // The setter will not own the view, and it is required that the view |
| 18 // outlive the setter. |
| 19 static ui::LayerAnimator* Create(views::View* view); |
| 20 }; |
| 21 |
| 22 #endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_ |
OLD | NEW |