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

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

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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
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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 292
293 // The printable area the page author specified. 293 // The printable area the page author specified.
294 IPC_STRUCT_MEMBER(gfx::Rect, content_area) 294 IPC_STRUCT_MEMBER(gfx::Rect, content_area)
295 IPC_STRUCT_END() 295 IPC_STRUCT_END()
296 296
297 // Parameters for the IPC message ViewHostMsg_ScriptedPrint 297 // Parameters for the IPC message ViewHostMsg_ScriptedPrint
298 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params) 298 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params)
299 IPC_STRUCT_MEMBER(int, cookie) 299 IPC_STRUCT_MEMBER(int, cookie)
300 IPC_STRUCT_MEMBER(int, expected_pages_count) 300 IPC_STRUCT_MEMBER(int, expected_pages_count)
301 IPC_STRUCT_MEMBER(bool, has_selection) 301 IPC_STRUCT_MEMBER(bool, has_selection)
302 IPC_STRUCT_MEMBER(bool, use_system_specific_flow)
Vitaly Buka (NO REVIEWS) 2014/12/12 08:37:17 rename use_system_specific_flow to is_scripted pl
302 IPC_STRUCT_MEMBER(printing::MarginType, margin_type) 303 IPC_STRUCT_MEMBER(printing::MarginType, margin_type)
303 IPC_STRUCT_END() 304 IPC_STRUCT_END()
304 305
305 306
306 // Messages sent from the browser to the renderer. 307 // Messages sent from the browser to the renderer.
307 308
308 // Tells the render view to initiate print preview for the entire document. 309 // Tells the render view to initiate print preview for the entire document.
309 IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* selection_only */) 310 IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* selection_only */)
310 311
311 // Tells the render frame to initiate printing or print preview for a particular 312 // Tells the render frame to initiate printing or print preview for a particular
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 468 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
468 469
469 // Tell the browser to show the print preview, when the document is sufficiently 470 // Tell the browser to show the print preview, when the document is sufficiently
470 // loaded such that the renderer can determine whether it is modifiable or not. 471 // loaded such that the renderer can determine whether it is modifiable or not.
471 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 472 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
472 bool /* is_modifiable */) 473 bool /* is_modifiable */)
473 474
474 // Notify the browser to set print presets based on source PDF document. 475 // Notify the browser to set print presets based on source PDF document.
475 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument, 476 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument,
476 PrintHostMsg_SetOptionsFromDocument_Params /* params */) 477 PrintHostMsg_SetOptionsFromDocument_Params /* params */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698