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

Issue 10867004: Notify print preview UI if getting capabilityes failed. (Closed)

Created:
8 years, 4 months ago by Vitaly Buka (NO REVIEWS)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Added failedToGetPrinterCapabilities JS event and empty handler. Don't send updateWithPrinterCapabilities if GetPrinterCapabilities failed. GetPrinterCapabilitiesCUPS and GetPrinterCapabilitiesWin replaced with ParsePrinterCapabilities with cross-platform interface. BUG=144056 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152830

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -65 lines) Patch
M chrome/browser/printing/print_system_task_proxy.h View 2 chunks +4 lines, -13 lines 0 comments Download
M chrome/browser/printing/print_system_task_proxy.cc View 1 7 chunks +39 lines, -46 lines 0 comments Download
M chrome/browser/printing/print_system_task_proxy_unittest.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/resources/print_preview/native_layer.js View 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Vitaly Buka (NO REVIEWS)
Please review.
8 years, 4 months ago (2012-08-22 00:54:15 UTC) #1
Albert Bodenhamer
http://codereview.chromium.org/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc File chrome/browser/printing/print_system_task_proxy.cc (right): http://codereview.chromium.org/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc#newcode382 chrome/browser/printing/print_system_task_proxy.cc:382: bool PrintSystemTaskProxy::ParsePrinterCapabilities( Prototype is the same on all platforms. ...
8 years, 4 months ago (2012-08-22 01:02:23 UTC) #2
Robert Toscano
This looks awesome! https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc File chrome/browser/printing/print_system_task_proxy.cc (right): https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc#newcode579 chrome/browser/printing/print_system_task_proxy.cc:579: handler_->SendFailedToGetPrinterCapabilities(printer_name); Is it Google C++ to ...
8 years, 4 months ago (2012-08-22 01:05:31 UTC) #3
Albert Bodenhamer
https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc File chrome/browser/printing/print_system_task_proxy.cc (right): https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc#newcode579 chrome/browser/printing/print_system_task_proxy.cc:579: handler_->SendFailedToGetPrinterCapabilities(printer_name); On 2012/08/22 01:05:31, Robert Toscano wrote: > Is ...
8 years, 4 months ago (2012-08-22 01:09:41 UTC) #4
Albert Bodenhamer
Try jobs are failing. Looks like the errors might be real. On Tue, Aug 21, ...
8 years, 4 months ago (2012-08-22 01:11:02 UTC) #5
Vitaly Buka (NO REVIEWS)
https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc File chrome/browser/printing/print_system_task_proxy.cc (right): https://chromiumcodereview.appspot.com/10867004/diff/3001/chrome/browser/printing/print_system_task_proxy.cc#newcode382 chrome/browser/printing/print_system_task_proxy.cc:382: bool PrintSystemTaskProxy::ParsePrinterCapabilities( On 2012/08/22 01:02:23, Albert Bodenhamer wrote: > ...
8 years, 4 months ago (2012-08-22 02:58:02 UTC) #6
Albert Bodenhamer
lgtm
8 years, 4 months ago (2012-08-22 17:53:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/10867004/4009
8 years, 4 months ago (2012-08-22 17:54:07 UTC) #8
commit-bot: I haz the power
Try job failure for 10867004-4009 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 19:20:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/10867004/4009
8 years, 4 months ago (2012-08-22 19:23:24 UTC) #10
commit-bot: I haz the power
Change committed as 152830
8 years, 4 months ago (2012-08-22 21:50:46 UTC) #11
Robert Toscano
I think you forgot to address my suggestions. I'll do it in a subsequent patch ...
8 years, 4 months ago (2012-08-22 22:14:33 UTC) #12
Vitaly Buka (NO REVIEWS)
On 2012/08/22 22:14:33, Robert Toscano wrote: > I think you forgot to address my suggestions. ...
8 years, 4 months ago (2012-08-22 22:20:56 UTC) #13
Vitaly Buka (NO REVIEWS)
8 years, 4 months ago (2012-08-25 00:25:44 UTC) #14
Please review, just in case we are going to merge that to M21.

Powered by Google App Engine
This is Rietveld 408576698