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

Side by Side Diff: ash/common/wm/background_animator.h

Issue 2680113002: [ash-md] Remove non-md code from the Shelf background animations. (Closed)
Patch Set: Created 3 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BACKGROUND_ANIMATOR_H_ 5 #ifndef ASH_COMMON_WM_BACKGROUND_ANIMATOR_H_
6 #define ASH_COMMON_WM_BACKGROUND_ANIMATOR_H_ 6 #define ASH_COMMON_WM_BACKGROUND_ANIMATOR_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "third_party/skia/include/core/SkColor.h"
bruthig 2017/02/07 21:28:01 Ignore this, this file is being deleted in a follo
10 #include "ui/gfx/animation/animation_delegate.h" 11 #include "ui/gfx/animation/animation_delegate.h"
11 #include "ui/gfx/animation/slide_animation.h" 12 #include "ui/gfx/animation/slide_animation.h"
12 13
13 namespace ash { 14 namespace ash {
14 15
15 // How the background can be changed. 16 // How the background can be changed.
16 enum BackgroundAnimatorChangeType { 17 enum BackgroundAnimatorChangeType {
17 BACKGROUND_CHANGE_ANIMATE, 18 BACKGROUND_CHANGE_ANIMATE,
18 BACKGROUND_CHANGE_IMMEDIATE 19 BACKGROUND_CHANGE_IMMEDIATE
19 }; 20 };
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 72
72 // Current alpha value of the background. 73 // Current alpha value of the background.
73 int alpha_; 74 int alpha_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(BackgroundAnimator); 76 DISALLOW_COPY_AND_ASSIGN(BackgroundAnimator);
76 }; 77 };
77 78
78 } // namespace ash 79 } // namespace ash
79 80
80 #endif // ASH_COMMON_WM_BACKGROUND_ANIMATOR_H_ 81 #endif // ASH_COMMON_WM_BACKGROUND_ANIMATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698