| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |