| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/test/test_session_state_delegate.h" | |
| 6 | |
| 7 namespace ash { | |
| 8 namespace test { | |
| 9 | |
| 10 TestSessionStateDelegate::TestSessionStateDelegate() = default; | |
| 11 TestSessionStateDelegate::~TestSessionStateDelegate() = default; | |
| 12 | |
| 13 void TestSessionStateDelegate::SetUserImage(const gfx::ImageSkia& user_image) { | |
| 14 user_image_ = user_image; | |
| 15 } | |
| 16 | |
| 17 bool TestSessionStateDelegate::ShouldShowAvatar(WmWindow* window) const { | |
| 18 return !user_image_.isNull(); | |
| 19 } | |
| 20 | |
| 21 gfx::ImageSkia TestSessionStateDelegate::GetAvatarImageForWindow( | |
| 22 WmWindow* window) const { | |
| 23 return gfx::ImageSkia(); | |
| 24 } | |
| 25 | |
| 26 } // namespace test | |
| 27 } // namespace ash | |
| OLD | NEW |