| 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/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 | 49 |
| 50 bool ShellDelegateImpl::IsGuestSession() const { | 50 bool ShellDelegateImpl::IsGuestSession() const { |
| 51 return false; | 51 return false; |
| 52 } | 52 } |
| 53 | 53 |
| 54 bool ShellDelegateImpl::IsFirstRunAfterBoot() const { | 54 bool ShellDelegateImpl::IsFirstRunAfterBoot() const { |
| 55 return false; | 55 return false; |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool ShellDelegateImpl::IsMultiProfilesEnabled() const { |
| 59 return false; |
| 60 } |
| 61 |
| 58 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { | 62 bool ShellDelegateImpl::IsRunningInForcedAppMode() const { |
| 59 return false; | 63 return false; |
| 60 } | 64 } |
| 61 | 65 |
| 62 bool ShellDelegateImpl::CanLockScreen() const { | 66 bool ShellDelegateImpl::CanLockScreen() const { |
| 63 return true; | 67 return true; |
| 64 } | 68 } |
| 65 | 69 |
| 66 void ShellDelegateImpl::LockScreen() { | 70 void ShellDelegateImpl::LockScreen() { |
| 67 ash::shell::CreateLockScreen(); | 71 ash::shell::CreateLockScreen(); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() { | 241 RootWindowHostFactory* ShellDelegateImpl::CreateRootWindowHostFactory() { |
| 238 return RootWindowHostFactory::Create(); | 242 return RootWindowHostFactory::Create(); |
| 239 } | 243 } |
| 240 | 244 |
| 241 base::string16 ShellDelegateImpl::GetProductName() const { | 245 base::string16 ShellDelegateImpl::GetProductName() const { |
| 242 return base::string16(); | 246 return base::string16(); |
| 243 } | 247 } |
| 244 | 248 |
| 245 } // namespace shell | 249 } // namespace shell |
| 246 } // namespace ash | 250 } // namespace ash |
| OLD | NEW |