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

Issue 2923343005: Move printing-related methods from WebFrame to WebLocalFrame. (Closed)

Created:
3 years, 6 months ago by Łukasz Anforowicz
Modified:
3 years, 6 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, dglazkov+blink, extensions-reviews_chromium.org, jam, jochen+watch_chromium.org, kinuko+watch, mlamouri+watch-content_chromium.org, mlamouri+watch-blink_chromium.org, Peter Beverloo, piman+watch_chromium.org, platform-architecture-syd+reviews-web_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move printing-related methods from WebFrame to WebLocalFrame. Most callers already call through WebLocalFrame (sometimes without realizing this, so the CL changes types to WebLocalFrame in a few places). The only exception is in CapturePixelsForPrinting function in content/shell/test_runner/pixel_dump.cc - the CL adds a CHECK to verify that layout tests do not run into a scenario unsupported by the current layout tests harness. Additionally this CL renames PrintPagesWithBoundaries method into PrintPagesForTesting. No intended behavior change. BUG=416660 Review-Url: https://codereview.chromium.org/2923343005 Cr-Commit-Position: refs/heads/master@{#478731} Committed: https://chromium.googlesource.com/chromium/src/+/c76f7eb31474f21e1516a88f6f53487e24833894

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -111 lines) Patch
M components/printing/renderer/print_web_view_helper.h View 3 chunks +2 lines, -3 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M content/shell/test_runner/pixel_dump.cc View 1 5 chunks +16 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 1 2 2 chunks +0 lines, -41 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Łukasz Anforowicz
dcheng@, can you PTAL? https://codereview.chromium.org/2923343005/diff/20001/content/renderer/gpu/gpu_benchmarking_extension.cc File content/renderer/gpu/gpu_benchmarking_extension.cc (right): https://codereview.chromium.org/2923343005/diff/20001/content/renderer/gpu/gpu_benchmarking_extension.cc#newcode12 content/renderer/gpu/gpu_benchmarking_extension.cc:12: #include <vector> Suggested by git ...
3 years, 6 months ago (2017-06-08 21:03:44 UTC) #8
dcheng
lgtm
3 years, 6 months ago (2017-06-09 06:41:58 UTC) #9
Łukasz Anforowicz
+scottbyer@ for //components/printing +nick@ for //content
3 years, 6 months ago (2017-06-09 14:47:10 UTC) #11
ncarter (slow)
lgtm
3 years, 6 months ago (2017-06-09 18:17:09 UTC) #12
Scott Byer
lgtm
3 years, 6 months ago (2017-06-12 16:31:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2923343005/40001
3 years, 6 months ago (2017-06-12 17:59:16 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 19:59:28 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c76f7eb31474f21e1516a88f6f53...

Powered by Google App Engine
This is Rietveld 408576698