Chromium Code Reviews| 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 409 // Tell the browser print preview found the selected printer has invalid | 409 // Tell the browser print preview found the selected printer has invalid |
| 410 // settings (which typically caused by disconnected network printer or printer | 410 // settings (which typically caused by disconnected network printer or printer |
| 411 // driver is bogus). | 411 // driver is bogus). |
| 412 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, | 412 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, |
| 413 int /* document cookie */) | 413 int /* document cookie */) |
| 414 | 414 |
| 415 // Run a nested message loop in the renderer until print preview for | 415 // Run a nested message loop in the renderer until print preview for |
| 416 // window.print() finishes. | 416 // window.print() finishes. |
| 417 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, | 417 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, |
| 418 bool /* is_modifiable */) | 418 bool /* is_modifiable */) |
| 419 | |
| 420 // Notify the browser that the PDF in initiator renderer has disabled print | |
|
Lei Zhang
2012/04/26 22:52:23
nit: "in initiator" -> "in the initiator"
kmadhusu
2012/04/27 01:28:58
Done.
| |
| 421 // scaling option. | |
| 422 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) | |
| OLD | NEW |