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

Issue 1133323002: Close mirroring window only when necessary (Closed)

Created:
5 years, 7 months ago by oshima
Modified:
5 years, 7 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Close mirroring window only when necessary always recreating was causing extra XRANR event on X11 system. Delete WindowTreeHost asynchronously when the change can be made via input event. BUG=484580, 486190 TEST=tested manually. no flicker. Committed: https://crrev.com/16bc5f811ed1a927730e24d3fc73ac956face8fe Cr-Commit-Position: refs/heads/master@{#329761}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -23 lines) Patch
M ash/display/display_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/display/display_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/display/display_manager.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M ash/display/mirror_window_controller.h View 4 chunks +12 lines, -3 lines 0 comments Download
M ash/display/mirror_window_controller.cc View 1 5 chunks +30 lines, -9 lines 0 comments Download
M ash/shell.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
oshima
5 years, 7 months ago (2015-05-12 23:40:44 UTC) #7
Jun Mukai
a few nits https://codereview.chromium.org/1133323002/diff/100001/ash/display/mirror_window_controller.cc File ash/display/mirror_window_controller.cc (right): https://codereview.chromium.org/1133323002/diff/100001/ash/display/mirror_window_controller.cc#newcode293 ash/display/mirror_window_controller.cc:293: multi_display_mode_ = DisplayManager::EXTENDED; Can you remove ...
5 years, 7 months ago (2015-05-13 17:43:12 UTC) #8
oshima
https://codereview.chromium.org/1133323002/diff/100001/ash/display/mirror_window_controller.cc File ash/display/mirror_window_controller.cc (right): https://codereview.chromium.org/1133323002/diff/100001/ash/display/mirror_window_controller.cc#newcode293 ash/display/mirror_window_controller.cc:293: multi_display_mode_ = DisplayManager::EXTENDED; On 2015/05/13 17:43:12, Jun Mukai wrote: ...
5 years, 7 months ago (2015-05-13 23:04:25 UTC) #9
Jun Mukai
lgtm
5 years, 7 months ago (2015-05-13 23:22:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1133323002/120001
5 years, 7 months ago (2015-05-13 23:32:38 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:120001)
5 years, 7 months ago (2015-05-14 00:25:52 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 00:26:46 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/16bc5f811ed1a927730e24d3fc73ac956face8fe
Cr-Commit-Position: refs/heads/master@{#329761}

Powered by Google App Engine
This is Rietveld 408576698