| 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"
|
| +
|
| +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);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_TOUCH_ANIMATION_SCREEN_ROTATION_ANIMATOR_H_
|
|
|