summaryrefslogtreecommitdiffstats
path: root/chrome/browser/idle_linux.cc
Commit message (Collapse)AuthorAgeFilesLines
* chrome: Check idle state for Ozone platformtiago.vignatti@intel.com2013-09-231-0/+2
| | | | | | | | | | | | X11 screen savers are special ones but we hope that most of the Ozone implementations won't need these special treatment as in here. Therefore just return false. BUG=295089 Review URL: https://chromiumcodereview.appspot.com/24114007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224727 0039d316-1c4b-4281-b951-d872f2087c98
* linux_aura: Reuse non-GTK specific screensaver detection code.erg@chromium.org2013-05-241-3/+3
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/15926004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202187 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize linux vs x11 in chromedavemoore@chromium.org2013-04-291-2/+7
| | | | | | | | | | BUG=236170 TEST=None R=ben@chromium.org Review URL: https://codereview.chromium.org/14417011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197095 0039d316-1c4b-4281-b951-d872f2087c98
* 1) added "idle" and "locked" transitions to idle.onStateChangedcourage@chromium.org2012-11-171-10/+2
| | | | | | | | | | | | | 2) Per-app/extension idle threshold, settable via idle.setDetectionInterval 3) Bug fixes BUG=143275 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168104 Review URL: https://chromiumcodereview.appspot.com/10985056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168365 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 168104 because it broke interactive_ui_tests and browser_tests on ↵sadrul@chromium.org2012-11-161-2/+10
| | | | | | | | | | | | | | | | | | debug builds. === 1) added "idle" and "locked" transitions to idle.onStateChanged 2) Per-app/extension idle threshold, settable via idle.setDetectionInterval 3) Bug fixes BUG=143275 Review URL: https://chromiumcodereview.appspot.com/10985056 TBR=courage@chromium.org Review URL: https://codereview.chromium.org/11418024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168118 0039d316-1c4b-4281-b951-d872f2087c98
* 1) added "idle" and "locked" transitions to idle.onStateChangedcourage@chromium.org2012-11-161-10/+2
| | | | | | | | | | | 2) Per-app/extension idle threshold, settable via idle.setDetectionInterval 3) Bug fixes BUG=143275 Review URL: https://chromiumcodereview.appspot.com/10985056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168104 0039d316-1c4b-4281-b951-d872f2087c98
* browser: Move more files into chrome namespace.tfarina@chromium.org2012-07-021-2/+2
| | | | | | | | | BUG=133088 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10694060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145220 0039d316-1c4b-4281-b951-d872f2087c98
* Applied review comments from oshima for CL 7850026.saintlou@chromium.org2011-09-201-1/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7945014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101983 0039d316-1c4b-4281-b951-d872f2087c98
* Checking if idle state is locked now works on ChromeOSsidor@chromium.org2011-09-161-60/+2
| | | | | | | | | | BUG=None TEST=Two bits using this function are notifications and idle API. Both seem to work fine on my machine. Review URL: http://codereview.chromium.org/7906014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101584 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing the bug, that caused UI to hang after unsupported device was inserted.sidor@chromium.org2011-09-101-7/+10
| | | | | | | | | | | | In the idle.h new synchronous method was added - IsWorkstationInLockedState. BUG=chromium-os:20261 TEST=None Review URL: http://codereview.chromium.org/7864022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100582 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome changes to fix the idle extension APIrkc@chromium.org2011-08-181-5/+8
| | | | | | | | | | | | | | | | | This change list reimplements the idle extension API to fix the following issues: . Query is now throttled only to 1 second . Calls to calculate the idle time are async (this is needed for chromium-os) . OnStateChanged now fires within a reasonable time of the machine going active (1 second) . Fixed a memory leak of the polling class This is just the Chrome change, there will be an additional CL to integrate the ChromiumOS code changes with the API once those are in. BUG=chromium-os:17167 TEST=Tested with the idle sample extension to confirm that idle query and idle state changed event work correctly. Review URL: http://codereview.chromium.org/7519008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97302 0039d316-1c4b-4281-b951-d872f2087c98
* sync: Move idle_query_linux.{h,cc} out of sync/engine/ directory.tfarina@chromium.org2011-05-021-3/+3
| | | | | | | | | | | BUG=80582 TEST=None R=akalin@chromium.org Review URL: http://codereview.chromium.org/6901122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83789 0039d316-1c4b-4281-b951-d872f2087c98
* Do not show notifications when in fullscreen or screensaver mode.jianli@chromium.org2011-01-251-0/+65
| | | | | | | | | | | | | I add full-screen/presentation mode detection for all 3 platforms. I also add screensaver detection for MacOSX and Linux since it is missing in these 2 platforms. BUG=25061 TEST=Manual test Review URL: http://codereview.chromium.org/6359008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72539 0039d316-1c4b-4281-b951-d872f2087c98
* Idle API for the extension systembrg@chromium.com2010-03-161-0/+15
Tests=ExtensionApiTest.Idle Bug=one Review URL: http://codereview.chromium.org/845005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41661 0039d316-1c4b-4281-b951-d872f2087c98