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

Side by Side Diff: ash/common/wm/overview/scoped_overview_animation_settings_factory.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
7
8 #include <memory>
9
10 #include "ash/common/wm/overview/overview_animation_type.h"
11
12 namespace ash {
13
14 class ScopedOverviewAnimationSettings;
15 class WmWindow;
16
17 // Factory for creating ScopedOverviewAnimationSettings.
18 class ScopedOverviewAnimationSettingsFactory {
19 public:
20 static ScopedOverviewAnimationSettingsFactory* Get();
21
22 virtual std::unique_ptr<ScopedOverviewAnimationSettings>
23 CreateOverviewAnimationSettings(OverviewAnimationType animation_type,
24 WmWindow* window) = 0;
25
26 protected:
27 ScopedOverviewAnimationSettingsFactory();
28 virtual ~ScopedOverviewAnimationSettingsFactory();
29
30 private:
31 static ScopedOverviewAnimationSettingsFactory* instance_;
32 };
33
34 } // namespace ash
35
36 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698