| 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/host/root_window_host_factory.h" | 10 #include "ash/host/root_window_host_factory.h" |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 129 } |
| 130 | 130 |
| 131 MagnifierType TestShellDelegate::GetMagnifierType() const { | 131 MagnifierType TestShellDelegate::GetMagnifierType() const { |
| 132 return screen_magnifier_type_; | 132 return screen_magnifier_type_; |
| 133 } | 133 } |
| 134 | 134 |
| 135 bool TestShellDelegate::ShouldAlwaysShowAccessibilityMenu() const { | 135 bool TestShellDelegate::ShouldAlwaysShowAccessibilityMenu() const { |
| 136 return false; | 136 return false; |
| 137 } | 137 } |
| 138 | 138 |
| 139 bool TestShellDelegate::IsImmersiveMode() const { |
| 140 return false; |
| 141 } |
| 142 |
| 139 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { | 143 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { |
| 140 return NULL; | 144 return NULL; |
| 141 } | 145 } |
| 142 | 146 |
| 143 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( | 147 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( |
| 144 ash::LauncherModel* model) { | 148 ash::LauncherModel* model) { |
| 145 return new TestLauncherDelegate(model); | 149 return new TestLauncherDelegate(model); |
| 146 } | 150 } |
| 147 | 151 |
| 148 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() { | 152 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate() { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 if (!user_logged_in) | 218 if (!user_logged_in) |
| 215 session_started_ = false; | 219 session_started_ = false; |
| 216 } | 220 } |
| 217 | 221 |
| 218 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) { | 222 void TestShellDelegate::SetCanLockScreen(bool can_lock_screen) { |
| 219 can_lock_screen_ = can_lock_screen; | 223 can_lock_screen_ = can_lock_screen; |
| 220 } | 224 } |
| 221 | 225 |
| 222 } // namespace test | 226 } // namespace test |
| 223 } // namespace ash | 227 } // namespace ash |
| OLD | NEW |