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

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

Issue 10388214: Make cloud print dialog creation function not use browser list, instead obtain profile and parent w… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 PrintHostMsg_ScriptedPrint_Params, 349 PrintHostMsg_ScriptedPrint_Params,
350 PrintMsg_PrintPages_Params 350 PrintMsg_PrintPages_Params
351 /* settings chosen by the user*/) 351 /* settings chosen by the user*/)
352 352
353 #if defined(USE_X11) 353 #if defined(USE_X11)
354 // Asks the browser to create a temporary file for the renderer to fill 354 // Asks the browser to create a temporary file for the renderer to fill
355 // in resulting NativeMetafile in printing. 355 // in resulting NativeMetafile in printing.
356 IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting, 356 IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting,
357 base::FileDescriptor /* temp file fd */, 357 base::FileDescriptor /* temp file fd */,
358 int /* fd in browser*/) 358 int /* fd in browser*/)
359 IPC_MESSAGE_CONTROL1(PrintHostMsg_TempFileForPrintingWritten, 359 IPC_MESSAGE_CONTROL2(PrintHostMsg_TempFileForPrintingWritten,
360 int /* render_view_id */,
360 int /* fd in browser */) 361 int /* fd in browser */)
361 #endif 362 #endif
362 363
363 // Asks the browser to do print preview. 364 // Asks the browser to do print preview.
364 // |is_modifiable| is set to true when the request is for a web page, and false 365 // |is_modifiable| is set to true when the request is for a web page, and false
365 // for a PDF. 366 // for a PDF.
366 // |webnode_only| is set to true if the document being printed is a specific 367 // |webnode_only| is set to true if the document being printed is a specific
367 // WebNode, and false if the document is a full WebFrame. 368 // WebNode, and false if the document is a full WebFrame.
368 IPC_MESSAGE_ROUTED2(PrintHostMsg_RequestPrintPreview, 369 IPC_MESSAGE_ROUTED2(PrintHostMsg_RequestPrintPreview,
369 bool /* is_modifiable */, 370 bool /* is_modifiable */,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 int /* document cookie */) 419 int /* document cookie */)
419 420
420 // Run a nested message loop in the renderer until print preview for 421 // Run a nested message loop in the renderer until print preview for
421 // window.print() finishes. 422 // window.print() finishes.
422 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, 423 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview,
423 bool /* is_modifiable */) 424 bool /* is_modifiable */)
424 425
425 // Notify the browser that the PDF in the initiator renderer has disabled print 426 // Notify the browser that the PDF in the initiator renderer has disabled print
426 // scaling option. 427 // scaling option.
427 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 428 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/renderer/chrome_mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698