| 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/test/test_shell_delegate.h" | 5 #include "ash/test/test_shell_delegate.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "ash/caps_lock_delegate_stub.h" | 9 #include "ash/caps_lock_delegate_stub.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 } | 25 } |
| 26 | 26 |
| 27 bool TestShellDelegate::IsUserLoggedIn() { | 27 bool TestShellDelegate::IsUserLoggedIn() { |
| 28 return true; | 28 return true; |
| 29 } | 29 } |
| 30 | 30 |
| 31 bool TestShellDelegate::IsSessionStarted() { | 31 bool TestShellDelegate::IsSessionStarted() { |
| 32 return true; | 32 return true; |
| 33 } | 33 } |
| 34 | 34 |
| 35 bool TestShellDelegate::IsFirstRunAfterBoot() { |
| 36 return false; |
| 37 } |
| 38 |
| 35 void TestShellDelegate::LockScreen() { | 39 void TestShellDelegate::LockScreen() { |
| 36 locked_ = true; | 40 locked_ = true; |
| 37 } | 41 } |
| 38 | 42 |
| 39 void TestShellDelegate::UnlockScreen() { | 43 void TestShellDelegate::UnlockScreen() { |
| 40 locked_ = false; | 44 locked_ = false; |
| 41 } | 45 } |
| 42 | 46 |
| 43 bool TestShellDelegate::IsScreenLocked() const { | 47 bool TestShellDelegate::IsScreenLocked() const { |
| 44 return locked_; | 48 return locked_; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 135 |
| 132 void TestShellDelegate::HandleMediaPrevTrack() { | 136 void TestShellDelegate::HandleMediaPrevTrack() { |
| 133 } | 137 } |
| 134 | 138 |
| 135 string16 TestShellDelegate::GetTimeRemainingString(base::TimeDelta delta) { | 139 string16 TestShellDelegate::GetTimeRemainingString(base::TimeDelta delta) { |
| 136 return string16(); | 140 return string16(); |
| 137 } | 141 } |
| 138 | 142 |
| 139 } // namespace test | 143 } // namespace test |
| 140 } // namespace ash | 144 } // namespace ash |
| OLD | NEW |