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

Issue 24081004: chromeos: Fix display failures when going to mirrored mode. (Closed)

Created:
7 years, 3 months ago by Daniel Erat
Modified:
7 years, 3 months ago
Reviewers:
oshima, ynovikov
CC:
chromium-reviews, stevenjb+watch_chromium.org, sabercrombie1, Jun Mukai, marcheu
Visibility:
Public.

Description

chromeos: Fix display failures when going to mirrored mode. This fixes an issue where mirrored mode configuration would fail when the internal and external displays didn't share a common resolution. A new mode would be created on the internal display, but it wasn't added to the corresponding OutputSnapshot struct, resulting in a later failure. It also moves the mirror-mode-finding code from RealOutputConfiguratorDelegate to OutputConfigurator so it can be tested. BUG=289159 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223642

Patch Set 1 #

Patch Set 2 : uploading yet again #

Total comments: 5

Patch Set 3 : apply oshima's review feedback #

Patch Set 4 : fix DisplayChangeObserverTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -401 lines) Patch
M ash/display/display_change_observer_chromeos_unittest.cc View 1 2 3 1 chunk +12 lines, -12 lines 0 comments Download
M chromeos/display/output_configurator.h View 1 2 7 chunks +44 lines, -9 lines 0 comments Download
M chromeos/display/output_configurator.cc View 1 2 8 chunks +175 lines, -13 lines 0 comments Download
M chromeos/display/output_configurator_unittest.cc View 10 chunks +146 lines, -31 lines 0 comments Download
M chromeos/display/output_util.cc View 2 chunks +0 lines, -48 lines 0 comments Download
M chromeos/display/output_util_unittest.cc View 1 chunk +0 lines, -88 lines 0 comments Download
M chromeos/display/real_output_configurator_delegate.h View 1 2 5 chunks +4 lines, -28 lines 0 comments Download
M chromeos/display/real_output_configurator_delegate.cc View 1 2 6 chunks +34 lines, -172 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Daniel Erat
7 years, 3 months ago (2013-09-16 23:25:53 UTC) #1
oshima
lgtm with nits. +yuly to double check panel fitting code. https://codereview.chromium.org/24081004/diff/8001/chromeos/display/output_configurator.h File chromeos/display/output_configurator.h (right): https://codereview.chromium.org/24081004/diff/8001/chromeos/display/output_configurator.h#newcode373 ...
7 years, 3 months ago (2013-09-17 15:22:13 UTC) #2
Daniel Erat
https://codereview.chromium.org/24081004/diff/8001/chromeos/display/output_configurator.cc File chromeos/display/output_configurator.cc (right): https://codereview.chromium.org/24081004/diff/8001/chromeos/display/output_configurator.cc#newcode574 chromeos/display/output_configurator.cc:574: internal_output->mode_infos.insert(std::make_pair(mode, external_info)); (Side note: Apart from this line, which ...
7 years, 3 months ago (2013-09-17 15:53:27 UTC) #3
ynovikov
lgtm
7 years, 3 months ago (2013-09-17 16:01:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/24081004/19001
7 years, 3 months ago (2013-09-17 16:02:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/24081004/41001
7 years, 3 months ago (2013-09-17 16:16:42 UTC) #6
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 18:30:37 UTC) #7
Message was sent while issue was closed.
Change committed as 223642

Powered by Google App Engine
This is Rietveld 408576698