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

Unified Diff: ash/shell/shell_delegate_impl.cc

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
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index dc081c6fc359aba744fdf4c1c1020099b65bc638..5bc8f681519d0588b5d584aeb2fa238d2b845605 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -89,6 +89,9 @@ class SessionStateDelegateImpl : public SessionStateDelegate {
aura::Window* window) override {
return Shell::GetInstance()->delegate()->GetActiveBrowserContext();
}
+ const std::string& GetUserPresentingWindow(aura::Window* window) override {
+ return base::EmptyString();
+ }
int GetMaximumNumberOfLoggedInUsers() const override { return 3; }
int NumberOfLoggedInUsers() const override {
// ash_shell has 2 users.

Powered by Google App Engine
This is Rietveld 408576698