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

Issue 15730006: Use the source display's pixel size as a mirror window's size. (Closed)

Created:
7 years, 7 months ago by oshima
Modified:
7 years, 6 months ago
Reviewers:
James Cook, Jun Mukai
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Use the source display's pixel (host) size as a mirror window's size so that we can copy texture as is. - store gfx::Display object for mirrored display instead of just id because we need one for mirror root window. - use host window's coordinate for mirror cursor window. BUG=239776 TEST=covered by unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202985

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 17

Patch Set 5 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+550 lines, -709 lines) Patch
M ash/ash.gyp View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
D ash/ash_root_window_transformer.h View 1 chunk +0 lines, -65 lines 0 comments Download
D ash/ash_root_window_transformer.cc View 1 chunk +0 lines, -176 lines 0 comments Download
D ash/ash_root_window_transformer_unittest.cc View 1 chunk +0 lines, -398 lines 0 comments Download
M ash/display/display_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_controller.cc View 4 chunks +7 lines, -4 lines 0 comments Download
M ash/display/display_manager.h View 2 chunks +5 lines, -1 line 0 comments Download
M ash/display/display_manager.cc View 1 2 3 4 12 chunks +30 lines, -5 lines 0 comments Download
M ash/display/display_manager_unittest.cc View 1 2 3 4 11 chunks +43 lines, -11 lines 0 comments Download
M ash/display/mirror_window_controller.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M ash/display/mirror_window_controller.cc View 1 2 6 chunks +84 lines, -35 lines 0 comments Download
M ash/display/mirror_window_controller_unittest.cc View 1 2 3 3 chunks +49 lines, -3 lines 0 comments Download
A ash/display/root_window_transformers.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A ash/display/root_window_transformers.cc View 1 2 3 4 1 chunk +276 lines, -0 lines 0 comments Download
A + ash/display/root_window_transformers_unittest.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ash/magnifier/magnification_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/chromeos/tray_display.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
oshima
7 years, 6 months ago (2013-05-28 22:22:42 UTC) #1
oshima
uploaded new CL. This now handles the mirror cursor's location for rotation/ui scaling correctly.
7 years, 6 months ago (2013-05-29 01:50:00 UTC) #2
Jun Mukai
lgtm https://codereview.chromium.org/15730006/diff/26001/ash/display/root_window_transformers.cc File ash/display/root_window_transformers.cc (right): https://codereview.chromium.org/15730006/diff/26001/ash/display/root_window_transformers.cc#newcode232 ash/display/root_window_transformers.cc:232: transform_ = CreateInsetsAndScaleTransform( Do you need this function? ...
7 years, 6 months ago (2013-05-29 02:08:32 UTC) #3
oshima
jamescook -> ash owners https://codereview.chromium.org/15730006/diff/26001/ash/display/root_window_transformers.cc File ash/display/root_window_transformers.cc (right): https://codereview.chromium.org/15730006/diff/26001/ash/display/root_window_transformers.cc#newcode232 ash/display/root_window_transformers.cc:232: transform_ = CreateInsetsAndScaleTransform( On 2013/05/29 ...
7 years, 6 months ago (2013-05-29 03:41:02 UTC) #4
James Cook
LGTM assuming comments addressed (mostly nits) https://codereview.chromium.org/15730006/diff/34001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/15730006/diff/34001/ash/display/display_manager.cc#newcode443 ash/display/display_manager.cc:443: // works while ...
7 years, 6 months ago (2013-05-29 12:22:43 UTC) #5
oshima
https://codereview.chromium.org/15730006/diff/34001/ash/display/display_manager.cc File ash/display/display_manager.cc (right): https://codereview.chromium.org/15730006/diff/34001/ash/display/display_manager.cc#newcode443 ash/display/display_manager.cc:443: // works while mirrored. On 2013/05/29 12:22:43, James Cook ...
7 years, 6 months ago (2013-05-29 15:39:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/15730006/42001
7 years, 6 months ago (2013-05-29 15:40:54 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 21:51:58 UTC) #8
Message was sent while issue was closed.
Change committed as 202985

Powered by Google App Engine
This is Rietveld 408576698