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

Issue 654343002: Intorduce PowerButtonObserver API (Closed)

Created:
6 years, 2 months ago by oshima
Modified:
6 years, 2 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, tdresser+watch_chromium.org, dpolukhin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Intorduce PowerButtonObserver API renamed existing PowerButtonController to ShutdownDialog BUG=None TEST=covered by unit tests Committed: https://crrev.com/0d921cdf45872ebff6c22da6a21c12d44054a860 Cr-Commit-Position: refs/heads/master@{#299821} R=mukai@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/a99e783b14fb9f2a2c3c18b43d2ab0ab260377b6

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : rebase #

Patch Set 5 : speculative fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+469 lines, -327 lines) Patch
M athena/athena.gyp View 1 3 chunks +6 lines, -2 lines 0 comments Download
M athena/input/DEPS View 2 chunks +7 lines, -0 lines 0 comments Download
M athena/input/accelerator_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A athena/input/input_manager_impl.h View 1 1 chunk +65 lines, -0 lines 0 comments Download
M athena/input/input_manager_impl.cc View 1 4 chunks +34 lines, -42 lines 0 comments Download
A athena/input/input_manager_unittest.cc View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
A athena/input/power_button_controller.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A athena/input/power_button_controller.cc View 1 1 chunk +131 lines, -0 lines 0 comments Download
M athena/input/public/input_manager.h View 2 chunks +15 lines, -0 lines 0 comments Download
M athena/system/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M athena/system/power_button_controller.h View 1 1 chunk +0 lines, -77 lines 0 comments Download
M athena/system/power_button_controller.cc View 1 1 chunk +0 lines, -126 lines 0 comments Download
A + athena/system/shutdown_dialog.h View 1 4 chunks +12 lines, -20 lines 0 comments Download
A + athena/system/shutdown_dialog.cc View 1 3 chunks +32 lines, -55 lines 0 comments Download
M athena/system/system_ui_impl.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
oshima
https://codereview.chromium.org/654343002/diff/40001/athena/system/power_button_controller.h File athena/system/power_button_controller.h (right): https://codereview.chromium.org/654343002/diff/40001/athena/system/power_button_controller.h#newcode24 athena/system/power_button_controller.h:24: class PowerButtonController : public PowerButtonObserver { This class should ...
6 years, 2 months ago (2014-10-15 22:28:54 UTC) #4
Jun Mukai
https://codereview.chromium.org/654343002/diff/40001/athena/input/input_manager_impl.cc File athena/input/input_manager_impl.cc (right): https://codereview.chromium.org/654343002/diff/40001/athena/input/input_manager_impl.cc#newcode109 athena/input/input_manager_impl.cc:109: brightness_is_zero_ = (level == 0); I personally feel that ...
6 years, 2 months ago (2014-10-15 23:38:46 UTC) #5
oshima
6 years, 2 months ago (2014-10-16 00:12:47 UTC) #6
oshima
uploaded new patch. PTAL.
6 years, 2 months ago (2014-10-16 00:13:02 UTC) #7
Jun Mukai
https://codereview.chromium.org/654343002/diff/80001/athena/input/input_manager_unittest.cc File athena/input/input_manager_unittest.cc (right): https://codereview.chromium.org/654343002/diff/80001/athena/input/input_manager_unittest.cc#newcode75 athena/input/input_manager_unittest.cc:75: TEST_F(InputManagerTest, PowerButton) { Then can we move this test ...
6 years, 2 months ago (2014-10-16 00:52:20 UTC) #8
Jun Mukai
lgtm in advance -- if you feel that test should be in input_manager_unittests, that's fine.
6 years, 2 months ago (2014-10-16 00:54:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654343002/80001
6 years, 2 months ago (2014-10-16 00:57:15 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:80001)
6 years, 2 months ago (2014-10-16 02:22:37 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/0d921cdf45872ebff6c22da6a21c12d44054a860 Cr-Commit-Position: refs/heads/master@{#299821}
6 years, 2 months ago (2014-10-16 02:23:11 UTC) #13
jam
A revert of this CL (patchset #3 id:80001) has been created in https://codereview.chromium.org/659923002/ by jam@chromium.org. ...
6 years, 2 months ago (2014-10-16 04:52:17 UTC) #14
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a99e783b14fb9f2a2c3c18b43d2ab0ab260377b6 Cr-Commit-Position: refs/heads/master@{#299873}
6 years, 2 months ago (2014-10-16 10:09:37 UTC) #16
oshima
6 years, 2 months ago (2014-10-16 10:09:41 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:140001) manually as
a99e783b14fb9f2a2c3c18b43d2ab0ab260377b6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698