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

Issue 1844233004: Moving pixel-capturing code from web_test_proxy_base.* into pixel_dump.* (Closed)

Created:
4 years, 8 months ago by Łukasz Anforowicz
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@replicate-accept-languages
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving 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... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -238 lines) Patch
M components/test_runner/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M components/test_runner/layout_dump.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/test_runner/layout_test_runtime_flags.h View 1 chunk +7 lines, -0 lines 0 comments Download
M components/test_runner/layout_test_runtime_flags.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A components/test_runner/pixel_dump.h View 1 chunk +40 lines, -0 lines 0 comments Download
A components/test_runner/pixel_dump.cc View 1 chunk +203 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.h View 7 chunks +11 lines, -13 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 10 chunks +46 lines, -19 lines 0 comments Download
M components/test_runner/test_runner.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 1 chunk +1 line, -3 lines 0 comments Download
M components/test_runner/web_test_proxy.h View 5 chunks +1 line, -16 lines 0 comments Download
M components/test_runner/web_test_proxy.cc View 5 chunks +2 lines, -178 lines 0 comments Download
M components/test_runner/web_test_runner.h View 3 chunks +12 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 3 chunks +7 lines, -7 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
Łukasz Anforowicz
jochen@, I plan to TBR this CL (it is the same as https://codereview.chromium.org/1835673002).
4 years, 8 months ago (2016-03-31 18:59:01 UTC) #3
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-01 08:43:35 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844233004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844233004/20001
4 years, 8 months ago (2016-04-04 14:21:49 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 15:25:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844233004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844233004/20001
4 years, 8 months ago (2016-04-04 16:14:08 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-04 16:19:29 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 16:21:06 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1b546c1600f9daea517c16b29cddffe515936822
Cr-Commit-Position: refs/heads/master@{#384921}

Powered by Google App Engine
This is Rietveld 408576698