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

Issue 6673035: Move Start/EndPage() from NewPage/PageDone() to inside the metafile. (Closed)

Created:
9 years, 9 months ago by dpapad
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Move Start/EndPage() from NewPage/PageDone() to inside the metafile. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78399

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added StartPage/FinishPage (metafile functions) calls in print_web_view_helper_win.cc #

Total comments: 4

Patch Set 3 : Minor style changes #

Patch Set 4 : Windows fix after rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M chrome/renderer/print_web_view_helper_win.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M printing/printing_context_win.cc View 1 2 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dpapad
Changed RenderPrintedPage return type to bool. Removed StartPage/EndPage (windows calls) from NewPage/PageDone. Added StartPage/EndPage within ...
9 years, 9 months ago (2011-03-15 16:07:36 UTC) #1
vandebo (ex-Chrome)
http://codereview.chromium.org/6673035/diff/1/printing/printed_document_win.cc File printing/printed_document_win.cc (right): http://codereview.chromium.org/6673035/diff/1/printing/printed_document_win.cc#newcode100 printing/printed_document_win.cc:100: if (StartPage(context) <= 0) We wanted to move this ...
9 years, 9 months ago (2011-03-15 17:23:05 UTC) #2
dpapad
http://codereview.chromium.org/6673035/diff/1/printing/printed_document_win.cc File printing/printed_document_win.cc (right): http://codereview.chromium.org/6673035/diff/1/printing/printed_document_win.cc#newcode100 printing/printed_document_win.cc:100: if (StartPage(context) <= 0) On 2011/03/15 17:23:06, vandebo wrote: ...
9 years, 9 months ago (2011-03-15 20:32:31 UTC) #3
vandebo (ex-Chrome)
A better CL description might be: Move Start/EndPage() from NewPage/PageDone() to inside the metafile. http://codereview.chromium.org/6673035/diff/4001/chrome/renderer/print_web_view_helper_win.cc ...
9 years, 9 months ago (2011-03-15 20:41:39 UTC) #4
dpapad
http://codereview.chromium.org/6673035/diff/4001/chrome/renderer/print_web_view_helper_win.cc File chrome/renderer/print_web_view_helper_win.cc (right): http://codereview.chromium.org/6673035/diff/4001/chrome/renderer/print_web_view_helper_win.cc#newcode211 chrome/renderer/print_web_view_helper_win.cc:211: DCHECK((*metafile)->StartPage()); On 2011/03/15 20:41:39, vandebo wrote: > Better to ...
9 years, 9 months ago (2011-03-15 20:56:44 UTC) #5
vandebo (ex-Chrome)
9 years, 9 months ago (2011-03-15 22:50:29 UTC) #6
LGTM if your try jobs are green.

Powered by Google App Engine
This is Rietveld 408576698