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

Issue 13006006: chromeos: Support turning displays off in extended mode. (Closed)

Created:
7 years, 9 months ago by Daniel Erat
Modified:
7 years, 8 months ago
Reviewers:
marcheu, oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

chromeos: Support turning displays off in extended mode. This makes OutputConfigurator support requests from powerd that either the primary or secondary monitor be turned off in extended desktop mode. Previously, the panel always remained on. BUG=218387 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191558

Patch Set 1 #

Total comments: 4

Patch Set 2 : clean up EnterState() #

Total comments: 2

Patch Set 3 : update comment #

Patch Set 4 : fix suspend code #

Patch Set 5 : reupload #

Total comments: 4

Patch Set 6 : reupload #

Patch Set 7 : use flags #

Patch Set 8 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -119 lines) Patch
M chrome/browser/chromeos/dbus/display_power_service_provider.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chromeos/display/output_configurator.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -3 lines 0 comments Download
M chromeos/display/output_configurator.cc View 1 2 3 4 5 6 7 10 chunks +121 lines, -115 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Daniel Erat
I've been testing this in conjunction with a powerd change that requests INTERNAL_OFF_EXTERNAL_ON when a ...
7 years, 9 months ago (2013-03-25 20:02:42 UTC) #1
marcheu
lgtm
7 years, 9 months ago (2013-03-25 20:57:44 UTC) #2
oshima
On 2013/03/25 20:57:44, marcheu wrote: > lgtm Alex said he'll update the bug with his ...
7 years, 9 months ago (2013-03-25 21:36:04 UTC) #3
oshima
https://codereview.chromium.org/13006006/diff/1/chromeos/display/output_configurator.cc File chromeos/display/output_configurator.cc (left): https://codereview.chromium.org/13006006/diff/1/chromeos/display/output_configurator.cc#oldcode1146 chromeos/display/output_configurator.cc:1146: // windows) onto internal display even when it's off. ...
7 years, 9 months ago (2013-03-25 22:20:40 UTC) #4
Daniel Erat
Oshima, do you have any thoughts about the other issues that I mentioned in the ...
7 years, 9 months ago (2013-03-26 03:19:15 UTC) #5
Daniel Erat
I've changed this to also clean up EnterState(). I still see problems with pointer barriers ...
7 years, 9 months ago (2013-03-26 20:00:07 UTC) #6
oshima
lgtm, but I think I first need to fix chrome before landing this. I'll let ...
7 years, 9 months ago (2013-03-26 23:20:31 UTC) #7
Daniel Erat
Thanks. https://codereview.chromium.org/13006006/diff/8001/chromeos/display/output_configurator.cc File chromeos/display/output_configurator.cc (right): https://codereview.chromium.org/13006006/diff/8001/chromeos/display/output_configurator.cc#newcode1196 chromeos/display/output_configurator.cc:1196: // Avoid ending up with 0-by-0 if all ...
7 years, 9 months ago (2013-03-26 23:23:16 UTC) #8
oshima
By the way, does this work after a user logs out? I guess it probably ...
7 years, 9 months ago (2013-03-26 23:58:50 UTC) #9
Daniel Erat
I made some fixes to the suspend/resume code that I think should make us preserve ...
7 years, 9 months ago (2013-03-27 23:15:19 UTC) #10
oshima
lgtm. https://codereview.chromium.org/13006006/diff/21001/chrome/browser/chromeos/dbus/display_power_service_provider.cc File chrome/browser/chromeos/dbus/display_power_service_provider.cc (right): https://codereview.chromium.org/13006006/diff/21001/chrome/browser/chromeos/dbus/display_power_service_provider.cc#newcode65 chrome/browser/chromeos/dbus/display_power_service_provider.cc:65: state, false, false); can you add comments for ...
7 years, 9 months ago (2013-03-28 20:35:55 UTC) #11
Daniel Erat
https://codereview.chromium.org/13006006/diff/21001/chrome/browser/chromeos/dbus/display_power_service_provider.cc File chrome/browser/chromeos/dbus/display_power_service_provider.cc (right): https://codereview.chromium.org/13006006/diff/21001/chrome/browser/chromeos/dbus/display_power_service_provider.cc#newcode65 chrome/browser/chromeos/dbus/display_power_service_provider.cc:65: state, false, false); On 2013/03/28 20:35:55, oshima wrote: > ...
7 years, 9 months ago (2013-03-28 23:09:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/13006006/33001
7 years, 8 months ago (2013-03-30 17:09:21 UTC) #13
commit-bot: I haz the power
7 years, 8 months ago (2013-03-30 21:22:40 UTC) #14
Message was sent while issue was closed.
Change committed as 191558

Powered by Google App Engine
This is Rietveld 408576698