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

Unified Diff: ash/test/test_session_state_delegate.cc

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.cc
diff --git a/ash/test/test_session_state_delegate.cc b/ash/test/test_session_state_delegate.cc
deleted file mode 100644
index f59eb5124571088a9c54f64cb8220563d996f469..0000000000000000000000000000000000000000
--- a/ash/test/test_session_state_delegate.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/test/test_session_state_delegate.h"
-
-namespace ash {
-namespace test {
-
-TestSessionStateDelegate::TestSessionStateDelegate() = default;
-TestSessionStateDelegate::~TestSessionStateDelegate() = default;
-
-void TestSessionStateDelegate::SetUserImage(const gfx::ImageSkia& user_image) {
- user_image_ = user_image;
-}
-
-bool TestSessionStateDelegate::ShouldShowAvatar(WmWindow* window) const {
- return !user_image_.isNull();
-}
-
-gfx::ImageSkia TestSessionStateDelegate::GetAvatarImageForWindow(
- WmWindow* window) const {
- return gfx::ImageSkia();
-}
-
-} // namespace test
-} // namespace ash
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698