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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_views.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: Address skuhne@'s comments. 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_views.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/ash/session_state_delegate_views.h" 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "components/user_manager/empty_user_info.h" 10 #include "components/user_manager/empty_user_info.h"
(...skipping 10 matching lines...) Expand all
21 NOTIMPLEMENTED(); 21 NOTIMPLEMENTED();
22 return NULL; 22 return NULL;
23 } 23 }
24 24
25 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow( 25 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow(
26 aura::Window* window) { 26 aura::Window* window) {
27 NOTIMPLEMENTED(); 27 NOTIMPLEMENTED();
28 return NULL; 28 return NULL;
29 } 29 }
30 30
31 content::BrowserContext*
32 SessionStateDelegate::GetUserPresentingBrowserContextForWindow(
33 aura::Window* window) {
34 return NULL;
35 }
36
31 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { 37 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const {
32 return 3; 38 return 3;
33 } 39 }
34 40
35 int SessionStateDelegate::NumberOfLoggedInUsers() const { 41 int SessionStateDelegate::NumberOfLoggedInUsers() const {
36 return 1; 42 return 1;
37 } 43 }
38 44
39 bool SessionStateDelegate::IsActiveUserSessionStarted() const { 45 bool SessionStateDelegate::IsActiveUserSessionStarted() const {
40 return true; 46 return true;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 103
98 void SessionStateDelegate::AddSessionStateObserver( 104 void SessionStateDelegate::AddSessionStateObserver(
99 ash::SessionStateObserver* observer) { 105 ash::SessionStateObserver* observer) {
100 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
101 } 107 }
102 108
103 void SessionStateDelegate::RemoveSessionStateObserver( 109 void SessionStateDelegate::RemoveSessionStateObserver(
104 ash::SessionStateObserver* observer) { 110 ash::SessionStateObserver* observer) {
105 NOTIMPLEMENTED(); 111 NOTIMPLEMENTED();
106 } 112 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_views.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698