summaryrefslogtreecommitdiffstats
path: root/printing/printing.gyp
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 18:46:21 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 18:46:21 +0000
commitb75dca87f3ff3ee3ab003960276ec7bb49d4c734 (patch)
tree8026f1f38f82a5d7c922ba5245e38a5ecf3a61d8 /printing/printing.gyp
parent7ff3f63b8c66408a382adc88458a6e70038cad8d (diff)
downloadchromium_src-b75dca87f3ff3ee3ab003960276ec7bb49d4c734.zip
chromium_src-b75dca87f3ff3ee3ab003960276ec7bb49d4c734.tar.gz
chromium_src-b75dca87f3ff3ee3ab003960276ec7bb49d4c734.tar.bz2
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. Review URL: http://codereview.chromium.org/268036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r--printing/printing.gyp5
1 files changed, 4 insertions, 1 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 84545a8..1076b4f 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -44,13 +44,16 @@
'print_settings.cc',
'print_settings.h',
'printed_document.cc',
+ 'printed_document_linux.cc',
+ 'printed_document_mac.cc',
+ 'printed_document_win.cc',
'printed_document.h',
'printed_page.cc',
'printed_page.h',
'printed_pages_source.h',
'printing_context.h',
'printing_context_linux.cc',
- 'printing_context_mac.cc',
+ 'printing_context_mac.mm',
'printing_context_win.cc',
'units.cc',
'units.h',