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

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

Created:
4 years, 9 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, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@replicating-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 Committed: https://crrev.com/bc3216c1723d16c05d88e26e72727a53bbc0c50b Cr-Commit-Position: refs/heads/master@{#384109}

Patch Set 1 #

Patch Set 2 : Unconditionally setting the drag image on TestRunner. #

Patch Set 3 : Rebasing... #

Patch Set 4 : 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 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/test_runner/layout_test_runtime_flags.cc View 1 2 3 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 1 2 3 7 chunks +11 lines, -13 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 3 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 1 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 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 17 (8 generated)
Łukasz Anforowicz
jochen@, could you please take a look?
4 years, 9 months ago (2016-03-26 00:18:16 UTC) #2
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-03-30 16:24:33 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835673002/40001
4 years, 8 months ago (2016-03-30 18:04:34 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/11102) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-03-30 18:08:03 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835673002/60001
4 years, 8 months ago (2016-03-30 20:15:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835673002/60001
4 years, 8 months ago (2016-03-30 22:02:18 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-30 22:07:55 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/bc3216c1723d16c05d88e26e72727a53bbc0c50b Cr-Commit-Position: refs/heads/master@{#384109}
4 years, 8 months ago (2016-03-30 22:09:04 UTC) #16
Łukasz Anforowicz
4 years, 8 months ago (2016-03-31 14:05:11 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1842353002/ by lukasza@chromium.org.

The reason for reverting is: Prevents clean reverting of an earlier CL
(https://codereview.chromium.org/1821923003/) tht cause use after free related
to color chooser..

Powered by Google App Engine
This is Rietveld 408576698