Chromium Code Reviews| 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_ |