| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/mus/shell_delegate_mus.h" | 5 #include "ash/mus/shell_delegate_mus.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "ash/common/gpu_support_stub.h" | 9 #include "ash/common/gpu_support_stub.h" |
| 10 #include "ash/common/media_delegate.h" | 10 #include "ash/common/media_delegate.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 // SessionStateDelegate: | 42 // SessionStateDelegate: |
| 43 int GetMaximumNumberOfLoggedInUsers() const override { return 3; } | 43 int GetMaximumNumberOfLoggedInUsers() const override { return 3; } |
| 44 int NumberOfLoggedInUsers() const override { | 44 int NumberOfLoggedInUsers() const override { |
| 45 // ash_shell has 2 users. | 45 // ash_shell has 2 users. |
| 46 return 2; | 46 return 2; |
| 47 } | 47 } |
| 48 bool IsActiveUserSessionStarted() const override { return true; } | 48 bool IsActiveUserSessionStarted() const override { return true; } |
| 49 bool CanLockScreen() const override { return true; } | 49 bool CanLockScreen() const override { return true; } |
| 50 bool IsScreenLocked() const override { return screen_locked_; } | 50 bool IsScreenLocked() const override { return screen_locked_; } |
| 51 bool ShouldLockScreenBeforeSuspending() const override { return false; } | 51 bool ShouldLockScreenAutomatically() const override { return false; } |
| 52 void LockScreen() override { | 52 void LockScreen() override { |
| 53 screen_locked_ = true; | 53 screen_locked_ = true; |
| 54 NOTIMPLEMENTED(); | 54 NOTIMPLEMENTED(); |
| 55 } | 55 } |
| 56 void UnlockScreen() override { | 56 void UnlockScreen() override { |
| 57 NOTIMPLEMENTED(); | 57 NOTIMPLEMENTED(); |
| 58 screen_locked_ = false; | 58 screen_locked_ = false; |
| 59 } | 59 } |
| 60 bool IsUserSessionBlocked() const override { return false; } | 60 bool IsUserSessionBlocked() const override { return false; } |
| 61 session_manager::SessionState GetSessionState() const override { | 61 session_manager::SessionState GetSessionState() const override { |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 NOTIMPLEMENTED(); | 230 NOTIMPLEMENTED(); |
| 231 return base::string16(); | 231 return base::string16(); |
| 232 } | 232 } |
| 233 | 233 |
| 234 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { | 234 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { |
| 235 NOTIMPLEMENTED(); | 235 NOTIMPLEMENTED(); |
| 236 return gfx::Image(); | 236 return gfx::Image(); |
| 237 } | 237 } |
| 238 | 238 |
| 239 } // namespace ash | 239 } // namespace ash |
| OLD | NEW |