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

Issue 7826040: PrintPreview: Fixed RICOH MP C3501 color print job issues. (Closed)

Created:
9 years, 3 months ago by kmadhusu
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., arv (Not doing code reviews), darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

PrintPreview: Fixed RICOH MP C3501 color print job issues. BUG=92358 TEST=Please refer to bug description. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99615

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Fix last used color setting #

Patch Set 4 : '' #

Total comments: 22

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : Fix conflicts #

Total comments: 10

Patch Set 8 : Fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -25 lines) Patch
M chrome/browser/printing/print_dialog_gtk.cc View 1 2 3 4 5 6 7 4 chunks +18 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/color_settings.js View 1 2 3 4 5 6 7 3 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.js View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/print_preview_handler.cc View 1 2 3 4 5 6 7 chunks +29 lines, -4 lines 0 comments Download
M chrome/renderer/mock_render_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/print_web_view_helper_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/print_job_constants.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M printing/printing_context_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/printing_context_mac.mm View 5 chunks +10 lines, -5 lines 0 comments Download
M printing/printing_context_win.cc View 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kmadhusu
Verified my changes on Linux. Need to verify on Win and Mac. vandebo: Please review ...
9 years, 3 months ago (2011-09-02 21:58:01 UTC) #1
dpapad
http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js File chrome/browser/resources/print_preview/color_settings.js (right): http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js#newcode17 chrome/browser/resources/print_preview/color_settings.js:17: this.cmyk_ = 0; Since these are supposed to be ...
9 years, 3 months ago (2011-09-02 22:15:06 UTC) #2
vandebo (ex-Chrome)
http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js File chrome/browser/resources/print_preview/color_settings.js (right): http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js#newcode20 chrome/browser/resources/print_preview/color_settings.js:20: this.printerColorSpace_ = this.color_; Is this the color model used ...
9 years, 3 months ago (2011-09-02 22:38:18 UTC) #3
kmadhusu
dpapad, vandebo: Please review the latest patch. Thanks. http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js File chrome/browser/resources/print_preview/color_settings.js (right): http://codereview.chromium.org/7826040/diff/3002/chrome/browser/resources/print_preview/color_settings.js#newcode17 chrome/browser/resources/print_preview/color_settings.js:17: this.cmyk_ ...
9 years, 3 months ago (2011-09-04 01:52:51 UTC) #4
dpapad
LGTM for js http://codereview.chromium.org/7826040/diff/7012/chrome/browser/resources/print_preview/color_settings.js File chrome/browser/resources/print_preview/color_settings.js (right): http://codereview.chromium.org/7826040/diff/7012/chrome/browser/resources/print_preview/color_settings.js#newcode49 chrome/browser/resources/print_preview/color_settings.js:49: return this.printerColorModelForColor_; Nit (optional): return this.bwRadioButton_.checked ...
9 years, 3 months ago (2011-09-04 04:55:16 UTC) #5
vandebo (ex-Chrome)
LGTM http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/print_dialog_gtk.cc File chrome/browser/printing/print_dialog_gtk.cc (right): http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/print_dialog_gtk.cc#newcode198 chrome/browser/printing/print_dialog_gtk.cc:198: color_mode =kGrayscale; nit: space http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/print_dialog_gtk.cc#newcode201 chrome/browser/printing/print_dialog_gtk.cc:201: gtk_print_settings_set(gtk_settings_, kCUPSColorModel,color_mode); ...
9 years, 3 months ago (2011-09-04 17:24:39 UTC) #6
kmadhusu
9 years, 3 months ago (2011-09-05 17:37:20 UTC) #7
http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/prin...
File chrome/browser/printing/print_dialog_gtk.cc (right):

http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/prin...
chrome/browser/printing/print_dialog_gtk.cc:198: color_mode =kGrayscale;
On 2011/09/04 17:24:39, vandebo wrote:
> nit: space

Done.

http://codereview.chromium.org/7826040/diff/7012/chrome/browser/printing/prin...
chrome/browser/printing/print_dialog_gtk.cc:201:
gtk_print_settings_set(gtk_settings_, kCUPSColorModel,color_mode);
On 2011/09/04 17:24:39, vandebo wrote:
> nit: space

Done.

http://codereview.chromium.org/7826040/diff/7012/chrome/browser/resources/pri...
File chrome/browser/resources/print_preview/color_settings.js (right):

http://codereview.chromium.org/7826040/diff/7012/chrome/browser/resources/pri...
chrome/browser/resources/print_preview/color_settings.js:18: this.CMYK = 3; //
cmyk - Cyan, magenta, yellow, black
On 2011/09/04 17:24:39, vandebo wrote:
> nit: two spaces before an inline comment.

Done.

http://codereview.chromium.org/7826040/diff/7012/chrome/browser/resources/pri...
chrome/browser/resources/print_preview/color_settings.js:19: this.COLOR = 2;
On 2011/09/04 17:24:39, vandebo wrote:
> nit: put these in numerical order - gray, color, cmyk

Done.

Powered by Google App Engine
This is Rietveld 408576698