| 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/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 spoken_feedback_enabled_(false) { | 21 spoken_feedback_enabled_(false) { |
| 22 } | 22 } |
| 23 | 23 |
| 24 TestShellDelegate::~TestShellDelegate() { | 24 TestShellDelegate::~TestShellDelegate() { |
| 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() const { |
| 32 return true; | 32 return true; |
| 33 } | 33 } |
| 34 | 34 |
| 35 void TestShellDelegate::LockScreen() { | 35 void TestShellDelegate::LockScreen() { |
| 36 locked_ = true; | 36 locked_ = true; |
| 37 } | 37 } |
| 38 | 38 |
| 39 void TestShellDelegate::UnlockScreen() { | 39 void TestShellDelegate::UnlockScreen() { |
| 40 locked_ = false; | 40 locked_ = false; |
| 41 } | 41 } |
| 42 | 42 |
| 43 bool TestShellDelegate::IsScreenLocked() const { | 43 bool TestShellDelegate::IsScreenLocked() const { |
| 44 return locked_; | 44 return locked_; |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool TestShellDelegate::IsStatusAreaInitiallyVisible() const { |
| 48 return true; |
| 49 } |
| 50 |
| 47 void TestShellDelegate::Shutdown() { | 51 void TestShellDelegate::Shutdown() { |
| 48 } | 52 } |
| 49 | 53 |
| 50 void TestShellDelegate::Exit() { | 54 void TestShellDelegate::Exit() { |
| 51 } | 55 } |
| 52 | 56 |
| 53 void TestShellDelegate::NewTab() { | 57 void TestShellDelegate::NewTab() { |
| 54 } | 58 } |
| 55 | 59 |
| 56 void TestShellDelegate::NewWindow(bool incognito) { | 60 void TestShellDelegate::NewWindow(bool incognito) { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 } | 117 } |
| 114 | 118 |
| 115 void TestShellDelegate::OpenFeedbackPage() { | 119 void TestShellDelegate::OpenFeedbackPage() { |
| 116 } | 120 } |
| 117 | 121 |
| 118 void TestShellDelegate::RecordUserMetricsAction(UserMetricsAction action) { | 122 void TestShellDelegate::RecordUserMetricsAction(UserMetricsAction action) { |
| 119 } | 123 } |
| 120 | 124 |
| 121 } // namespace test | 125 } // namespace test |
| 122 } // namespace ash | 126 } // namespace ash |
| OLD | NEW |