Index: ash/session/session_state_delegate.h |
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h |
index e3b2dc4e6960f354640464d2f27607fac452d506..752ff56d2fb4d65ab688253b1b8b8c128d99e8b0 100644 |
--- a/ash/session/session_state_delegate.h |
+++ b/ash/session/session_state_delegate.h |
@@ -81,6 +81,10 @@ class ASH_EXPORT SessionStateDelegate { |
virtual content::BrowserContext* GetBrowserContextForWindow( |
aura::Window* window) = 0; |
+ // Returns the user on which the window is currently shown. An empty string |
+ // means the window will be shown for every user. |
+ virtual const std::string& GetUserPresentingWindow(aura::Window* window) = 0; |
oshima
2015/04/07 19:53:44
Is it hard to return BrowserContext instead of std
xdai1
2015/04/09 17:22:40
Done.
|
+ |
// Returns the maximum possible number of logged in users. |
virtual int GetMaximumNumberOfLoggedInUsers() const = 0; |