| 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/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/caps_lock_delegate_stub.h" | 7 #include "ash/caps_lock_delegate_stub.h" |
| 8 #include "ash/shell/example_factory.h" | 8 #include "ash/shell/example_factory.h" |
| 9 #include "ash/shell/launcher_delegate_impl.h" | 9 #include "ash/shell/launcher_delegate_impl.h" |
| 10 #include "ash/shell/toplevel_window.h" | 10 #include "ash/shell/toplevel_window.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 | 33 |
| 34 bool ShellDelegateImpl::IsUserLoggedIn() { | 34 bool ShellDelegateImpl::IsUserLoggedIn() { |
| 35 return true; | 35 return true; |
| 36 } | 36 } |
| 37 | 37 |
| 38 bool ShellDelegateImpl::IsSessionStarted() { | 38 bool ShellDelegateImpl::IsSessionStarted() { |
| 39 return true; | 39 return true; |
| 40 } | 40 } |
| 41 | 41 |
| 42 bool ShellDelegateImpl::IsFirstRunAfterBoot() { |
| 43 return false; |
| 44 } |
| 45 |
| 42 void ShellDelegateImpl::LockScreen() { | 46 void ShellDelegateImpl::LockScreen() { |
| 43 ash::shell::CreateLockScreen(); | 47 ash::shell::CreateLockScreen(); |
| 44 locked_ = true; | 48 locked_ = true; |
| 45 ash::Shell::GetInstance()->UpdateShelfVisibility(); | 49 ash::Shell::GetInstance()->UpdateShelfVisibility(); |
| 46 } | 50 } |
| 47 | 51 |
| 48 void ShellDelegateImpl::UnlockScreen() { | 52 void ShellDelegateImpl::UnlockScreen() { |
| 49 locked_ = false; | 53 locked_ = false; |
| 50 ash::Shell::GetInstance()->UpdateShelfVisibility(); | 54 ash::Shell::GetInstance()->UpdateShelfVisibility(); |
| 51 } | 55 } |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 150 |
| 147 void ShellDelegateImpl::HandleMediaPrevTrack() { | 151 void ShellDelegateImpl::HandleMediaPrevTrack() { |
| 148 } | 152 } |
| 149 | 153 |
| 150 string16 ShellDelegateImpl::GetTimeRemainingString(base::TimeDelta delta) { | 154 string16 ShellDelegateImpl::GetTimeRemainingString(base::TimeDelta delta) { |
| 151 return string16(); | 155 return string16(); |
| 152 } | 156 } |
| 153 | 157 |
| 154 } // namespace shell | 158 } // namespace shell |
| 155 } // namespace ash | 159 } // namespace ash |
| OLD | NEW |