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

Unified Diff: ash/session/session_state_delegate.h

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, 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
Index: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
index de5a9cb65e3c3d5e6d14a34349dc502ba14a6a4c..b9c4108e68fc0873871e7fe5ddde8587dd93855a 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -7,14 +7,16 @@
#include "ash/ash_export.h"
+namespace aura {
+class Window;
+}
+
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.
@@ -23,10 +25,11 @@ class ASH_EXPORT SessionStateDelegate {
virtual ~SessionStateDelegate() {}
// Whether or not the window's title should show the avatar.
- virtual bool ShouldShowAvatar(WmWindow* window) const = 0;
+ virtual bool ShouldShowAvatar(aura::Window* window) const = 0;
// Returns the avatar image for the specified window.
- virtual gfx::ImageSkia GetAvatarImageForWindow(WmWindow* window) const = 0;
+ virtual gfx::ImageSkia GetAvatarImageForWindow(
+ aura::Window* window) const = 0;
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698