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 "ash/common/accessibility_delegate.h" | 7 #include "ash/common/accessibility_delegate.h" |
8 #include "ash/common/default_accessibility_delegate.h" | 8 #include "ash/common/default_accessibility_delegate.h" |
9 #include "ash/common/gpu_support_stub.h" | 9 #include "ash/common/gpu_support_stub.h" |
10 #include "ash/common/palette_delegate.h" | 10 #include "ash/common/palette_delegate.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const user_manager::UserInfo* GetUserInfo(UserIndex index) const override { | 95 const user_manager::UserInfo* GetUserInfo(UserIndex index) const override { |
96 return user_info_.get(); | 96 return user_info_.get(); |
97 } | 97 } |
98 bool ShouldShowAvatar(WmWindow* window) const override { | 98 bool ShouldShowAvatar(WmWindow* window) const override { |
99 return !user_info_->GetImage().isNull(); | 99 return !user_info_->GetImage().isNull(); |
100 } | 100 } |
101 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { | 101 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { |
102 return gfx::ImageSkia(); | 102 return gfx::ImageSkia(); |
103 } | 103 } |
104 void SwitchActiveUser(const AccountId& account_id) override {} | 104 void SwitchActiveUser(const AccountId& account_id) override {} |
105 void CycleActiveUser(CycleUser cycle_user) override {} | 105 void CycleActiveUser(CycleUserDirection direction) override {} |
106 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override { | 106 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override { |
107 return true; | 107 return true; |
108 } | 108 } |
109 void AddSessionStateObserver(SessionStateObserver* observer) override {} | 109 void AddSessionStateObserver(SessionStateObserver* observer) override {} |
110 void RemoveSessionStateObserver(SessionStateObserver* observer) override {} | 110 void RemoveSessionStateObserver(SessionStateObserver* observer) override {} |
111 | 111 |
112 private: | 112 private: |
113 bool screen_locked_; | 113 bool screen_locked_; |
114 | 114 |
115 // A pseudo user info. | 115 // A pseudo user info. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 return true; | 210 return true; |
211 } | 211 } |
212 | 212 |
213 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, | 213 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, |
214 bool use_local_state) {} | 214 bool use_local_state) {} |
215 | 215 |
216 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} | 216 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} |
217 | 217 |
218 } // namespace shell | 218 } // namespace shell |
219 } // namespace ash | 219 } // namespace ash |
OLD | NEW |