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

Unified Diff: ash/wm/common/background_animator.cc

Issue 1921353002: Moves handful of files to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_ids
Patch Set: merge to trunk Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/common/background_animator.h ('k') | ash/wm/common/default_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/background_animator.cc
diff --git a/ash/shelf/background_animator.cc b/ash/wm/common/background_animator.cc
similarity index 90%
rename from ash/shelf/background_animator.cc
rename to ash/wm/common/background_animator.cc
index cac6d766cb1b42f2410f532d4df0cb21af68a70f..ffdc7c964d1b38f15306df9c9fef26d85368bd0a 100644
--- a/ash/shelf/background_animator.cc
+++ b/ash/wm/common/background_animator.cc
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/shelf/background_animator.h"
+#include "ash/wm/common/background_animator.h"
namespace ash {
namespace {
// Duration of the background animation.
const int kBackgroundDurationMS = 1000;
-
}
BackgroundAnimator::BackgroundAnimator(BackgroundAnimatorDelegate* delegate,
@@ -24,15 +23,15 @@ BackgroundAnimator::BackgroundAnimator(BackgroundAnimatorDelegate* delegate,
animation_.SetSlideDuration(kBackgroundDurationMS);
}
-BackgroundAnimator::~BackgroundAnimator() {
-}
+BackgroundAnimator::~BackgroundAnimator() {}
void BackgroundAnimator::SetDuration(int time_in_ms) {
animation_.SetSlideDuration(time_in_ms);
}
void BackgroundAnimator::SetPaintsBackground(
- bool value, BackgroundAnimatorChangeType type) {
+ bool value,
+ BackgroundAnimatorChangeType type) {
if (paints_background_ == value)
return;
paints_background_ = value;
« no previous file with comments | « ash/wm/common/background_animator.h ('k') | ash/wm/common/default_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698