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

Unified Diff: ash/session/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/mus/window_manager.cc ('k') | ash/shelf/shelf_locking_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
deleted file mode 100644
index de5a9cb65e3c3d5e6d14a34349dc502ba14a6a4c..0000000000000000000000000000000000000000
--- a/ash/session/session_state_delegate.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 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_SESSION_SESSION_STATE_DELEGATE_H_
-#define ASH_SESSION_SESSION_STATE_DELEGATE_H_
-
-#include "ash/ash_export.h"
-
-namespace gfx {
-class ImageSkia;
-}
-
-namespace ash {
-
-class WmWindow;
-
-// Delegate for checking and modifying the session state.
-// DEPRECATED in favor of SessionController/SessionControllerClient for mash.
-// TODO(xiyuan): Remove this when SessionController etc are ready.
-class ASH_EXPORT SessionStateDelegate {
- public:
- virtual ~SessionStateDelegate() {}
-
- // Whether or not the window's title should show the avatar.
- virtual bool ShouldShowAvatar(WmWindow* window) const = 0;
-
- // Returns the avatar image for the specified window.
- virtual gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const = 0;
-};
-
-} // namespace ash
-
-#endif // ASH_SESSION_SESSION_STATE_DELEGATE_H_
« no previous file with comments | « ash/mus/window_manager.cc ('k') | ash/shelf/shelf_locking_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698