Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Issue 2620383003: ash: Add one second grace period For LockScreenIfRequired (Closed)

Created:
3 years, 11 months ago by Qiang(Joe) Xu
Modified:
3 years, 11 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, derat+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Add one second grace period For LockScreenIfRequired Changes: Add one second grace period For LockScreenIfRequired. Basically, an one second OneShotTimer is used to set/reset the behavior. BUG=633304 BUG=680509 TEST=device test, and modify test coverage Review-Url: https://codereview.chromium.org/2620383003 Cr-Commit-Position: refs/heads/master@{#443254} Committed: https://chromium.googlesource.com/chromium/src/+/88b1b7e758f10253dc293c05006c8695fe58079e

Patch Set 1 #

Patch Set 2 : reset |lock_screen_timer_| in SetDisplayForcedOff and add test coverage #

Total comments: 13

Patch Set 3 : rebase #

Patch Set 4 : based on ps2's comments #

Total comments: 6

Patch Set 5 : based on ps4's comments #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -3 lines) Patch
M ash/system/chromeos/power/tablet_power_button_controller.h View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller.cc View 1 2 3 4 5 5 chunks +28 lines, -3 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller_unittest.cc View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
Qiang(Joe) Xu
Hi Daniel, ptal, thanks! https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc File ash/system/chromeos/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc#newcode227 ash/system/chromeos/power/tablet_power_button_controller.cc:227: lock_screen_timer_.Stop(); Moved here: since besides ...
3 years, 11 months ago (2017-01-11 22:17:07 UTC) #3
Daniel Erat
https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc File ash/system/chromeos/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc#newcode28 ash/system/chromeos/power/tablet_power_button_controller.cc:28: // Amount of time that locking screen needs to ...
3 years, 11 months ago (2017-01-11 23:09:06 UTC) #4
Qiang(Joe) Xu
Hi Daniel, ptal, thanks! https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc File ash/system/chromeos/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2620383003/diff/20001/ash/system/chromeos/power/tablet_power_button_controller.cc#newcode28 ash/system/chromeos/power/tablet_power_button_controller.cc:28: // Amount of time that ...
3 years, 11 months ago (2017-01-12 00:04:45 UTC) #6
Daniel Erat
https://codereview.chromium.org/2620383003/diff/80001/ash/system/chromeos/power/tablet_power_button_controller.cc File ash/system/chromeos/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2620383003/diff/80001/ash/system/chromeos/power/tablet_power_button_controller.cc#newcode29 ash/system/chromeos/power/tablet_power_button_controller.cc:29: // forced off. thanks, i understand now. maybe: // ...
3 years, 11 months ago (2017-01-12 01:40:47 UTC) #7
Qiang(Joe) Xu
Hi Daniel, ptal, thanks! https://codereview.chromium.org/2620383003/diff/80001/ash/system/chromeos/power/tablet_power_button_controller.cc File ash/system/chromeos/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2620383003/diff/80001/ash/system/chromeos/power/tablet_power_button_controller.cc#newcode29 ash/system/chromeos/power/tablet_power_button_controller.cc:29: // forced off. On 2017/01/12 ...
3 years, 11 months ago (2017-01-12 15:05:55 UTC) #9
Daniel Erat
lgtm
3 years, 11 months ago (2017-01-12 15:07:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620383003/120001
3 years, 11 months ago (2017-01-12 15:11:11 UTC) #13
commit-bot: I haz the power
Failed to apply patch for ash/system/chromeos/power/tablet_power_button_controller.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-12 15:43:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620383003/140001
3 years, 11 months ago (2017-01-12 15:48:00 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 16:19:23 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/88b1b7e758f10253dc293c05006c...

Powered by Google App Engine
This is Rietveld 408576698