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

Side by Side Diff: ash/wm/session_state_controller_impl.cc

Issue 11276025: Add lock pod animation on unlock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make it compile Created 8 years, 1 month 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 #include "ash/wm/session_state_controller_impl.h" 5 #include "ash/wm/session_state_controller_impl.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 ShellDelegate* delegate = Shell::GetInstance()->delegate(); 319 ShellDelegate* delegate = Shell::GetInstance()->delegate();
320 if (delegate) { 320 if (delegate) {
321 delegate->Exit(); 321 delegate->Exit();
322 return; 322 return;
323 } 323 }
324 } 324 }
325 #endif 325 #endif
326 delegate_->RequestShutdown(); 326 delegate_->RequestShutdown();
327 } 327 }
328 328
329 void SessionStateControllerImpl::OnLockScreenHide(
330 base::Callback<void(void)>& callback) {
331 callback.Run();
332 }
333
329 } // namespace ash 334 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698