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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 130983007: Creating multi profile animations for switching users and teleporting of windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 6 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 scoped_ptr<VolumeControlDelegate> delegate) = 0; 307 scoped_ptr<VolumeControlDelegate> delegate) = 0;
308 308
309 // Retrieves the session start time. Returns |false| if the time is not set. 309 // Retrieves the session start time. Returns |false| if the time is not set.
310 virtual bool GetSessionStartTime(base::TimeTicks* session_start_time) = 0; 310 virtual bool GetSessionStartTime(base::TimeTicks* session_start_time) = 0;
311 311
312 // Retrieves the session length limit. Returns |false| if no limit is set. 312 // Retrieves the session length limit. Returns |false| if no limit is set.
313 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) = 0; 313 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) = 0;
314 314
315 // Get the system tray menu size in pixels (dependent on the language). 315 // Get the system tray menu size in pixels (dependent on the language).
316 virtual int GetSystemTrayMenuWidth() = 0; 316 virtual int GetSystemTrayMenuWidth() = 0;
317
318 // The active user has been changed. This will be called when the UI is ready
319 // to be switched to the new user.
320 // Note: This will happen after SessionStateObserver::ActiveUserChanged fires.
321 virtual void ActiveUserWasChanged() = 0;
317 }; 322 };
318 323
319 } // namespace ash 324 } // namespace ash
320 325
321 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 326 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698