summaryrefslogtreecommitdiffstats
path: root/chrome/browser/idle_chromeos.cc
Commit message (Collapse)AuthorAgeFilesLines
* CleanUp: Introduce UserInfo. Move session_state stuff to ash/session.oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | | | BUG=None R=nkostylev@chromium.org TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267158 Review URL: https://codereview.chromium.org/253063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267337 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..."oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | | | | | | | > CleanUp: Introduce UserInfo. Move session_state stuff to ash/session. > > BUG=None > R=nkostylev@chromium.org > TBR=sky@chromium.org > > Review URL: https://codereview.chromium.org/253063002 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/260783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267250 0039d316-1c4b-4281-b951-d872f2087c98
* CleanUp: Introduce UserInfo. Move session_state stuff to ash/session.oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | BUG=None R=nkostylev@chromium.org TBR=sky@chromium.org Review URL: https://codereview.chromium.org/253063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267158 0039d316-1c4b-4281-b951-d872f2087c98
* Move UserActivityDetector from ash/wm/ to ui/wm/core/.derat@chromium.org2014-04-031-1/+1
| | | | | | | | | | | This code is dependent on aura but not on ash. It'd be useful in app_shell, which doesn't use ash. BUG=354711 Review URL: https://codereview.chromium.org/222383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261404 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in chrome/browser/, part 5.avi@chromium.org2013-06-281-1/+1
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/18127003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209061 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194589 "Revert 194578 "Add ash SessionStateDelegate""bartfab@google.com2013-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CL turned out to be innocent, the bots turned green without the revert. > Revert 194578 "Add ash SessionStateDelegate" > > > Add ash SessionStateDelegate > > > > This CL refactors the ShellDelegate by adding a SessionStateDelegate to > > which methods dealing with the session state can be moved. This cleans up > > the huge ShellDelegate interface and paves the way for further Chrome OS > > multiprofile work which will need to add several new methods related to > > the session state. > > > > This CL is only the first step. Several other methods should also move to > > SessionStateDelegate but I do not want to overburden a single CL. > > > > BUG=None > > TEST=Manual and browser/unit tests > > > > TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) > > > > Review URL: https://codereview.chromium.org/14295008 > > TBR=bartfab@google.com > > Review URL: https://codereview.chromium.org/14200034 TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/14200038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194578 "Add ash SessionStateDelegate"gavinp@chromium.org2013-04-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | > Add ash SessionStateDelegate > > This CL refactors the ShellDelegate by adding a SessionStateDelegate to > which methods dealing with the session state can be moved. This cleans up > the huge ShellDelegate interface and paves the way for further Chrome OS > multiprofile work which will need to add several new methods related to > the session state. > > This CL is only the first step. Several other methods should also move to > SessionStateDelegate but I do not want to overburden a single CL. > > BUG=None > TEST=Manual and browser/unit tests > > TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) > > Review URL: https://codereview.chromium.org/14295008 TBR=bartfab@google.com Review URL: https://codereview.chromium.org/14200034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194589 0039d316-1c4b-4281-b951-d872f2087c98
* Add ash SessionStateDelegatebartfab@google.com2013-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | This CL refactors the ShellDelegate by adding a SessionStateDelegate to which methods dealing with the session state can be moved. This cleans up the huge ShellDelegate interface and paves the way for further Chrome OS multiprofile work which will need to add several new methods related to the session state. This CL is only the first step. Several other methods should also move to SessionStateDelegate but I do not want to overburden a single CL. BUG=None TEST=Manual and browser/unit tests TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) Review URL: https://codereview.chromium.org/14295008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194578 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update idle code to not query power manager.derat@chromium.org2013-03-211-21/+7
| | | | | | | | | | | | | | | This updates the Chrome OS implementation of Chrome's idle-time code to use ash::UserActivityDetector instead of making an asynchronous query to the power manager. It also fixes the idle code's is-the-screen-locked check. BUG=178908 Review URL: https://chromiumcodereview.appspot.com/12854013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189591 0039d316-1c4b-4281-b951-d872f2087c98
* 1) added "idle" and "locked" transitions to idle.onStateChangedcourage@chromium.org2012-11-171-12/+10
| | | | | | | | | | | | | 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-10/+12
| | | | | | | | | | | | | | | | | | 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-12/+10
| | | | | | | | | | | 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
* Move files inside chrome/browser/chromeos/dbus to chromeos/dbushashimoto@chromium.org2012-04-061-14/+4
| | | | | | | | | | | | | | | | Move files in chrome/browser/chromeos/dbus/ to chromeos/dbus Add chromeos/dbus/DEPS Add chromeos.gyp:chromeos_test_support and chromeos.gyp:chromeos_unittests Add CHROMEOS_EXPORT to classes Move power related proto targets to chromeos.gyp Rewrite and sort #includes BUG=119583 TEST=component chromeos build success, checkdeps success Review URL: https://chromiumcodereview.appspot.com/9838085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131065 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: call GetIdleTime from power manager clientsque@chromium.org2011-11-151-7/+5
| | | | | | | | | | | | | | | | | No longer using libcros to call the method. Part of libcros removal. Instead chrome will call the method directly. BUG=chromium-os:16558 TEST=none Signed-off-by: Simon Que <sque@chromium.org> R=satorux@chromium.org,stevenjb@chromium.org,tbarzic@chromium.org Review URL: http://codereview.chromium.org/8566024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110188 0039d316-1c4b-4281-b951-d872f2087c98
* Applied review comments from oshima for CL 7850026.saintlou@chromium.org2011-09-201-1/+7
| | | | | | | | | 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-2/+4
| | | | | | | | | | 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-0/+9
| | | | | | | | | | | | 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
* UI fix for idle API for ChromeOS.sidor@chromium.org2011-09-081-0/+30
| | | | | | | | | | BUG=chromium-os:17167 TEST=None Review URL: http://codereview.chromium.org/7851019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100252 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100093 - UI fix for idle API on ChromeOS.dhollowa@chromium.org2011-09-081-30/+0
| | | | | | | | | | | | | BUG=chromium-os:17167 TEST=None. Review URL: http://codereview.chromium.org/7800018 TBR=sidor@chromium.org Review URL: http://codereview.chromium.org/7847014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100104 0039d316-1c4b-4281-b951-d872f2087c98
* UI fix for idle API on ChromeOS.sidor@chromium.org2011-09-081-0/+30
BUG=chromium-os:17167 TEST=None. Review URL: http://codereview.chromium.org/7800018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100093 0039d316-1c4b-4281-b951-d872f2087c98