OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
429 int /* document cookie */) | 429 int /* document cookie */) |
430 | 430 |
431 // Tell the browser print preview found the selected printer has invalid | 431 // Tell the browser print preview found the selected printer has invalid |
432 // settings (which typically caused by disconnected network printer or printer | 432 // settings (which typically caused by disconnected network printer or printer |
433 // driver is bogus). | 433 // driver is bogus). |
434 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, | 434 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, |
435 int /* document cookie */) | 435 int /* document cookie */) |
436 | 436 |
437 // Run a nested message loop in the renderer until print preview for | 437 // Run a nested message loop in the renderer until print preview for |
438 // window.print() finishes. | 438 // window.print() finishes. |
439 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, | 439 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) |
440 bool /* is_modifiable */) | 440 |
441 // Shows Preview when is_modifiable is availible. | |
Lei Zhang
2013/09/04 01:06:34
nit: Without some context, readers are not going t
Vitaly Buka (NO REVIEWS)
2013/09/04 01:49:49
Done.
| |
442 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, | |
443 bool /* is_modifiable */) | |
441 | 444 |
442 // Notify the browser that the PDF in the initiator renderer has disabled print | 445 // Notify the browser that the PDF in the initiator renderer has disabled print |
443 // scaling option. | 446 // scaling option. |
444 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) | 447 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) |
OLD | NEW |