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

Issue 657583003: Chrome OS: Ash support for >=3 displays. (Closed)

Created:
6 years, 2 months ago by hshi1
Modified:
6 years ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chrome OS: Ash support for >=3 displays. As the first step, for >=3 displays we always use horizontal layout and disallow mirroring. This would allow basic multi-display functionality. BUG=422161 TEST=trybot Committed: https://crrev.com/5aeca9582437a4baed70b1a6cf707e654cb3517b Cr-Commit-Position: refs/heads/master@{#307154}

Patch Set 1 #

Patch Set 2 : Fix duplicate CRTCs under 3-monitor config. #

Patch Set 3 : Use horizontal layout for >=3 displays. #

Patch Set 4 : Allow >=3 display case for GetCurrentDisplayIdPair. #

Patch Set 5 : Extend DragWindowResizer to support >=3 displays. #

Patch Set 6 : Fix Ash DragWindowResizer unittest. #

Patch Set 7 : Rebased at 304051. #

Patch Set 8 : Rebased at 306637. #

Total comments: 12

Patch Set 9 : Add unit test for 3 displays. Fix nits. #

Total comments: 4

Patch Set 10 : More nits. #

Patch Set 11 : Fix a DCHECK in GetCurrentDisplayLayout #

Patch Set 12 : Dual-display modes should not require 2 displays to be on. #

Patch Set 13 : rebase again to resolve conflicts at TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -92 lines) Patch
M ash/display/display_manager.h View 1 2 3 4 5 6 1 chunk +9 lines, -7 lines 0 comments Download
M ash/display/display_manager.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +48 lines, -23 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
M ash/wm/drag_window_resizer.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/drag_window_resizer.cc View 1 2 3 4 5 6 7 8 5 chunks +57 lines, -42 lines 0 comments Download
M ash/wm/drag_window_resizer_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -5 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +15 lines, -7 lines 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M ui/display/chromeos/x11/native_display_delegate_x11.cc View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
M ui/display/types/display_constants.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
hshi1
Per our discussion we can land this even though the multi-display support work in ozone/freon ...
6 years ago (2014-12-04 23:29:02 UTC) #3
oshima
can you add unit test for 3 displays case? https://codereview.chromium.org/657583003/diff/160001/ash/wm/drag_window_resizer.cc File ash/wm/drag_window_resizer.cc (right): https://codereview.chromium.org/657583003/diff/160001/ash/wm/drag_window_resizer.cc#newcode41 ash/wm/drag_window_resizer.cc:41: ...
6 years ago (2014-12-05 22:18:15 UTC) #4
hshi1
https://codereview.chromium.org/657583003/diff/160001/ash/wm/drag_window_resizer.cc File ash/wm/drag_window_resizer.cc (right): https://codereview.chromium.org/657583003/diff/160001/ash/wm/drag_window_resizer.cc#newcode41 ash/wm/drag_window_resizer.cc:41: std::vector<aura::Window*> other_root_windows; On 2014/12/05 22:18:15, oshima wrote: > any ...
6 years ago (2014-12-05 23:25:13 UTC) #5
oshima
lgtm https://codereview.chromium.org/657583003/diff/180001/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/657583003/diff/180001/ui/display/chromeos/display_configurator.cc#newcode993 ui/display/chromeos/display_configurator.cc:993: default: { nit: just "default:" https://codereview.chromium.org/657583003/diff/180001/ui/display/chromeos/display_configurator.cc#newcode1012 ui/display/chromeos/display_configurator.cc:1012: } ...
6 years ago (2014-12-05 23:29:56 UTC) #6
hshi1
https://codereview.chromium.org/657583003/diff/180001/ui/display/chromeos/display_configurator.cc File ui/display/chromeos/display_configurator.cc (right): https://codereview.chromium.org/657583003/diff/180001/ui/display/chromeos/display_configurator.cc#newcode993 ui/display/chromeos/display_configurator.cc:993: default: { On 2014/12/05 23:29:56, oshima wrote: > nit: ...
6 years ago (2014-12-05 23:35:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657583003/200001
6 years ago (2014-12-05 23:35:54 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/5179)
6 years ago (2014-12-06 00:28:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657583003/220001
6 years ago (2014-12-06 00:45:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/5201)
6 years ago (2014-12-06 01:40:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657583003/240001
6 years ago (2014-12-06 01:46:46 UTC) #17
commit-bot: I haz the power
Failed to apply patch for ash/display/screen_ash.cc: While running git apply --index -3 -p1; error: patch ...
6 years ago (2014-12-06 03:04:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657583003/260001
6 years ago (2014-12-06 03:09:37 UTC) #22
commit-bot: I haz the power
Committed patchset #13 (id:260001)
6 years ago (2014-12-06 03:55:14 UTC) #23
commit-bot: I haz the power
6 years ago (2014-12-06 03:56:00 UTC) #24
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/5aeca9582437a4baed70b1a6cf707e654cb3517b
Cr-Commit-Position: refs/heads/master@{#307154}

Powered by Google App Engine
This is Rietveld 408576698