| 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 <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "ash/gpu_support_stub.h" | 9 #include "ash/gpu_support_stub.h" |
| 10 #include "ash/palette_delegate.h" | 10 #include "ash/palette_delegate.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 } | 72 } |
| 73 | 73 |
| 74 bool TestShellDelegate::IsMultiProfilesEnabled() const { | 74 bool TestShellDelegate::IsMultiProfilesEnabled() const { |
| 75 return multi_profiles_enabled_; | 75 return multi_profiles_enabled_; |
| 76 } | 76 } |
| 77 | 77 |
| 78 bool TestShellDelegate::IsRunningInForcedAppMode() const { | 78 bool TestShellDelegate::IsRunningInForcedAppMode() const { |
| 79 return false; | 79 return false; |
| 80 } | 80 } |
| 81 | 81 |
| 82 bool TestShellDelegate::CanShowWindowForUser(WmWindow* window) const { | 82 bool TestShellDelegate::CanShowWindowForUser(aura::Window* window) const { |
| 83 return true; | 83 return true; |
| 84 } | 84 } |
| 85 | 85 |
| 86 bool TestShellDelegate::IsForceMaximizeOnFirstRun() const { | 86 bool TestShellDelegate::IsForceMaximizeOnFirstRun() const { |
| 87 return force_maximize_on_first_run_; | 87 return force_maximize_on_first_run_; |
| 88 } | 88 } |
| 89 | 89 |
| 90 void TestShellDelegate::PreInit() {} | 90 void TestShellDelegate::PreInit() {} |
| 91 | 91 |
| 92 void TestShellDelegate::PreShutdown() {} | 92 void TestShellDelegate::PreShutdown() {} |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, | 160 void TestShellDelegate::SetTouchscreenEnabledInPrefs(bool enabled, |
| 161 bool use_local_state) { | 161 bool use_local_state) { |
| 162 if (use_local_state) | 162 if (use_local_state) |
| 163 touchscreen_enabled_in_local_pref_ = enabled; | 163 touchscreen_enabled_in_local_pref_ = enabled; |
| 164 } | 164 } |
| 165 | 165 |
| 166 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} | 166 void TestShellDelegate::UpdateTouchscreenStatusFromPrefs() {} |
| 167 | 167 |
| 168 } // namespace test | 168 } // namespace test |
| 169 } // namespace ash | 169 } // namespace ash |
| OLD | NEW |