|
Implement the basic OS-level printing mechanics on Mac
Part two of printing implementation on the Mac. This adds a Mac implementation of PrintSettings to get page setup and printer information, basic PDF->context rendering in PrintedDocument, and most of PrintingContext to allow getting print settings (both default and interactive).
Reworks the message flow a bit when asking for print settings on the Mac, since it can only be done from the UI thread. Uses a modal dialog for now, but will later be modified further to allow for a sheet.
BUG= 13158
TEST=None; no user-visible effect yet.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28857
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+567 lines, -290 lines) |
Patch |
|
M |
printing/print_settings.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
printing/print_settings.cc
|
View
|
1
|
2 chunks |
+46 lines, -0 lines |
0 comments
|
Download
|
|
M |
printing/printed_document.h
|
View
|
1
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
printing/printed_document.cc
|
View
|
1
|
4 chunks |
+5 lines, -124 lines |
0 comments
|
Download
|
|
A |
printing/printed_document_linux.cc
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
A |
printing/printed_document_mac.cc
|
View
|
|
1 chunk |
+53 lines, -0 lines |
1 comment
|
Download
|
|
A |
printing/printed_document_win.cc
|
View
|
|
1 chunk |
+142 lines, -0 lines |
0 comments
|
Download
|
|
M |
printing/printing.gyp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
printing/printing_context.h
|
View
|
1
|
5 chunks |
+35 lines, -11 lines |
0 comments
|
Download
|
|
D |
printing/printing_context_mac.cc
|
View
|
|
1 chunk |
+0 lines, -117 lines |
0 comments
|
Download
|
|
A |
printing/printing_context_mac.mm
|
View
|
1
|
1 chunk |
+206 lines, -0 lines |
0 comments
|
Download
|
|
M |
printing/printing_context_win.cc
|
View
|
|
18 chunks |
+34 lines, -34 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|