Chromium Code Reviews| Index: chrome/browser/renderer_host/resource_message_filter.h |
| diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h |
| index 8821ac651a9552e5283ed09035bfc3713401bb97..6a12d14ab76e7799be00bd351ed9f37876a7ff6b 100644 |
| --- a/chrome/browser/renderer_host/resource_message_filter.h |
| +++ b/chrome/browser/renderer_host/resource_message_filter.h |
| @@ -219,6 +219,12 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter, |
| void OnAllocateTempFileForPrinting(IPC::Message* reply_msg); |
| void OnTempFileForPrintingWritten(int fd_in_browser); |
| #endif |
|
pink (ping after 24hrs)
2009/10/13 21:04:51
#elif?
stuartmorgan
2009/10/13 22:07:43
I'm following the convention for this file, which
|
| +#if defined(OS_MACOSX) |
| + // Used to ask the browser to allocate a block of shared memory for the |
| + // renderer to send PDF across in. |
| + void OnAllocatePDFTransport(size_t buffer_size, |
| + base::SharedMemoryHandle* handle); |
| +#endif |
| void OnResourceTypeStats(const WebKit::WebCache::ResourceTypeStats& stats); |
| static void OnResourceTypeStatsOnUIThread(WebKit::WebCache::ResourceTypeStats, |
| @@ -238,7 +244,7 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter, |
| void OnGetDefaultPrintSettingsReply( |
| scoped_refptr<printing::PrinterQuery> printer_query, |
| IPC::Message* reply_msg); |
| -#if defined(OS_WIN) |
| +#if defined(OS_WIN) || defined(OS_MACOSX) |
| // A javascript code requested to print the current page. The renderer host |
| // have to show to the user the print dialog and returns the selected print |
| // settings. |