| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h" | 5 #include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/common/wm_window.h" |
| 8 #include "ash/wm/overview/scoped_overview_animation_settings_aura.h" | 8 #include "ash/wm/overview/scoped_overview_animation_settings_aura.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 ScopedOverviewAnimationSettingsFactoryAura:: | 13 ScopedOverviewAnimationSettingsFactoryAura:: |
| 14 ScopedOverviewAnimationSettingsFactoryAura() {} | 14 ScopedOverviewAnimationSettingsFactoryAura() {} |
| 15 | 15 |
| 16 ScopedOverviewAnimationSettingsFactoryAura:: | 16 ScopedOverviewAnimationSettingsFactoryAura:: |
| 17 ~ScopedOverviewAnimationSettingsFactoryAura() {} | 17 ~ScopedOverviewAnimationSettingsFactoryAura() {} |
| 18 | 18 |
| 19 std::unique_ptr<ScopedOverviewAnimationSettings> | 19 std::unique_ptr<ScopedOverviewAnimationSettings> |
| 20 ScopedOverviewAnimationSettingsFactoryAura::CreateOverviewAnimationSettings( | 20 ScopedOverviewAnimationSettingsFactoryAura::CreateOverviewAnimationSettings( |
| 21 OverviewAnimationType animation_type, | 21 OverviewAnimationType animation_type, |
| 22 WmWindow* window) { | 22 WmWindow* window) { |
| 23 return base::MakeUnique<ScopedOverviewAnimationSettingsAura>( | 23 return base::MakeUnique<ScopedOverviewAnimationSettingsAura>( |
| 24 animation_type, WmWindowAura::GetAuraWindow(window)); | 24 animation_type, WmWindow::GetAuraWindow(window)); |
| 25 } | 25 } |
| 26 | 26 |
| 27 } // namespace ash | 27 } // namespace ash |
| OLD | NEW |