Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(9)

Issue 1196223008: ViewPainter should skip background in print economy mode (Closed)

Created:
4 years, 10 months ago by trchen
Modified:
4 years, 10 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ViewPainter should skip background in print economy mode The logic is applied in BoxPainter::paintFillLayerExtended() but the ViewPainter does special treatment for base background color we should apply the same logic there. BUG=501303 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197782

Patch Set 1 #

Total comments: 2

Patch Set 2 : dedupe #

Patch Set 3 : s/PaintEconomy/PrintEconomy/ #

Patch Set 4 : fix unittests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -15 lines) Patch
A LayoutTests/printing/print-no-background.html View 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/printing/print-no-background-expected.html View 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/paint/BoxPainter.h View 1 2 1 chunk +1 line, -0 lines 1 comment Download
M Source/core/paint/BoxPainter.cpp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/paint/TextPainter.cpp View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M Source/core/paint/TextPainterTest.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/paint/ViewPainter.cpp View 1 2 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 30 (10 generated)
trchen
4 years, 10 months ago (2015-06-23 04:44:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196223008/1
4 years, 10 months ago (2015-06-23 04:45:08 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-23 05:39:57 UTC) #6
chrishtr
https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp File Source/core/paint/ViewPainter.cpp (right): https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp#newcode67 Source/core/paint/ViewPainter.cpp:67: if (document.printing() && m_layoutView.style()->printColorAdjust() == PrintColorAdjustEconomy Where did this ...
4 years, 10 months ago (2015-06-23 17:42:58 UTC) #7
chrishtr
https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp File Source/core/paint/ViewPainter.cpp (right): https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp#newcode67 Source/core/paint/ViewPainter.cpp:67: if (document.printing() && m_layoutView.style()->printColorAdjust() == PrintColorAdjustEconomy Where did this ...
4 years, 10 months ago (2015-06-23 17:42:58 UTC) #8
trchen
https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp File Source/core/paint/ViewPainter.cpp (right): https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp#newcode67 Source/core/paint/ViewPainter.cpp:67: if (document.printing() && m_layoutView.style()->printColorAdjust() == PrintColorAdjustEconomy On 2015/06/23 17:42:57, ...
4 years, 10 months ago (2015-06-23 20:40:16 UTC) #9
chrishtr
On 2015/06/23 at 20:40:16, trchen wrote: > https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp > File Source/core/paint/ViewPainter.cpp (right): > > https://codereview.chromium.org/1196223008/diff/1/Source/core/paint/ViewPainter.cpp#newcode67 ...
4 years, 10 months ago (2015-06-23 21:40:51 UTC) #10
trchen
On 2015/06/23 21:40:51, chrishtr wrote: > On 2015/06/23 at 20:40:16, trchen wrote: > > > ...
4 years, 10 months ago (2015-06-23 21:44:08 UTC) #11
chrishtr
On 2015/06/23 at 21:44:08, trchen wrote: > On 2015/06/23 21:40:51, chrishtr wrote: > > On ...
4 years, 10 months ago (2015-06-23 21:51:08 UTC) #12
trchen
On 2015/06/23 21:51:08, chrishtr wrote: > On 2015/06/23 at 21:44:08, trchen wrote: > > On ...
4 years, 10 months ago (2015-06-23 22:13:45 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196223008/20001
4 years, 10 months ago (2015-06-23 22:14:02 UTC) #15
trchen
On 2015/06/23 22:13:45, trchen wrote: > On 2015/06/23 21:51:08, chrishtr wrote: > > On 2015/06/23 ...
4 years, 10 months ago (2015-06-23 22:14:46 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196223008/60001
4 years, 10 months ago (2015-06-23 23:54:36 UTC) #19
commit-bot: I haz the power
Dry run: Exceeded global retry quota
4 years, 10 months ago (2015-06-24 00:12:04 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196223008/80001
4 years, 10 months ago (2015-06-24 00:25:20 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-24 01:16:07 UTC) #25
trchen
On 2015/06/24 01:16:07, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 10 months ago (2015-06-24 22:10:31 UTC) #26
chrishtr
lgtm https://codereview.chromium.org/1196223008/diff/80001/Source/core/paint/BoxPainter.h File Source/core/paint/BoxPainter.h (right): https://codereview.chromium.org/1196223008/diff/80001/Source/core/paint/BoxPainter.h#newcode46 Source/core/paint/BoxPainter.h:46: static bool shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle&, const Document&); Add a ...
4 years, 10 months ago (2015-06-24 22:13:21 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196223008/80001
4 years, 10 months ago (2015-06-24 22:13:56 UTC) #29
commit-bot: I haz the power
4 years, 10 months ago (2015-06-24 22:17:58 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197782

Powered by Google App Engine
This is Rietveld 408576698