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

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

Issue 516823002: Removed print_web_view_helper_win.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thu Aug 28 14:04:52 PDT 2014 Created 6 years, 3 months 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
« no previous file with comments | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/renderer/BUILD.gn » ('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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 280
281 // Size of the metafile data. 281 // Size of the metafile data.
282 IPC_STRUCT_MEMBER(uint32, data_size) 282 IPC_STRUCT_MEMBER(uint32, data_size)
283 283
284 // Cookie for the document to ensure correctness. 284 // Cookie for the document to ensure correctness.
285 IPC_STRUCT_MEMBER(int, document_cookie) 285 IPC_STRUCT_MEMBER(int, document_cookie)
286 286
287 // Page number. 287 // Page number.
288 IPC_STRUCT_MEMBER(int, page_number) 288 IPC_STRUCT_MEMBER(int, page_number)
289 289
290 #if defined(OS_WIN) && !defined(WIN_PDF_METAFILE_FOR_PRINTING)
291 // Shrink factor used to render this page.
292 IPC_STRUCT_MEMBER(double, actual_shrink)
293 #endif // OS_WIN && !WIN_PDF_METAFILE_FOR_PRINTING
294
295 // The size of the page the page author specified. 290 // The size of the page the page author specified.
296 IPC_STRUCT_MEMBER(gfx::Size, page_size) 291 IPC_STRUCT_MEMBER(gfx::Size, page_size)
297 292
298 // The printable area the page author specified. 293 // The printable area the page author specified.
299 IPC_STRUCT_MEMBER(gfx::Rect, content_area) 294 IPC_STRUCT_MEMBER(gfx::Rect, content_area)
300 IPC_STRUCT_END() 295 IPC_STRUCT_END()
301 296
302 // Parameters for the IPC message ViewHostMsg_ScriptedPrint 297 // Parameters for the IPC message ViewHostMsg_ScriptedPrint
303 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params) 298 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params)
304 IPC_STRUCT_MEMBER(int, cookie) 299 IPC_STRUCT_MEMBER(int, cookie)
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 465 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
471 466
472 // Tell the browser to show the print preview, when the document is sufficiently 467 // Tell the browser to show the print preview, when the document is sufficiently
473 // loaded such that the renderer can determine whether it is modifiable or not. 468 // loaded such that the renderer can determine whether it is modifiable or not.
474 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 469 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
475 bool /* is_modifiable */) 470 bool /* is_modifiable */)
476 471
477 // Notify the browser to set print presets based on source PDF document. 472 // Notify the browser to set print presets based on source PDF document.
478 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument, 473 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument,
479 PrintHostMsg_SetOptionsFromDocument_Params /* params */) 474 PrintHostMsg_SetOptionsFromDocument_Params /* params */)
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_printing_messages.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698