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

Unified Diff: ash/session/session_state_delegate.h

Issue 1053013007: Minimized windows should not be activated by another user in multiprofile scenario. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | ash/shell/shell_delegate_impl.cc » ('j') | ash/wm/ash_focus_rules.cc » ('J')
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
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;
« no previous file with comments | « no previous file | ash/shell/shell_delegate_impl.cc » ('j') | ash/wm/ash_focus_rules.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698