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

Issue 10483006: Print support for Windows Metro... (Closed)

Created:
8 years, 6 months ago by MAD
Modified:
8 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

These are the Chrome side changes to support the Print device charm in Metro. We now expose a print destination interface (not quite complete yet) to bypass the current print flow so that the metafile bits get sent to Metro instead of the print spooler. Other changes will come to make this more complete, e.g., pass in the destination object from the metro module, and expose print settings on the destination interface. BUG=125675 TEST=Make sure you can still print as usual outside the Metro world. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144943

Patch Set 1 #

Patch Set 2 : Working version #

Total comments: 25

Patch Set 3 : Self CR changes #

Total comments: 14

Patch Set 4 : Sync'd and merges with ToT #

Patch Set 5 : Fixed try bot clang compile error #

Patch Set 6 : Some more linux/clanf compile fixes #

Patch Set 7 : Fixing more compile/link thingies and addressed Robert's comments. #

Total comments: 4

Patch Set 8 : Renamed PrintDestinationInterface implementations. #

Patch Set 9 : Sync'd to ToT... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -6 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/printing/print_job_manager.h View 1 2 3 4 5 6 4 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_job_manager.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_job_worker.h View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_job_worker.cc View 1 2 3 4 5 6 4 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/printing/printer_query.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/printing/printer_query.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/printing/printing_message_filter.cc View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
A printing/print_destination_interface.h View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
A printing/print_destination_none.cc View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
A printing/print_destination_win.cc View 1 2 3 4 5 6 7 1 chunk +52 lines, -0 lines 0 comments Download
M printing/printing.gyp View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
MAD
https://chromiumcodereview.appspot.com/10483006/diff/2001/chrome/app/chrome_command_ids.h File chrome/app/chrome_command_ids.h (right): https://chromiumcodereview.appspot.com/10483006/diff/2001/chrome/app/chrome_command_ids.h#newcode79 chrome/app/chrome_command_ids.h:79: #define IDC_PRINT_TO_FILE 35009 I want to change this to ...
8 years, 6 months ago (2012-06-15 02:54:29 UTC) #1
Albert Bodenhamer
Some minor structural/naming comments, but other than that this looks pretty good. tl;dr version: 1: ...
8 years, 6 months ago (2012-06-15 18:41:24 UTC) #2
MAD
Thanks Albert! I'll start working on the final version now, and then ask for a ...
8 years, 6 months ago (2012-06-19 14:24:10 UTC) #3
MAD
Addressed all comments... and cleaned up some more! This is now ready for a full ...
8 years, 5 months ago (2012-06-28 15:48:14 UTC) #4
robertshield
nits and such http://codereview.chromium.org/10483006/diff/22001/chrome/browser/printing/print_job_manager.h File chrome/browser/printing/print_job_manager.h (right): http://codereview.chromium.org/10483006/diff/22001/chrome/browser/printing/print_job_manager.h#newcode43 chrome/browser/printing/print_job_manager.h:43: // automatically reset to NULL when ...
8 years, 5 months ago (2012-06-28 17:48:54 UTC) #5
MAD
Thanks, addressed all comments, and fixed a few clang/linux compile/link failures... Please take another look! ...
8 years, 5 months ago (2012-06-28 19:05:50 UTC) #6
robertshield
lgtm
8 years, 5 months ago (2012-06-28 19:26:54 UTC) #7
MAD
Adding Ben for a chrome/browser/ui OWNERS review since I added a new command for printing ...
8 years, 5 months ago (2012-06-28 19:36:16 UTC) #8
Albert Bodenhamer
LGTM Minor naming problem, but otherwise this looks great. http://codereview.chromium.org/10483006/diff/22004/printing/print_destination_interface_none.cc File printing/print_destination_interface_none.cc (right): http://codereview.chromium.org/10483006/diff/22004/printing/print_destination_interface_none.cc#newcode1 printing/print_destination_interface_none.cc:1: ...
8 years, 5 months ago (2012-06-28 19:38:01 UTC) #9
MAD
Thanks Albert... All done! Only missing browser/ui OWNERS' lgtm now... BYE MAD http://codereview.chromium.org/10483006/diff/22004/printing/print_destination_interface_none.cc File printing/print_destination_interface_none.cc ...
8 years, 5 months ago (2012-06-28 19:52:08 UTC) #10
Ben Goodger (Google)
LGTM for browser/ui
8 years, 5 months ago (2012-06-29 15:48:53 UTC) #11
MAD
On 2012/06/29 15:48:53, Ben Goodger (Google) wrote: > LGTM for browser/ui Thanks! CQ'ing...
8 years, 5 months ago (2012-06-29 17:34:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mad@chromium.org/10483006/37023
8 years, 5 months ago (2012-06-29 17:34:49 UTC) #13
commit-bot: I haz the power
8 years, 5 months ago (2012-06-29 18:58:35 UTC) #14
Change committed as 144943

Powered by Google App Engine
This is Rietveld 408576698