Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/common/print_messages.h

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/common/print_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 24 matching lines...) Expand all
35 double dpi; 35 double dpi;
36 double min_shrink; 36 double min_shrink;
37 double max_shrink; 37 double max_shrink;
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 WebKit::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 string16 title;
49 string16 url; 49 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();
(...skipping 12 matching lines...) Expand all
68 bool webnode_only; 68 bool webnode_only;
69 bool has_selection; 69 bool has_selection;
70 bool selection_only; 70 bool selection_only;
71 }; 71 };
72 72
73 #endif // CHROME_COMMON_PRINT_MESSAGES_H_ 73 #endif // CHROME_COMMON_PRINT_MESSAGES_H_
74 74
75 #define IPC_MESSAGE_START PrintMsgStart 75 #define IPC_MESSAGE_START PrintMsgStart
76 76
77 IPC_ENUM_TRAITS(printing::MarginType) 77 IPC_ENUM_TRAITS(printing::MarginType)
78 IPC_ENUM_TRAITS(WebKit::WebPrintScalingOption) 78 IPC_ENUM_TRAITS(blink::WebPrintScalingOption)
79 79
80 // Parameters for a render request. 80 // Parameters for a render request.
81 IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params) 81 IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params)
82 // Physical size of the page, including non-printable margins, 82 // Physical size of the page, including non-printable margins,
83 // in pixels according to dpi. 83 // in pixels according to dpi.
84 IPC_STRUCT_TRAITS_MEMBER(page_size) 84 IPC_STRUCT_TRAITS_MEMBER(page_size)
85 85
86 // In pixels according to dpi_x and dpi_y. 86 // In pixels according to dpi_x and dpi_y.
87 IPC_STRUCT_TRAITS_MEMBER(content_size) 87 IPC_STRUCT_TRAITS_MEMBER(content_size)
88 88
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 435 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
436 436
437 // Tell the browser to show the print preview, when the document is sufficiently 437 // Tell the browser to show the print preview, when the document is sufficiently
438 // loaded such that the renderer can determine whether it is modifiable or not. 438 // loaded such that the renderer can determine whether it is modifiable or not.
439 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 439 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
440 bool /* is_modifiable */) 440 bool /* is_modifiable */)
441 441
442 // Notify the browser that the PDF in the initiator renderer has disabled print 442 // Notify the browser that the PDF in the initiator renderer has disabled print
443 // scaling option. 443 // scaling option.
444 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 444 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/common/print_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698