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

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

Issue 2239233002: [ash-md] Fades overview header in and out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fades overview header in and out (more tests) Created 4 years, 3 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_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ 5 #ifndef ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_
6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ 6 #define ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_
7 7
8 namespace ui {
9 class ImplicitAnimationObserver;
10 } // namespace ui
11
8 namespace ash { 12 namespace ash {
9 13
10 // ScopedOverviewAnimationSettings correctly configures the animation 14 // ScopedOverviewAnimationSettings correctly configures the animation
11 // settings for a WmWindow given an OverviewAnimationType. 15 // settings for a WmWindow given an OverviewAnimationType.
12 class ScopedOverviewAnimationSettings { 16 class ScopedOverviewAnimationSettings {
13 public: 17 public:
14 virtual ~ScopedOverviewAnimationSettings() {} 18 virtual ~ScopedOverviewAnimationSettings() {}
19 virtual void AddObserver(ui::ImplicitAnimationObserver* observer) = 0;
sky 2016/09/08 18:30:16 Don't you need a remove?
varkha 2016/09/09 02:25:25 This gets a bit tricky. The short answer is, I don
15 }; 20 };
16 21
17 } // namespace ash 22 } // namespace ash
18 23
19 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_ 24 #endif // ASH_COMMON_WM_OVERVIEW_SCOPED_OVERVIEW_ANIMATION_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698