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

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

Issue 2012343002: Converts overview to use common ash types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 6 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_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
6 #define ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
7
8 #include <memory>
9
10 #include "ash/wm/overview/overview_animation_type.h"
11
12 namespace ash {
13
14 class ScopedOverviewAnimationSettings;
15
16 namespace wm {
17 class WmWindow;
18 }
19
20 // Factory for creating ScopedOverviewAnimationSettings.
21 class ScopedOverviewAnimationSettingsFactory {
22 public:
23 static ScopedOverviewAnimationSettingsFactory* Get();
24
25 virtual std::unique_ptr<ScopedOverviewAnimationSettings>
26 CreateOverviewAnimationSettings(OverviewAnimationType animation_type,
27 wm::WmWindow* window) = 0;
28
29 protected:
30 ScopedOverviewAnimationSettingsFactory();
31 virtual ~ScopedOverviewAnimationSettingsFactory();
32
33 private:
34 static ScopedOverviewAnimationSettingsFactory* instance_;
35 };
James Cook 2016/05/27 00:02:51 DISALLOW_COPY_AND_ASSIGN?
sky 2016/05/27 03:18:03 It's my understanding that is not needed because o
James Cook 2016/05/27 16:30:27 Nope, you're right.
36
37 } // namespace ash
38
39 #endif // ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698