| 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/gpu_support_stub.h" | 9 #include "ash/gpu_support_stub.h" |
| 10 #include "ash/mus/accessibility_delegate_mus.h" | 10 #include "ash/mus/accessibility_delegate_mus.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 namespace ash { | 22 namespace ash { |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 class SessionStateDelegateStub : public SessionStateDelegate { | 25 class SessionStateDelegateStub : public SessionStateDelegate { |
| 26 public: | 26 public: |
| 27 SessionStateDelegateStub() : user_info_(new user_manager::UserInfoImpl()) {} | 27 SessionStateDelegateStub() : user_info_(new user_manager::UserInfoImpl()) {} |
| 28 | 28 |
| 29 ~SessionStateDelegateStub() override {} | 29 ~SessionStateDelegateStub() override {} |
| 30 | 30 |
| 31 // SessionStateDelegate: | 31 // SessionStateDelegate: |
| 32 bool ShouldShowAvatar(WmWindow* window) const override { | 32 bool ShouldShowAvatar(aura::Window* window) const override { |
| 33 NOTIMPLEMENTED(); | 33 NOTIMPLEMENTED(); |
| 34 return !user_info_->GetImage().isNull(); | 34 return !user_info_->GetImage().isNull(); |
| 35 } | 35 } |
| 36 gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override { | 36 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override { |
| 37 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
| 38 return gfx::ImageSkia(); | 38 return gfx::ImageSkia(); |
| 39 } | 39 } |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 // A pseudo user info. | 42 // A pseudo user info. |
| 43 std::unique_ptr<user_manager::UserInfo> user_info_; | 43 std::unique_ptr<user_manager::UserInfo> user_info_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub); | 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateStub); |
| 46 }; | 46 }; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, | 171 void ShellDelegateMus::SetTouchscreenEnabledInPrefs(bool enabled, |
| 172 bool use_local_state) { | 172 bool use_local_state) { |
| 173 NOTIMPLEMENTED(); | 173 NOTIMPLEMENTED(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { | 176 void ShellDelegateMus::UpdateTouchscreenStatusFromPrefs() { |
| 177 NOTIMPLEMENTED(); | 177 NOTIMPLEMENTED(); |
| 178 } | 178 } |
| 179 | 179 |
| 180 } // namespace ash | 180 } // namespace ash |
| OLD | NEW |