DescriptionFix set_area sizes for RequestCopyOfOutput, and related tests.
NOTE: This is a revival/continuation of https://codereview.chromium.org/333723004, which was started by another developer.
The cc:CopyOutputRequest object assumes the src_subrect region is
in DIP space. Thus, all calling code should provide the same.
Fixed tests in render_widget_host_view_browsertest.cc that were
completing successfully, even though the implementation was broken
for the high DPI scenarios.
In addition, I updated a number of interface comments to clarify the
difference between src_subrect being in DIP coordinates versus the
dest_size being in physical pixel coordinates.
Dependent on: https://codereview.chromium.org/311253004 (landed at r276139)
BUG=397708, 399349
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289509
Patch Set 1 #Patch Set 2 : Fixed RWHVBrowserTests, fixed snapshot_android, clarifying header comments. #
Total comments: 10
Patch Set 3 : RWHVBrowserTest changes, per danakj's comments. Disabled tests on Windows. #
Total comments: 5
Patch Set 4 : RWHVBrowserTest nits fixed, plus REBASE. #Patch Set 5 : Undo Android changes, since Android layer space == physical pixels. #Patch Set 6 : Put back early exit for bots that refuse the forced device scale factor. #Patch Set 7 : Remove 'middle 3 columns' exception, per sky@. #
Messages
Total messages: 17 (0 generated)
|