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

Issue 585623003: [Athena] Make a quick power button tap suspend the device (Closed)

Created:
6 years, 3 months ago by pkotwicz
Modified:
6 years, 3 months ago
CC:
chromium-reviews, derat+watch_chromium.org, stevenjb+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Athena] Make a quick power button tap suspend the device BUG=404661, 179713 TEST=Manual, see bug R=flackr, oshima, derat TBR=stevenjb Committed: https://crrev.com/4bcbeb30b6a26829dfb762539b8621b67e232843 Cr-Commit-Position: refs/heads/master@{#296515}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : Rebased to ToT #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -79 lines) Patch
M athena/screen/public/screen_manager.h View 2 chunks +0 lines, -12 lines 0 comments Download
M athena/screen/screen_manager_impl.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M athena/system/power_button_controller.h View 1 2 4 chunks +30 lines, -13 lines 0 comments Download
M athena/system/power_button_controller.cc View 1 2 3 3 chunks +76 lines, -43 lines 0 comments Download
M athena/system/system_ui_impl.cc View 1 2 4 chunks +18 lines, -5 lines 0 comments Download
M athena/util/container_priorities.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_power_manager_client.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_power_manager_client.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/power_manager_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/power_manager_client.cc View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 25 (9 generated)
pkotwicz
Rob, can you please take a look?
6 years, 3 months ago (2014-09-18 23:25:56 UTC) #3
Daniel Erat
mind also adding http://crbug.com/179713 to the BUG line?
6 years, 3 months ago (2014-09-18 23:30:05 UTC) #4
flackr
Looks good, just a few comments. https://codereview.chromium.org/585623003/diff/40001/athena/system/power_button_controller.cc File athena/system/power_button_controller.cc (right): https://codereview.chromium.org/585623003/diff/40001/athena/system/power_button_controller.cc#newcode43 athena/system/power_button_controller.cc:43: void PowerButtonController::ShowShutdownWarningDialog() { ...
6 years, 3 months ago (2014-09-19 14:45:30 UTC) #5
pkotwicz
Rob, can you please take another look? https://codereview.chromium.org/585623003/diff/40001/athena/system/system_ui_impl.cc File athena/system/system_ui_impl.cc (right): https://codereview.chromium.org/585623003/diff/40001/athena/system/system_ui_impl.cc#newcode102 athena/system/system_ui_impl.cc:102: new PowerButtonController(system_modal_container_)); ...
6 years, 3 months ago (2014-09-20 00:01:59 UTC) #6
flackr
LGTM
6 years, 3 months ago (2014-09-22 13:49:30 UTC) #7
pkotwicz
oshima@ for athena/ OWNERS stevenjb@ for chromeos/dbus/ OWNERS
6 years, 3 months ago (2014-09-22 14:43:18 UTC) #9
oshima
lgtm with nits https://codereview.chromium.org/585623003/diff/60001/athena/system/power_button_controller.cc File athena/system/power_button_controller.cc (right): https://codereview.chromium.org/585623003/diff/60001/athena/system/power_button_controller.cc#newcode54 athena/system/power_button_controller.cc:54: base::UTF8ToUTF16("Keep holding power button to shutdown.")); ...
6 years, 3 months ago (2014-09-22 17:20:19 UTC) #10
pkotwicz
Addressed Oshima's nits
6 years, 3 months ago (2014-09-22 18:11:03 UTC) #11
pkotwicz
stevenjb@, ping?
6 years, 3 months ago (2014-09-24 03:45:57 UTC) #12
Daniel Erat
lgtm for chromeos/dbus/ (i think that steven is traveling, and i'm probably the best person ...
6 years, 3 months ago (2014-09-24 14:34:54 UTC) #14
stevenjb
What Dan said. On Wed, Sep 24, 2014 at 7:34 AM, <derat@chromium.org> wrote: > lgtm ...
6 years, 3 months ago (2014-09-24 14:57:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585623003/100001
6 years, 3 months ago (2014-09-24 19:20:12 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/17531)
6 years, 3 months ago (2014-09-24 20:02:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585623003/120001
6 years, 3 months ago (2014-09-24 20:18:09 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001) as e27c344e4a2e6d43d55f252a014f685523829913
6 years, 3 months ago (2014-09-24 21:03:22 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 21:04:05 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4bcbeb30b6a26829dfb762539b8621b67e232843
Cr-Commit-Position: refs/heads/master@{#296515}

Powered by Google App Engine
This is Rietveld 408576698