Chromium Code Reviews| Index: ash/wm/overview/scoped_overview_animation_settings_factory.cc |
| diff --git a/ash/wm/overview/scoped_overview_animation_settings_factory.cc b/ash/wm/overview/scoped_overview_animation_settings_factory.cc |
| index 5efc30d67e5b1b5c46da796d4025a55b71f41b48..b3c233d1553df14dc61982c308f2661da1db424c 100644 |
| --- a/ash/wm/overview/scoped_overview_animation_settings_factory.cc |
| +++ b/ash/wm/overview/scoped_overview_animation_settings_factory.cc |
| @@ -4,7 +4,10 @@ |
| #include "ash/wm/overview/scoped_overview_animation_settings_factory.h" |
| +#include "ash/wm/overview/scoped_overview_animation_settings.h" |
| #include "base/logging.h" |
| +#include "base/memory/ptr_util.h" |
| +#include "ui/aura/window.h" |
|
msw
2017/05/24 17:39:16
optional nit: probably not necessary
varkha
2017/05/24 18:29:51
Acknowledged (class removed).
|
| namespace ash { |
| @@ -30,4 +33,12 @@ ScopedOverviewAnimationSettingsFactory:: |
| instance_ = nullptr; |
| } |
| +std::unique_ptr<ScopedOverviewAnimationSettings> |
| +ScopedOverviewAnimationSettingsFactory::CreateOverviewAnimationSettings( |
| + OverviewAnimationType animation_type, |
| + aura::Window* window) { |
| + return base::MakeUnique<ScopedOverviewAnimationSettings>(animation_type, |
| + window); |
| +} |
| + |
| } // namespace ash |