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

Issue 559213002: Force calling PostDisplayConfigurationChange() even if earyling out in UpdateDisplays (Closed)

Created:
6 years, 3 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 3 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Force calling PostDisplayConfigurationChange() even if earyling out in UpdateDisplays When changing from software mirroring mode to sinlge display mode, it is possible there is no need to update |displays_| and we early out UpdateDisplays(). But we still want to run the PostDisplayConfigurationChange() cause there are some clients need to act on this, e.g. TouchTransformerController needs to adjust the TouchTransformer when switching from dual displays to single display. BUG=chrome-os-partner:31868 TEST=tested on Big, after existing software mirroring mode, the touch location transformation is still correct. Committed: https://crrev.com/4802a8552a40e1f80606ca7171dc2f79930e7fb3 Cr-Commit-Position: refs/heads/master@{#294481}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 3

Patch Set 3 : pair PreDisplayConfigurationChange with PostDisplayConfigurationChange #

Patch Set 4 : fix unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -8 lines) Patch
M ash/display/display_controller_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/display/display_manager.cc View 1 2 2 chunks +16 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
Yufeng Shen (Slow to review)
6 years, 3 months ago (2014-09-10 20:11:05 UTC) #2
oshima
lgtm We probably should have used scoped object patter to make sure PostDisplayConfigurationChange gets called, ...
6 years, 3 months ago (2014-09-10 22:17:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/559213002/20001
6 years, 3 months ago (2014-09-10 22:20:58 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/12985)
6 years, 3 months ago (2014-09-11 00:23:53 UTC) #7
Yufeng Shen (Slow to review)
https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc#newcode898 ash/display/display_manager.cc:898: if (delegate_) hmmm, DisplayControllerTest catches this that we must ...
6 years, 3 months ago (2014-09-11 16:24:02 UTC) #8
oshima
https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc#newcode898 ash/display/display_manager.cc:898: if (delegate_) On 2014/09/11 16:24:02, Yufeng Shen wrote: > ...
6 years, 3 months ago (2014-09-11 17:19:09 UTC) #9
Yufeng Shen (Slow to review)
https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/559213002/diff/20001/ash/display/display_manager.cc#newcode898 ash/display/display_manager.cc:898: if (delegate_) On 2014/09/11 17:19:08, oshima wrote: > On ...
6 years, 3 months ago (2014-09-11 18:25:49 UTC) #10
oshima
lgtm
6 years, 3 months ago (2014-09-11 18:30:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/559213002/60001
6 years, 3 months ago (2014-09-11 20:07:39 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 60f655f6c8df2c5b8d902563a1a42b535854048e
6 years, 3 months ago (2014-09-11 22:43:44 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4802a8552a40e1f80606ca7171dc2f79930e7fb3 Cr-Commit-Position: refs/heads/master@{#294481}
6 years, 3 months ago (2014-09-11 22:57:56 UTC) #15
engedy
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/569553002/ by engedy@chromium.org. ...
6 years, 3 months ago (2014-09-12 09:06:53 UTC) #16
Alexander Potapenko
I've filed http://crbug.com/413583 for ASan reports in the same test.
6 years, 3 months ago (2014-09-12 10:05:24 UTC) #17
Yufeng Shen (Slow to review)
6 years, 3 months ago (2014-09-15 20:23:13 UTC) #18
Message was sent while issue was closed.
On 2014/09/12 10:05:24, Alexander Potapenko wrote:
> I've filed http://crbug.com/413583 for ASan reports in the same test.

The crashing test was removed here
https://codereview.chromium.org/569323002/


I am going to reland this CL.

Powered by Google App Engine
This is Rietveld 408576698