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

Unified Diff: ash/shell.cc

Issue 24980006: ash: Remove old lock animation implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove StartShutdownAnimationImpl() and duplicate include Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 3606c5d78155195cbeab2317cb4a14424ffb210e..afcc4c4db6cbf1606dbba5a6dde718419879cdd7 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -54,7 +54,6 @@
#include "ash/wm/event_client_impl.h"
#include "ash/wm/event_rewriter_event_filter.h"
#include "ash/wm/lock_state_controller.h"
-#include "ash/wm/lock_state_controller_impl2.h"
#include "ash/wm/mru_window_tracker.h"
#include "ash/wm/overlay_event_filter.h"
#include "ash/wm/overview/window_selector_controller.h"
@@ -62,7 +61,6 @@
#include "ash/wm/resize_shadow_controller.h"
#include "ash/wm/root_window_layout_manager.h"
#include "ash/wm/screen_dimmer.h"
-#include "ash/wm/session_state_controller_impl.h"
#include "ash/wm/system_gesture_event_filter.h"
#include "ash/wm/system_modal_container_event_filter.h"
#include "ash/wm/system_modal_container_layout_manager.h"
@@ -527,10 +525,7 @@ void Shell::Init() {
if (keyboard::IsKeyboardEnabled())
keyboard::InitializeKeyboard();
- if (command_line->HasSwitch(ash::switches::kAshDisableNewLockAnimations))
- lock_state_controller_.reset(new SessionStateControllerImpl);
- else
- lock_state_controller_.reset(new LockStateControllerImpl2);
+ lock_state_controller_.reset(new LockStateController);
power_button_controller_.reset(new PowerButtonController(
lock_state_controller_.get()));
AddShellObserver(lock_state_controller_.get());

Powered by Google App Engine
This is Rietveld 408576698