Chromium Code Reviews| Index: chrome/common/print_messages.h |
| diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h |
| index dca63c3bcfe1368635bea16a8fe837bebfc64d22..258ee2749c30125e6edd345fe56093617f76d33a 100644 |
| --- a/chrome/common/print_messages.h |
| +++ b/chrome/common/print_messages.h |
| @@ -370,15 +370,16 @@ IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_ScriptedPrint, |
| PrintMsg_PrintPages_Params |
| /* settings chosen by the user*/) |
| -#if defined(USE_X11) |
| +#if defined(OS_CHROMEOS) || defined(OS_ANDROID) |
|
Vitaly Buka (NO REVIEWS)
2013/08/19 16:14:19
If we define this messages for all platforms it sh
|
| // Asks the browser to create a temporary file for the renderer to fill |
| // in resulting NativeMetafile in printing. |
| -IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting, |
| +IPC_SYNC_MESSAGE_CONTROL1_2(PrintHostMsg_AllocateTempFileForPrinting, |
| + int /* render_view_id */, |
| base::FileDescriptor /* temp file fd */, |
| - int /* fd in browser*/) |
| + int /* fd in browser*/) // Used only by Chrome OS. |
| IPC_MESSAGE_CONTROL2(PrintHostMsg_TempFileForPrintingWritten, |
| int /* render_view_id */, |
| - int /* fd in browser */) |
| + int /* fd in browser */) // Used only by Chrome OS. |
| #endif |
| // Asks the browser to do print preview. |