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

Issue 9701098: MultiMonitor support (Closed)

Created:
8 years, 9 months ago by oshima
Modified:
8 years, 9 months ago
CC:
chromium-reviews, sadrul, hashimoto+watch_chromium.org, ben+watch_chromium.org, aboxhall+watch_chromium.org, dhollowa+watch_chromium.org, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, tfarina, ctguil+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

* MultiMonitorManager creates and manages mutliple monitor instance * MonitorContrler controls root window <-> monitor mapping and resize/reposition root window to match monitor configuration. * Moved use_fullscreen_host_window to MonitorManager * Moved compositor initialize/terminate to Env as there can be more than one root window. BUG=115510 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127854

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 6

Patch Set 7 : . #

Patch Set 8 : root_window cleanup, demo_main compilation fix #

Patch Set 9 : return primary if null #

Patch Set 10 : fix shutdown order #

Total comments: 18

Patch Set 11 : addressed comments #

Patch Set 12 : demo_main #

Patch Set 13 : clang fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -99 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
A ash/monitor/monitor_controller.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
A ash/monitor/monitor_controller.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +75 lines, -0 lines 0 comments Download
A ash/monitor/multi_monitor_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +57 lines, -0 lines 0 comments Download
A ash/monitor/multi_monitor_manager.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +121 lines, -0 lines 0 comments Download
A ash/monitor/secondary_monitor_view.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +25 lines, -0 lines 0 comments Download
A ash/monitor/secondary_monitor_view.cc View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
M ash/screen_ash.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shell.h View 1 2 6 chunks +4 lines, -5 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/accessibility_event_router_views_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/test/base/browser_with_test_window_test.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -3 lines 0 comments Download
M content/test/test_renderer_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M ui/aura/env.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M ui/aura/monitor_manager.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +29 lines, -8 lines 0 comments Download
M ui/aura/monitor_manager.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +41 lines, -4 lines 0 comments Download
M ui/aura/root_window.h View 1 2 3 4 5 6 4 chunks +5 lines, -16 lines 0 comments Download
M ui/aura/root_window.cc View 1 2 3 4 5 6 6 chunks +14 lines, -13 lines 0 comments Download
M ui/aura/single_monitor_manager.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/aura/single_monitor_manager.cc View 1 2 3 4 chunks +7 lines, -18 lines 0 comments Download
M ui/views/test/views_test_base.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
oshima
8 years, 9 months ago (2012-03-20 00:06:25 UTC) #1
oshima
piman -> compositor initialization change (root window & env) ben -> everything
8 years, 9 months ago (2012-03-20 00:21:35 UTC) #2
piman
http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc File ui/aura/env.cc (right): http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc#newcode44 ui/aura/env.cc:44: void Env::DeleteInstance() { Just to confirm, where is this ...
8 years, 9 months ago (2012-03-20 00:31:37 UTC) #3
oshima
http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc File ui/aura/env.cc (right): http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc#newcode44 ui/aura/env.cc:44: void Env::DeleteInstance() { On 2012/03/20 00:31:37, piman wrote: > ...
8 years, 9 months ago (2012-03-20 02:29:58 UTC) #4
piman
lgtm http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc File ui/aura/env.cc (right): http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc#newcode44 ui/aura/env.cc:44: void Env::DeleteInstance() { On 2012/03/20 02:29:58, oshima wrote: ...
8 years, 9 months ago (2012-03-20 04:45:46 UTC) #5
oshima
http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc File ui/aura/env.cc (right): http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc#newcode44 ui/aura/env.cc:44: void Env::DeleteInstance() { On 2012/03/20 04:45:46, piman wrote: > ...
8 years, 9 months ago (2012-03-20 16:31:13 UTC) #6
piman
On 2012/03/20 16:31:13, oshima wrote: > http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc > File ui/aura/env.cc (right): > > http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc#newcode44 > ...
8 years, 9 months ago (2012-03-20 16:49:33 UTC) #7
piman
On 2012/03/20 16:49:33, piman wrote: > On 2012/03/20 16:31:13, oshima wrote: > > http://codereview.chromium.org/9701098/diff/9012/ui/aura/env.cc > ...
8 years, 9 months ago (2012-03-20 16:50:29 UTC) #8
Ben Goodger (Google)
http://codereview.chromium.org/9701098/diff/20023/ash/monitor/monitor_controller.cc File ash/monitor/monitor_controller.cc (right): http://codereview.chromium.org/9701098/diff/20023/ash/monitor/monitor_controller.cc#newcode53 ash/monitor/monitor_controller.cc:53: root_windows_[monitor]->SetHostBounds(monitor->bounds()); nit: no braces http://codereview.chromium.org/9701098/diff/20023/ash/monitor/monitor_controller.cc#newcode64 ash/monitor/monitor_controller.cc:64: // primary monitor ...
8 years, 9 months ago (2012-03-20 17:09:02 UTC) #9
oshima
new patch uploaded. PTAL http://codereview.chromium.org/9701098/diff/20023/ash/monitor/monitor_controller.cc File ash/monitor/monitor_controller.cc (right): http://codereview.chromium.org/9701098/diff/20023/ash/monitor/monitor_controller.cc#newcode53 ash/monitor/monitor_controller.cc:53: root_windows_[monitor]->SetHostBounds(monitor->bounds()); On 2012/03/20 17:09:02, Ben ...
8 years, 9 months ago (2012-03-20 19:26:36 UTC) #10
Ben Goodger (Google)
lgtm
8 years, 9 months ago (2012-03-20 21:30:06 UTC) #11
oshima
On 2012/03/20 21:30:06, Ben Goodger (Google) wrote: > lgtm TestLoginAfterRepost is failing on other try ...
8 years, 9 months ago (2012-03-20 22:44:22 UTC) #12
oshima
8 years, 9 months ago (2012-03-20 22:44:22 UTC) #13
On 2012/03/20 21:30:06, Ben Goodger (Google) wrote:
> lgtm

TestLoginAfterRepost is failing on other try jobs too. Other two seems to be
flake (Tested locally).

Powered by Google App Engine
This is Rietveld 408576698