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

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

Issue 2087153003: Moves common code in ash/wm/overview to ash/common/wm/overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #ifndef ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_ 5 #ifndef ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
6 #define ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_ 6 #define ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
7 7
8 #include "ash/wm/overview/overview_animation_type.h" 8 #include "ash/common/wm/overview/overview_animation_type.h"
9 #include "ash/wm/overview/scoped_overview_animation_settings.h" 9 #include "ash/common/wm/overview/scoped_overview_animation_settings.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/compositor/scoped_layer_animation_settings.h" 11 #include "ui/compositor/scoped_layer_animation_settings.h"
12 12
13 namespace aura { 13 namespace aura {
14 class Window; 14 class Window;
15 } // namespace aura 15 } // namespace aura
16 16
17 namespace ash { 17 namespace ash {
18 18
19 // ScopedOverviewAnimationSettingsfor aura. 19 // ScopedOverviewAnimationSettingsfor aura.
20 class ScopedOverviewAnimationSettingsAura 20 class ScopedOverviewAnimationSettingsAura
21 : public ScopedOverviewAnimationSettings { 21 : public ScopedOverviewAnimationSettings {
22 public: 22 public:
23 ScopedOverviewAnimationSettingsAura(OverviewAnimationType animation_type, 23 ScopedOverviewAnimationSettingsAura(OverviewAnimationType animation_type,
24 aura::Window* window); 24 aura::Window* window);
25 ~ScopedOverviewAnimationSettingsAura() override; 25 ~ScopedOverviewAnimationSettingsAura() override;
26 26
27 private: 27 private:
28 // The managed animation settings. 28 // The managed animation settings.
29 ui::ScopedLayerAnimationSettings animation_settings_; 29 ui::ScopedLayerAnimationSettings animation_settings_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(ScopedOverviewAnimationSettingsAura); 31 DISALLOW_COPY_AND_ASSIGN(ScopedOverviewAnimationSettingsAura);
32 }; 32 };
33 33
34 } // namespace ash 34 } // namespace ash
35 35
36 #endif // ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_ 36 #endif // ASH_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_AURA_H_
OLDNEW
« no previous file with comments | « ash/wm/overview/scoped_overview_animation_settings.h ('k') | ash/wm/overview/scoped_overview_animation_settings_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698