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

Issue 2855033004: cros: Update touchscreen status with backlights forced off state during start (Closed)

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

Description

cros: Update touchscreen status with backlights forced off state during start Changes: Sync powerd's backlights forced off state with touchscreen local pref and update touchscreen. BUG=709209 TEST=added test coverage Review-Url: https://codereview.chromium.org/2855033004 Cr-Commit-Position: refs/heads/master@{#468895} Committed: https://chromium.googlesource.com/chromium/src/+/750b068d2182bbb0bafe9c236dae7aea02f0431e

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments and test coverage #

Total comments: 2

Patch Set 3 : update the test #

Total comments: 2

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -5 lines) Patch
M ash/system/power/tablet_power_button_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/power/tablet_power_button_controller.cc View 1 2 chunks +9 lines, -5 lines 0 comments Download
M ash/system/power/tablet_power_button_controller_unittest.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M ash/wm/power_button_controller.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/power_button_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Qiang(Joe) Xu
PTAL, thanks! I don't have a servo setup, so I didn't test it. I believe ...
3 years, 7 months ago (2017-05-03 00:39:28 UTC) #3
Daniel Erat
please add a unit test for this. https://codereview.chromium.org/2855033004/diff/1/ash/system/power/tablet_power_button_controller.cc File ash/system/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2855033004/diff/1/ash/system/power/tablet_power_button_controller.cc#newcode58 ash/system/power/tablet_power_button_controller.cc:58: // Update ...
3 years, 7 months ago (2017-05-03 00:48:47 UTC) #4
Qiang(Joe) Xu
Hi Dan, ptal, thanks! https://codereview.chromium.org/2855033004/diff/1/ash/system/power/tablet_power_button_controller.cc File ash/system/power/tablet_power_button_controller.cc (right): https://codereview.chromium.org/2855033004/diff/1/ash/system/power/tablet_power_button_controller.cc#newcode58 ash/system/power/tablet_power_button_controller.cc:58: // Update Touchscreen status based ...
3 years, 7 months ago (2017-05-03 03:14:22 UTC) #5
Daniel Erat
https://codereview.chromium.org/2855033004/diff/20001/ash/system/power/tablet_power_button_controller_unittest.cc File ash/system/power/tablet_power_button_controller_unittest.cc (right): https://codereview.chromium.org/2855033004/diff/20001/ash/system/power/tablet_power_button_controller_unittest.cc#newcode517 ash/system/power/tablet_power_button_controller_unittest.cc:517: ASSERT_FALSE(shell_delegate_->IsTouchscreenEnabledInPrefs(true)); i'm worried that this isn't testing the real ...
3 years, 7 months ago (2017-05-03 03:28:39 UTC) #6
Qiang(Joe) Xu
https://codereview.chromium.org/2855033004/diff/20001/ash/system/power/tablet_power_button_controller_unittest.cc File ash/system/power/tablet_power_button_controller_unittest.cc (right): https://codereview.chromium.org/2855033004/diff/20001/ash/system/power/tablet_power_button_controller_unittest.cc#newcode517 ash/system/power/tablet_power_button_controller_unittest.cc:517: ASSERT_FALSE(shell_delegate_->IsTouchscreenEnabledInPrefs(true)); On 2017/05/03 03:28:39, Daniel Erat wrote: > i'm ...
3 years, 7 months ago (2017-05-03 03:53:27 UTC) #7
Daniel Erat
lgtm https://codereview.chromium.org/2855033004/diff/40001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): https://codereview.chromium.org/2855033004/diff/40001/ash/wm/power_button_controller.h#newcode55 ash/wm/power_button_controller.h:55: void ResetTabletPowerButtonControllerForTest(); nit: document what this does, e.g. ...
3 years, 7 months ago (2017-05-03 03:59:37 UTC) #9
Qiang(Joe) Xu
Thanks for review! https://codereview.chromium.org/2855033004/diff/40001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): https://codereview.chromium.org/2855033004/diff/40001/ash/wm/power_button_controller.h#newcode55 ash/wm/power_button_controller.h:55: void ResetTabletPowerButtonControllerForTest(); On 2017/05/03 03:59:37, Daniel ...
3 years, 7 months ago (2017-05-03 04:17:34 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/2855033004/60001
3 years, 7 months ago (2017-05-03 04:17:53 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 04:53:30 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/750b068d2182bbb0bafe9c236dae...

Powered by Google App Engine
This is Rietveld 408576698