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 27 matching lines...) Expand all Loading... |
38 int desired_dpi; | 38 int desired_dpi; |
39 int document_cookie; | 39 int document_cookie; |
40 bool selection_only; | 40 bool selection_only; |
41 bool supports_alpha_blend; | 41 bool supports_alpha_blend; |
42 int32 preview_ui_id; | 42 int32 preview_ui_id; |
43 int preview_request_id; | 43 int preview_request_id; |
44 bool is_first_request; | 44 bool is_first_request; |
45 blink::WebPrintScalingOption print_scaling_option; | 45 blink::WebPrintScalingOption print_scaling_option; |
46 bool print_to_pdf; | 46 bool print_to_pdf; |
47 bool display_header_footer; | 47 bool display_header_footer; |
48 string16 title; | 48 base::string16 title; |
49 string16 url; | 49 base::string16 url; |
50 bool should_print_backgrounds; | 50 bool should_print_backgrounds; |
51 }; | 51 }; |
52 | 52 |
53 struct PrintMsg_PrintPages_Params { | 53 struct PrintMsg_PrintPages_Params { |
54 PrintMsg_PrintPages_Params(); | 54 PrintMsg_PrintPages_Params(); |
55 ~PrintMsg_PrintPages_Params(); | 55 ~PrintMsg_PrintPages_Params(); |
56 | 56 |
57 // Resets the members of the struct to 0. | 57 // Resets the members of the struct to 0. |
58 void Reset(); | 58 void Reset(); |
59 | 59 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) | 431 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) |
432 | 432 |
433 // Tell the browser to show the print preview, when the document is sufficiently | 433 // Tell the browser to show the print preview, when the document is sufficiently |
434 // loaded such that the renderer can determine whether it is modifiable or not. | 434 // loaded such that the renderer can determine whether it is modifiable or not. |
435 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, | 435 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, |
436 bool /* is_modifiable */) | 436 bool /* is_modifiable */) |
437 | 437 |
438 // Notify the browser that the PDF in the initiator renderer has disabled print | 438 // Notify the browser that the PDF in the initiator renderer has disabled print |
439 // scaling option. | 439 // scaling option. |
440 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) | 440 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) |
OLD | NEW |