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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 142 |
139 void TestShellDelegate::SaveScreenMagnifierScale(double scale) { | 143 void TestShellDelegate::SaveScreenMagnifierScale(double scale) { |
140 } | 144 } |
141 | 145 |
142 double TestShellDelegate::GetSavedScreenMagnifierScale() { | 146 double TestShellDelegate::GetSavedScreenMagnifierScale() { |
143 return std::numeric_limits<double>::min(); | 147 return std::numeric_limits<double>::min(); |
144 } | 148 } |
145 | 149 |
146 } // namespace test | 150 } // namespace test |
147 } // namespace ash | 151 } // namespace ash |
OLD | NEW |