Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: ash/test/test_session_state_delegate.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash (cleaning remaining wm_window.h in c/b/ui) Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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/test/test_session_state_delegate.h" 5 #include "ash/test/test_session_state_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 namespace test { 8 namespace test {
9 9
10 TestSessionStateDelegate::TestSessionStateDelegate() = default; 10 TestSessionStateDelegate::TestSessionStateDelegate() = default;
11 TestSessionStateDelegate::~TestSessionStateDelegate() = default; 11 TestSessionStateDelegate::~TestSessionStateDelegate() = default;
12 12
13 void TestSessionStateDelegate::SetUserImage(const gfx::ImageSkia& user_image) { 13 void TestSessionStateDelegate::SetUserImage(const gfx::ImageSkia& user_image) {
14 user_image_ = user_image; 14 user_image_ = user_image;
15 } 15 }
16 16
17 bool TestSessionStateDelegate::ShouldShowAvatar(WmWindow* window) const { 17 bool TestSessionStateDelegate::ShouldShowAvatar(aura::Window* window) const {
18 return !user_image_.isNull(); 18 return !user_image_.isNull();
19 } 19 }
20 20
21 gfx::ImageSkia TestSessionStateDelegate::GetAvatarImageForWindow( 21 gfx::ImageSkia TestSessionStateDelegate::GetAvatarImageForWindow(
22 WmWindow* window) const { 22 aura::Window* window) const {
23 return gfx::ImageSkia(); 23 return gfx::ImageSkia();
24 } 24 }
25 25
26 } // namespace test 26 } // namespace test
27 } // namespace ash 27 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698