That file has been deleted from gears -- not as a reflection on the implementation but due to the lack of its use in gears. 2009/5/7 Evan Martin <[email protected]>
> > Does this mean PhistucK could just rely on the gears implementation? > Then it would require no Chrome changes. > > 2009/5/7 David Levin <[email protected]>: > > fwiw, gears had an implementation that didn't depend > > on XScreenSaverQueryInfo > > > http://code.google.com/p/gears/source/detail?r=2641&path=/trunk/gears/notifier/user_activity.cc > > see user_activity_linux.cc > > > > 2009/5/7 Adam Barth <[email protected]> > >> > >> I'd encourage you to implement it for extensions first. It seems > >> really useful for queuing up notifications, etc. > >> > >> Adam > >> > >> > >> 2009/5/7 PhistucK <[email protected]>: > >> > (Creating a new thread for it.) > >> > So, I started looking into it. > >> > And as you wrote, in order to implement this function for all of the > >> > platforms (is it even logical to implement a feature like an event > only > >> > for > >> > certain platforms?), I will need to set the ENABLE_XSS_SUPPORT to 1 > >> > (like > >> > the comment there says). > >> > I just want to know whether I am wasting my time here, or it can > really > >> > be > >> > taken into consideration. > >> > Now, Aaron suggested it might be a good idea to use the Extensions > >> > system as > >> > a playground for new features such as this one, so I thought about > >> > implementing it as "chrome.onsystemidle". Does this make sense? > >> > acceptable? > >> > other suggestions? > >> > ☆PhistucK > >> > > >> > > >> > 2009/5/6 Evan Martin <[email protected]> > >> >> > >> >> base/idle_timer implements this. The only implementation detail > would > >> >> be exposing it to JS. > >> >> > >> >> It would also make us depend on xscreensaver on Linux which is :( but > >> >> whatever. > >> >> > >> >> 2009/5/6 PhistucK <[email protected]>: > >> >> > One more thing - are you planning to implement a function that will > >> >> > return > >> >> > the status of the machine? > >> >> > For presence information, I want to know if the computer is idle > and > >> >> > if > >> >> > it > >> >> > does, I do not want to signal the presence. Say, during screen > saver > >> >> > or > >> >> > when > >> >> > the screen is shut down (through windows and its power management > >> >> > system, > >> >> > obviously, not through the shut down button :)). > >> >> > And if you were not planning on it - is it so easy to implement > that > >> >> > you > >> >> > will implement it in a few seconds? ;) > >> >> > I wish I knew C++ (and had enough disk space :( really low now), I > >> >> > would > >> >> > have tried to implement it by myself or help a little with > >> >> > everything. > >> >> > :) > >> >> > > >> >> > ☆PhistucK > >> > > >> > > > >> > > >> > >> >> > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
