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

Issue 8201027: Move margin processing code to the browser process. (Closed)

Created:
9 years, 2 months ago by vandebo (ex-Chrome)
Modified:
9 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Move margin processing code to the browser process. It seems that this is where it is supposed to live and it was erroneously added to PrintWebViewHelper. BUG=67091, 92045, 91880, 92000, 92218, 95905 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105688

Patch Set 1 #

Total comments: 13

Patch Set 2 : Adress comments, rebase, and tweak #

Patch Set 3 : Rebase #

Patch Set 4 : Fix bad merge #

Total comments: 1

Patch Set 5 : Fix tests #

Patch Set 6 : Fix issue that turned up on Windows #

Total comments: 11

Patch Set 7 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -206 lines) Patch
M chrome/browser/printing/print_dialog_gtk.h View 1 4 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/printing/print_dialog_gtk.cc View 1 2 5 chunks +18 lines, -15 lines 0 comments Download
M chrome/browser/printing/print_job_worker.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/printing/print_job_worker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/printer_query.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/printing/printer_query.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/printing/printing_message_filter.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/print_messages.h View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 1 2 3 4 8 chunks +38 lines, -100 lines 0 comments Download
M printing/page_setup.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M printing/page_setup.cc View 1 2 3 4 5 3 chunks +47 lines, -36 lines 0 comments Download
M printing/print_dialog_gtk_interface.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M printing/print_settings.h View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M printing/print_settings.cc View 1 2 3 4 5 3 chunks +51 lines, -17 lines 0 comments Download
M printing/printing_context.h View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M printing/printing_context.cc View 1 2 3 4 5 6 3 chunks +52 lines, -0 lines 0 comments Download
M printing/printing_context_cairo.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_win.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
vandebo (ex-Chrome)
I need to verify this work on Mac, Windows and Linux native flow still, but ...
9 years, 2 months ago (2011-10-08 01:27:24 UTC) #1
Lei Zhang
http://codereview.chromium.org/8201027/diff/1/chrome/browser/printing/print_dialog_gtk.h File chrome/browser/printing/print_dialog_gtk.h (right): http://codereview.chromium.org/8201027/diff/1/chrome/browser/printing/print_dialog_gtk.h#newcode70 chrome/browser/printing/print_dialog_gtk.h:70: // set of |page_ranges|. nit: update comment? http://codereview.chromium.org/8201027/diff/1/printing/print_dialog_gtk_interface.h File ...
9 years, 2 months ago (2011-10-08 02:02:04 UTC) #2
vandebo (ex-Chrome)
All the deps are in and this is now tested on all platforms. http://codereview.chromium.org/8201027/diff/1/chrome/browser/printing/print_dialog_gtk.h File ...
9 years, 2 months ago (2011-10-15 00:42:50 UTC) #3
Lei Zhang
LGTM with a bunch of nits http://codereview.chromium.org/8201027/diff/21001/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/8201027/diff/21001/chrome/renderer/print_web_view_helper.cc#newcode156 chrome/renderer/print_web_view_helper.cc:156: // TODO(vandebo) When ...
9 years, 2 months ago (2011-10-15 03:42:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/8201027/25001
9 years, 2 months ago (2011-10-15 20:51:57 UTC) #5
vandebo (ex-Chrome)
http://codereview.chromium.org/8201027/diff/21001/chrome/renderer/print_web_view_helper.cc File chrome/renderer/print_web_view_helper.cc (right): http://codereview.chromium.org/8201027/diff/21001/chrome/renderer/print_web_view_helper.cc#newcode156 chrome/renderer/print_web_view_helper.cc:156: // TODO(vandebo) When it's plumbed through, check if the ...
9 years, 2 months ago (2011-10-15 20:52:08 UTC) #6
commit-bot: I haz the power
9 years, 2 months ago (2011-10-15 22:30:50 UTC) #7
Change committed as 105688

Powered by Google App Engine
This is Rietveld 408576698