Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2298)

Unified Diff: ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc

Issue 2012343002: Converts overview to use common ash types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
diff --git a/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3995764785b663317ef93117be33e7460ac03116
--- /dev/null
+++ b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc
@@ -0,0 +1,27 @@
+// 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.
+
+#include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h"
+
+#include "ash/wm/aura/wm_window_aura.h"
+#include "ash/wm/overview/scoped_overview_animation_settings_aura.h"
+#include "base/memory/ptr_util.h"
+
+namespace ash {
+
+ScopedOverviewAnimationSettingsFactoryAura::
+ ScopedOverviewAnimationSettingsFactoryAura() {}
+
+ScopedOverviewAnimationSettingsFactoryAura::
+ ~ScopedOverviewAnimationSettingsFactoryAura() {}
+
+std::unique_ptr<ScopedOverviewAnimationSettings>
+ScopedOverviewAnimationSettingsFactoryAura::CreateOverviewAnimationSettings(
+ OverviewAnimationType animation_type,
+ wm::WmWindow* window) {
+ return base::WrapUnique(new ScopedOverviewAnimationSettingsAura(
+ animation_type, wm::WmWindowAura::GetAuraWindow(window)));
+}
+
+} // namespace ash
« no previous file with comments | « ash/wm/overview/scoped_overview_animation_settings_factory_aura.h ('k') | ash/wm/overview/scoped_transform_overview_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698