mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 953311 - nsIdleService.idl and .cpp comments are still suggesting a "back" notification. r=gsvelto
This commit is contained in:
parent
ebbaeb1dde
commit
d749e86822
@ -12,7 +12,7 @@ interface nsIObserver;
|
||||
* i.e. not used their mouse or keyboard. You can get the idle time directly,
|
||||
* but in most cases you will want to register an observer for a predefined
|
||||
* interval. The observer will get an 'idle' notification when the user is idle
|
||||
* for that interval (or longer), and receive a 'back' notification when the
|
||||
* for that interval (or longer), and receive an 'active' notification when the
|
||||
* user starts using their computer again.
|
||||
*/
|
||||
|
||||
@ -40,8 +40,8 @@ interface nsIIdleService : nsISupports
|
||||
* @note
|
||||
* The subject of the notification the observer will get is always the
|
||||
* nsIIdleService itself.
|
||||
* When the user goes idle, the observer topic is "idle" and when they get
|
||||
* back, the observer topic is "back".
|
||||
* When the user goes idle, the observer topic is "idle" and when he gets
|
||||
* back, the observer topic is "active".
|
||||
* The data param for the notification contains the current user idle time.
|
||||
*
|
||||
* @note
|
||||
|
@ -578,8 +578,8 @@ nsIdleService::ResetIdleTimeOut(uint32_t idleDeltaInMS)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Now send "back" events to all, if any should have timed out allready, then
|
||||
// they will be reawaken by the timer that is already running.
|
||||
// Now send "active" events to all, if any should have timed out already,
|
||||
// then they will be reawaken by the timer that is already running.
|
||||
|
||||
// We need a text string to send with any state change events.
|
||||
nsAutoString timeStr;
|
||||
|
Loading…
Reference in New Issue
Block a user