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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index fbeeaa7af480f9731298654b347901c01f3ee21e..b0fd2066023b218c90eb3c7855b593a953eadf90 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -294,11 +294,14 @@ IPC_STRUCT_BEGIN(PrintHostMsg_DidPrintPage_Params)
IPC_STRUCT_MEMBER(gfx::Rect, content_area)
IPC_STRUCT_END()
+// TODO(dgn) Rename *ScriptedPrint messages because they are not called only
+// from scripts.
// Parameters for the IPC message ViewHostMsg_ScriptedPrint
IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params)
IPC_STRUCT_MEMBER(int, cookie)
IPC_STRUCT_MEMBER(int, expected_pages_count)
IPC_STRUCT_MEMBER(bool, has_selection)
+ IPC_STRUCT_MEMBER(bool, is_scripted)
IPC_STRUCT_MEMBER(printing::MarginType, margin_type)
IPC_STRUCT_END()
« no previous file with comments | « chrome/browser/printing/printing_message_filter.cc ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698