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

Unified Diff: chrome/common/print_messages.h

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes some build targets and try bots. Some other nits. Created 7 years, 4 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 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 dca63c3bcfe1368635bea16a8fe837bebfc64d22..258ee2749c30125e6edd345fe56093617f76d33a 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -370,15 +370,16 @@ IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_ScriptedPrint,
PrintMsg_PrintPages_Params
/* settings chosen by the user*/)
-#if defined(USE_X11)
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
Vitaly Buka (NO REVIEWS) 2013/08/19 16:14:19 If we define this messages for all platforms it sh
// Asks the browser to create a temporary file for the renderer to fill
// in resulting NativeMetafile in printing.
-IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting,
+IPC_SYNC_MESSAGE_CONTROL1_2(PrintHostMsg_AllocateTempFileForPrinting,
+ int /* render_view_id */,
base::FileDescriptor /* temp file fd */,
- int /* fd in browser*/)
+ int /* fd in browser*/) // Used only by Chrome OS.
IPC_MESSAGE_CONTROL2(PrintHostMsg_TempFileForPrintingWritten,
int /* render_view_id */,
- int /* fd in browser */)
+ int /* fd in browser */) // Used only by Chrome OS.
#endif
// Asks the browser to do print preview.

Powered by Google App Engine
This is Rietveld 408576698