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

Issue 2417683002: Disable scroll anchoring when in printing mode (Closed)

Created:
4 years, 2 months ago by ymalik
Modified:
4 years, 2 months ago
Reviewers:
Lei Zhang, nainar, skobes
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable scroll anchoring when in printing mode BUG=651020 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/32628627dac02e25eb29924fa9b39b399d694547 Cr-Commit-Position: refs/heads/master@{#425756}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Remove wasPrinting and make m_printing an enum #

Total comments: 1

Patch Set 3 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -17 lines) Patch
M components/printing/renderer/print_web_view_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp View 2 chunks +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/TextPainterTest.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
ymalik
https://codereview.chromium.org/2417683002/diff/1/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/2417683002/diff/1/components/printing/renderer/print_web_view_helper.cc#newcode810 components/printing/renderer/print_web_view_helper.cc:810: frame->printEnd(); This is needed because RestoreSize would trigger layout ...
4 years, 2 months ago (2016-10-12 22:21:01 UTC) #4
skobes
https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode1069 third_party/WebKit/Source/core/frame/FrameView.h:1069: // from blink::Document because it's reset before the set ...
4 years, 2 months ago (2016-10-12 22:40:31 UTC) #5
ymalik
https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode1069 third_party/WebKit/Source/core/frame/FrameView.h:1069: // from blink::Document because it's reset before the set ...
4 years, 2 months ago (2016-10-13 13:48:04 UTC) #6
skobes
https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode1069 third_party/WebKit/Source/core/frame/FrameView.h:1069: // from blink::Document because it's reset before the set ...
4 years, 2 months ago (2016-10-13 16:24:00 UTC) #7
ymalik
@skobes, PTAL :) https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2417683002/diff/1/third_party/WebKit/Source/core/frame/FrameView.h#newcode1069 third_party/WebKit/Source/core/frame/FrameView.h:1069: // from blink::Document because it's reset ...
4 years, 2 months ago (2016-10-14 16:30:56 UTC) #8
skobes
Thanks, this looks much better. LGTM w/ nit https://codereview.chromium.org/2417683002/diff/20001/third_party/WebKit/Source/core/dom/Document.h File third_party/WebKit/Source/core/dom/Document.h (right): https://codereview.chromium.org/2417683002/diff/20001/third_party/WebKit/Source/core/dom/Document.h#newcode631 third_party/WebKit/Source/core/dom/Document.h:631: enum ...
4 years, 2 months ago (2016-10-14 16:36:24 UTC) #9
ymalik
+thestig for print_web_view_helper.cc
4 years, 2 months ago (2016-10-14 16:51:04 UTC) #11
ymalik
4 years, 2 months ago (2016-10-14 16:51:33 UTC) #13
Lei Zhang
+nainar who looked at some elements of Blink + printing recently.
4 years, 2 months ago (2016-10-14 18:17:30 UTC) #15
nainar
the third_party/WebKit changes lgtm. the change to print_web_view_helper.cc lgtm too, only ever been in that ...
4 years, 2 months ago (2016-10-17 16:26:04 UTC) #16
Lei Zhang
lgtm
4 years, 2 months ago (2016-10-17 17:32:58 UTC) #17
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/2417683002/40001
4 years, 2 months ago (2016-10-17 18:13:03 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-17 19:51:21 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 19:54:51 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/32628627dac02e25eb29924fa9b39b399d694547
Cr-Commit-Position: refs/heads/master@{#425756}

Powered by Google App Engine
This is Rietveld 408576698