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

Side by Side Diff: ash/session_state_delegate.h

Issue 184113005: Removal of drag window to user tray icon functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/session_state_delegate_stub.h » ('j') | 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 #ifndef ASH_SESSION_STATE_DELEGATE_H_ 5 #ifndef ASH_SESSION_STATE_DELEGATE_H_
6 #define ASH_SESSION_STATE_DELEGATE_H_ 6 #define ASH_SESSION_STATE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // (if that user has already signed in). 102 // (if that user has already signed in).
103 virtual void SwitchActiveUser(const std::string& user_id) = 0; 103 virtual void SwitchActiveUser(const std::string& user_id) = 0;
104 104
105 // Switches the active user to the next or previous user, with the same 105 // Switches the active user to the next or previous user, with the same
106 // ordering as GetLoggedInUsers. 106 // ordering as GetLoggedInUsers.
107 virtual void CycleActiveUser(CycleUser cycle_user) = 0; 107 virtual void CycleActiveUser(CycleUser cycle_user) = 0;
108 108
109 // Adds or removes sessions state observer. 109 // Adds or removes sessions state observer.
110 virtual void AddSessionStateObserver(SessionStateObserver* observer) = 0; 110 virtual void AddSessionStateObserver(SessionStateObserver* observer) = 0;
111 virtual void RemoveSessionStateObserver(SessionStateObserver* observer) = 0; 111 virtual void RemoveSessionStateObserver(SessionStateObserver* observer) = 0;
112
113 // Transfers the visibility of a window to another user. Returns true when
114 // transfer was done. This could fail if the |window| belongs to no one and
115 // is therefore shown on the desktop of every user.
116 virtual bool TransferWindowToDesktopOfUser(
117 aura::Window* window,
118 ash::MultiProfileIndex index) = 0;
119 }; 112 };
120 113
121 } // namespace ash 114 } // namespace ash
122 115
123 #endif // ASH_SESSION_STATE_DELEGATE_H_ 116 #endif // ASH_SESSION_STATE_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/session_state_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698