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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 | 380 |
381 // Tell the browser print preview was cancelled. | 381 // Tell the browser print preview was cancelled. |
382 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled, | 382 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled, |
383 int /* document cookie */) | 383 int /* document cookie */) |
384 | 384 |
385 // Tell the browser print preview found the selected printer has invalid | 385 // Tell the browser print preview found the selected printer has invalid |
386 // settings (which typically caused by disconnected network printer or printer | 386 // settings (which typically caused by disconnected network printer or printer |
387 // driver is bogus). | 387 // driver is bogus). |
388 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, | 388 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, |
389 int /* document cookie */) | 389 int /* document cookie */) |
| 390 |
| 391 // Run a nested message loop in the renderer until print preview for |
| 392 // window.print() finishes. |
| 393 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_ScriptedPrintPreview) |
OLD | NEW |