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

Unified Diff: ash/test/test_session_state_delegate.h

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/shell_test_api.cc ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_session_state_delegate.h
diff --git a/ash/test/test_session_state_delegate.h b/ash/test/test_session_state_delegate.h
deleted file mode 100644
index f478ec3f20784c20fdac4600538d2a7b4c5a2d28..0000000000000000000000000000000000000000
--- a/ash/test/test_session_state_delegate.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
-#define ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
-
-#include "ash/session/session_state_delegate.h"
-#include "base/macros.h"
-#include "ui/gfx/image/image_skia.h"
-
-namespace ash {
-namespace test {
-
-class TestSessionStateDelegate : public SessionStateDelegate {
- public:
- TestSessionStateDelegate();
- ~TestSessionStateDelegate() override;
-
- // SessionStateDelegate:
- bool ShouldShowAvatar(WmWindow* window) const override;
- gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const override;
-
- // Setting non NULL image enables avatar icon.
- void SetUserImage(const gfx::ImageSkia& user_image);
-
- private:
- gfx::ImageSkia user_image_;
-
- DISALLOW_COPY_AND_ASSIGN(TestSessionStateDelegate);
-};
-
-} // namespace test
-} // namespace ash
-
-#endif // ASH_TEST_TEST_SESSION_STATE_DELEGATE_H_
« no previous file with comments | « ash/test/shell_test_api.cc ('k') | ash/test/test_session_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698