| Index: ash/wm/overview/scoped_overview_animation_settings_aura.h
|
| diff --git a/ash/wm/overview/scoped_overview_animation_settings_aura.h b/ash/wm/overview/scoped_overview_animation_settings_aura.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dd325a450630f52a7095598dfe1b25fc18d93da1
|
| --- /dev/null
|
| +++ b/ash/wm/overview/scoped_overview_animation_settings_aura.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2016 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 ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
|
| +#define ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
|
| +
|
| +#include "ash/wm/overview/overview_animation_type.h"
|
| +#include "ash/wm/overview/scoped_overview_animation_settings.h"
|
| +#include "base/macros.h"
|
| +#include "ui/compositor/scoped_layer_animation_settings.h"
|
| +
|
| +namespace aura {
|
| +class Window;
|
| +} // namespace aura
|
| +
|
| +namespace ash {
|
| +
|
| +// ScopedOverviewAnimationSettingsfor aura.
|
| +class ScopedOverviewAnimationSettingsAura
|
| + : public ScopedOverviewAnimationSettings {
|
| + public:
|
| + ScopedOverviewAnimationSettingsAura(OverviewAnimationType animation_type,
|
| + aura::Window* window);
|
| + ~ScopedOverviewAnimationSettingsAura() override;
|
| +
|
| + private:
|
| + // The managed animation settings.
|
| + ui::ScopedLayerAnimationSettings animation_settings_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ScopedOverviewAnimationSettingsAura);
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
|
|
|