| 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> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // called multiple times as the user updates settings. | 274 // called multiple times as the user updates settings. |
| 275 IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, | 275 IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, |
| 276 DictionaryValue /* settings */) | 276 DictionaryValue /* settings */) |
| 277 | 277 |
| 278 // Like PrintMsg_PrintPages, but using the print preview document's frame/node. | 278 // Like PrintMsg_PrintPages, but using the print preview document's frame/node. |
| 279 IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) | 279 IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) |
| 280 | 280 |
| 281 // Tells a renderer to stop blocking script initiated printing. | 281 // Tells a renderer to stop blocking script initiated printing. |
| 282 IPC_MESSAGE_ROUTED0(PrintMsg_ResetScriptedPrintCount) | 282 IPC_MESSAGE_ROUTED0(PrintMsg_ResetScriptedPrintCount) |
| 283 | 283 |
| 284 // Tells a renderer print preview has finished so it can exit its nested loop. |
| 285 IPC_MESSAGE_ROUTED0(PrintMsg_PrintPreviewDone) |
| 286 |
| 284 // Messages sent from the renderer to the browser. | 287 // Messages sent from the renderer to the browser. |
| 285 | 288 |
| 286 #if defined(OS_WIN) | 289 #if defined(OS_WIN) |
| 287 // Duplicates a shared memory handle from the renderer to the browser. Then | 290 // Duplicates a shared memory handle from the renderer to the browser. Then |
| 288 // the renderer can flush the handle. | 291 // the renderer can flush the handle. |
| 289 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_DuplicateSection, | 292 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_DuplicateSection, |
| 290 base::SharedMemoryHandle /* renderer handle */, | 293 base::SharedMemoryHandle /* renderer handle */, |
| 291 base::SharedMemoryHandle /* browser handle */) | 294 base::SharedMemoryHandle /* browser handle */) |
| 292 #endif | 295 #endif |
| 293 | 296 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 | 381 |
| 379 // Tell the browser print preview was cancelled. | 382 // Tell the browser print preview was cancelled. |
| 380 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled, | 383 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled, |
| 381 int /* document cookie */) | 384 int /* document cookie */) |
| 382 | 385 |
| 383 // Tell the browser print preview found the selected printer has invalid | 386 // Tell the browser print preview found the selected printer has invalid |
| 384 // settings (which typically caused by disconnected network printer or printer | 387 // settings (which typically caused by disconnected network printer or printer |
| 385 // driver is bogus). | 388 // driver is bogus). |
| 386 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, | 389 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, |
| 387 int /* document cookie */) | 390 int /* document cookie */) |
| OLD | NEW |