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 23 matching lines...) Expand all Loading... | |
| 34 double dpi; | 34 double dpi; |
| 35 double min_shrink; | 35 double min_shrink; |
| 36 double max_shrink; | 36 double max_shrink; |
| 37 int desired_dpi; | 37 int desired_dpi; |
| 38 int document_cookie; | 38 int document_cookie; |
| 39 bool selection_only; | 39 bool selection_only; |
| 40 bool supports_alpha_blend; | 40 bool supports_alpha_blend; |
| 41 std::string preview_ui_addr; | 41 std::string preview_ui_addr; |
| 42 int preview_request_id; | 42 int preview_request_id; |
| 43 bool is_first_request; | 43 bool is_first_request; |
| 44 bool fit_pdf_page_to_paper_size; | |
|
vandebo (ex-Chrome)
2012/04/19 18:45:31
For some reason this name sticks out as odd to me.
kmadhusu
2012/04/20 22:29:57
Renamed the variable and as we discussed, I commit
| |
| 44 bool print_to_pdf; | 45 bool print_to_pdf; |
| 45 bool display_header_footer; | 46 bool display_header_footer; |
| 46 string16 date; | 47 string16 date; |
| 47 string16 title; | 48 string16 title; |
| 48 string16 url; | 49 string16 url; |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 struct PrintMsg_PrintPages_Params { | 52 struct PrintMsg_PrintPages_Params { |
| 52 PrintMsg_PrintPages_Params(); | 53 PrintMsg_PrintPages_Params(); |
| 53 ~PrintMsg_PrintPages_Params(); | 54 ~PrintMsg_PrintPages_Params(); |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 408 // Tell the browser print preview found the selected printer has invalid | 409 // Tell the browser print preview found the selected printer has invalid |
| 409 // settings (which typically caused by disconnected network printer or printer | 410 // settings (which typically caused by disconnected network printer or printer |
| 410 // driver is bogus). | 411 // driver is bogus). |
| 411 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, | 412 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, |
| 412 int /* document cookie */) | 413 int /* document cookie */) |
| 413 | 414 |
| 414 // 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 |
| 415 // window.print() finishes. | 416 // window.print() finishes. |
| 416 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, | 417 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, |
| 417 bool /* is_modifiable */) | 418 bool /* is_modifiable */) |
| OLD | NEW |