| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for printing. | 5 // IPC messages for printing. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/values.h" | 10 #include "base/values.h" |
| 9 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
| 10 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 12 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
| 13 | 15 |
| 14 #define IPC_MESSAGE_START PrintMsgStart | 16 #define IPC_MESSAGE_START PrintMsgStart |
| 15 | 17 |
| 16 // Parameters for a render request. | 18 // Parameters for a render request. |
| 17 IPC_STRUCT_BEGIN(PrintMsg_Print_Params) | 19 IPC_STRUCT_BEGIN(PrintMsg_Print_Params) |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 IPC_MESSAGE_ROUTED1(PrintHostMsg_PagesReadyForPreview, | 225 IPC_MESSAGE_ROUTED1(PrintHostMsg_PagesReadyForPreview, |
| 224 PrintHostMsg_DidPreviewDocument_Params /* params */) | 226 PrintHostMsg_DidPreviewDocument_Params /* params */) |
| 225 | 227 |
| 226 // Tell the browser printing failed. | 228 // Tell the browser printing failed. |
| 227 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintingFailed, | 229 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintingFailed, |
| 228 int /* document cookie */) | 230 int /* document cookie */) |
| 229 | 231 |
| 230 // Tell the browser print preview failed. | 232 // Tell the browser print preview failed. |
| 231 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewFailed, | 233 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewFailed, |
| 232 int /* document cookie */) | 234 int /* document cookie */) |
| OLD | NEW |