Hmm. Rather than an idle event, how about a general way to notify on machine state changes? idle / busy, ac / battery, willsleep / didwake, etc. all seem to have the same usage pattern. Apps could then key off of the notification to start/stop workers or timers for idle processing, etc.
--Amanda 2009/5/6 Aaron Boodman <[email protected]>: > > This also makes sense to me as something for the wider web platform. I > wonder if there could be awindow.onidle event. This seems generally > useful to all web apps. > > - a > > 2009/5/6 PhistucK <[email protected]>: >> I wish I had the disk space and the know how. >> ☆PhistucK >> >> >> On Wed, May 6, 2009 at 20:08, Evan Martin <[email protected]> wrote: >>> >>> Probably only if you do it. :) >>> >>> 2009/5/6 PhistucK <[email protected]>: >>> > Mmmm... so is that going to happen soon? :) >>> > >>> > 2009/5/6 Evan Martin <[email protected]> >>> >> >>> >> base/idle_timer implements this. The only implementation detail would >>> >> be exposing it to JS. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
