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

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

Issue 516833002: Removed NativeMetafile and PreviewMetafile typedef as it's always PdfMetafileSkia. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_pdf
Patch Set: Thu Aug 28 02:43:23 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // TODO(sgurun) copied from chrome/common. Remove after crbug.com/322276 8 // TODO(sgurun) copied from chrome/common. Remove after crbug.com/322276
9 9
10 #include <string> 10 #include <string>
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // by javascript. This step is about showing UI to the user to select the 364 // by javascript. This step is about showing UI to the user to select the
365 // final print settings. The output parameter is the same as 365 // final print settings. The output parameter is the same as
366 // ViewMsg_PrintPages which is executed implicitly. 366 // ViewMsg_PrintPages which is executed implicitly.
367 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_ScriptedPrint, 367 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_ScriptedPrint,
368 PrintHostMsg_ScriptedPrint_Params, 368 PrintHostMsg_ScriptedPrint_Params,
369 PrintMsg_PrintPages_Params 369 PrintMsg_PrintPages_Params
370 /* settings chosen by the user*/) 370 /* settings chosen by the user*/)
371 371
372 #if defined(OS_ANDROID) 372 #if defined(OS_ANDROID)
373 // Asks the browser to create a temporary file for the renderer to fill 373 // Asks the browser to create a temporary file for the renderer to fill
374 // in resulting NativeMetafile in printing. 374 // in resulting PdfMetafileSkia in printing.
375 IPC_SYNC_MESSAGE_ROUTED0_2(PrintHostMsg_AllocateTempFileForPrinting, 375 IPC_SYNC_MESSAGE_ROUTED0_2(PrintHostMsg_AllocateTempFileForPrinting,
376 base::FileDescriptor /* temp file fd */, 376 base::FileDescriptor /* temp file fd */,
377 int /* fd in browser*/) 377 int /* fd in browser*/)
378 IPC_MESSAGE_ROUTED1(PrintHostMsg_TempFileForPrintingWritten, 378 IPC_MESSAGE_ROUTED1(PrintHostMsg_TempFileForPrintingWritten,
379 int /* fd in browser */) 379 int /* fd in browser */)
380 #endif 380 #endif
381 // Asks the browser to do print preview. 381 // Asks the browser to do print preview.
382 IPC_MESSAGE_ROUTED1(PrintHostMsg_RequestPrintPreview, 382 IPC_MESSAGE_ROUTED1(PrintHostMsg_RequestPrintPreview,
383 PrintHostMsg_RequestPrintPreview_Params /* params */) 383 PrintHostMsg_RequestPrintPreview_Params /* params */)
384 384
(...skipping 50 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 | « no previous file | android_webview/renderer/print_web_view_helper.h » ('j') | chrome/browser/printing/print_view_manager_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698