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

Issue 2575183002: chromeos: Tie tablet power button to --enable-touchview. (Closed)

Created:
4 years ago by Daniel Erat
Modified:
4 years ago
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, derat+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, kalyank, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Tie tablet power button to --enable-touchview. Remove the --ash-enable-tablet-power-button switch and instead enable tablet-style power button behavior whenever the --enable-touchview switch is set. This matches the logic for enabling the old "quick lock" power button behavior that was replaced by tablet-style behavior. BUG=674176, 633304 Committed: https://crrev.com/2edd30010faf05e3c2b990025e55525e7769b1d4 Cr-Commit-Position: refs/heads/master@{#438663}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add switch namespaces :-/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -10 lines) Patch
M ash/common/ash_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/ash_switches.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/wm/power_button_controller.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 21 (14 generated)
Daniel Erat
4 years ago (2016-12-14 21:45:27 UTC) #2
Daniel Erat
4 years ago (2016-12-14 21:45:44 UTC) #5
James Cook
LGTM with nit https://codereview.chromium.org/2575183002/diff/1/ash/common/ash_switches.cc File ash/common/ash_switches.cc (right): https://codereview.chromium.org/2575183002/diff/1/ash/common/ash_switches.cc#newcode65 ash/common/ash_switches.cc:65: // Enables the observation of accelerometer ...
4 years ago (2016-12-14 21:57:52 UTC) #7
bruthig
lgtm
4 years ago (2016-12-14 22:05:30 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/2575183002/20001
4 years ago (2016-12-14 22:32:16 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-14 23:09:31 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-14 23:12:48 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2edd30010faf05e3c2b990025e55525e7769b1d4
Cr-Commit-Position: refs/heads/master@{#438663}

Powered by Google App Engine
This is Rietveld 408576698