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

Unified Diff: ash/wm/session_state_animator.cc

Issue 99783005: Remove unused ColoredWindowController/DesktopBackgroundFadeController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/session_state_animator.h ('k') | ash/wm/workspace/colored_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/session_state_animator.cc
diff --git a/ash/wm/session_state_animator.cc b/ash/wm/session_state_animator.cc
index 38091bf1140344406818aa20300897839b3077dd..de8cd42d4daf2074fe0621d6189fb606856fe141 100644
--- a/ash/wm/session_state_animator.cc
+++ b/ash/wm/session_state_animator.cc
@@ -613,22 +613,5 @@ void SessionStateAnimator::RunAnimationForWindow(
}
}
-void SessionStateAnimator::CreateForeground() {
- if (foreground_)
- return;
- aura::Window* window = Shell::GetContainer(
- Shell::GetPrimaryRootWindow(),
- internal::kShellWindowId_PowerButtonAnimationContainer);
- HideWindowImmediately(window, NULL);
- foreground_.reset(
- new ColoredWindowController(window, "SessionStateAnimatorForeground"));
- foreground_->SetColor(SK_ColorWHITE);
- foreground_->GetWidget()->Show();
-}
-
-void SessionStateAnimator::DropForeground() {
- foreground_.reset();
-}
-
} // namespace internal
} // namespace ash
« no previous file with comments | « ash/wm/session_state_animator.h ('k') | ash/wm/workspace/colored_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698