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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager.h

Issue 127423002: Supports window teleports for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wallpaper private api test Created 6 years, 11 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: chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
index 51b75e2659cef2335d441e26051ea8f7111d98dd..a76091d6b0f9d75c9f980af67b51fe4e658891ac 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
+++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_ASH_MULTI_USER_MULTI_USER_WINDOW_MANAGER_H_
#include <map>
+#include <set>
#include <string>
class Browser;
@@ -90,6 +91,9 @@ class MultiUserWindowManager {
// Returns true when windows are shared among users.
virtual bool AreWindowsSharedAmongUsers() = 0;
+ // Get the owners for the visible windows and set them to |user_ids|.
+ virtual void GetOwnersOfVisibleWindows(std::set<std::string>* user_ids) = 0;
+
// A query call for a given window to see if it is on the given user's
// desktop.
virtual bool IsWindowOnDesktopOfUser(aura::Window* window,

Powered by Google App Engine
This is Rietveld 408576698