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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
438 // window.print() finishes. | 438 // window.print() finishes. |
439 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) | 439 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) |
440 | 440 |
441 // Tell the browser to show the print preview, when the document is sufficiently | 441 // Tell the browser to show the print preview, when the document is sufficiently |
442 // loaded such that the renderer can determine whether it is modifiable or not. | 442 // loaded such that the renderer can determine whether it is modifiable or not. |
443 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, | 443 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, |
444 bool /* is_modifiable */) | 444 bool /* is_modifiable */) |
445 | 445 |
446 // Notify the browser that the PDF in the initiator renderer has disabled print | 446 // Notify the browser that the PDF in the initiator renderer has disabled print |
447 // scaling option. | 447 // scaling option. |
448 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) | 448 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) |
Vitaly Buka (NO REVIEWS)
2014/07/10 01:13:05
Let's create structure with all options we'd like
Nikhil
2014/07/10 14:46:53
Shall I create another CL for this first? To intro
| |
449 | |
450 // Notify the browser regarding number of copies to be printed. | |
451 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewNumCopies, | |
452 int /* number of copies */) | |
OLD | NEW |