Chromium Code Reviews
DescriptionMoving pixel-capturing code from web_test_proxy_base.* into pixel_dump.*
This CL:
- Moves pixel-capturing code from web_test_proxy_base.* into newly
created pixel_dump.cc and pixel_dump.h. This helps clean-up
WebTestProxyBase in preparation for extracting
view/frame/widget-specific code to separate classes.
- Moves |drag_image_| fields from WebTestProxyBase into TestRunner.
This also helps clean-up WebTestProxyBase in preparation for
extracting view/frame/widget-specific code to separate classes.
- Moves |dump_selection_rect| and |dump_drag_image| from TestRunner
into LayoutTestRuntimeFlags. This makes sure these flags are
replicated across renderers as needed. This also means that accessors
for these flags no longer need to be exposed by TestRunner.
- Simplifies how WebTestDelegate communicates devices scaling factor
(used when positioning a pop-up for pixel dump). This helps
avoid adding a WebTestDelegate dependency to pixel_dump.h/.cc.
BUG=587175, 595089
TBR=jochen@chromium.org
Committed: https://crrev.com/1b546c1600f9daea517c16b29cddffe515936822
Cr-Commit-Position: refs/heads/master@{#384921}
Patch Set 1 : Original patch from the reverted https://crrev.com/1835673002 #Patch Set 2 : Rebasing... #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 14 (7 generated)
|