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

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

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.h
diff --git a/ash/wm/overview/scoped_overview_animation_settings_factory_aura.h b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.h
new file mode 100644
index 0000000000000000000000000000000000000000..b1970292f0611081926220a3606b584c1b29b58d
--- /dev/null
+++ b/ash/wm/overview/scoped_overview_animation_settings_factory_aura.h
@@ -0,0 +1,33 @@
+// 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_WM_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
+#define ASH_WM_OVERVIEW_WM_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
+
+#include <memory>
+
+#include "ash/wm/overview/scoped_overview_animation_settings_factory.h"
+#include "base/macros.h"
+
+namespace ash {
+
+// Aura implementation of ScopedOverviewAnimationSettingsFactory.
+class ScopedOverviewAnimationSettingsFactoryAura
+ : public ScopedOverviewAnimationSettingsFactory {
+ public:
+ ScopedOverviewAnimationSettingsFactoryAura();
+ ~ScopedOverviewAnimationSettingsFactoryAura() override;
+
+ // ScopedOverviewAnimationSettingsFactoryAura:
+ std::unique_ptr<ScopedOverviewAnimationSettings>
+ CreateOverviewAnimationSettings(OverviewAnimationType animation_type,
+ wm::WmWindow* window) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ScopedOverviewAnimationSettingsFactoryAura);
+};
+
+} // namespace ash
+
+#endif // ASH_WM_OVERVIEW_WM_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698