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

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

Issue 8351048: Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 9 years, 1 month 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // Asks the browser to create a temporary file for the renderer to fill 336 // Asks the browser to create a temporary file for the renderer to fill
337 // in resulting NativeMetafile in printing. 337 // in resulting NativeMetafile in printing.
338 IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting, 338 IPC_SYNC_MESSAGE_CONTROL0_2(PrintHostMsg_AllocateTempFileForPrinting,
339 base::FileDescriptor /* temp file fd */, 339 base::FileDescriptor /* temp file fd */,
340 int /* fd in browser*/) 340 int /* fd in browser*/)
341 IPC_MESSAGE_CONTROL1(PrintHostMsg_TempFileForPrintingWritten, 341 IPC_MESSAGE_CONTROL1(PrintHostMsg_TempFileForPrintingWritten,
342 int /* fd in browser */) 342 int /* fd in browser */)
343 #endif 343 #endif
344 344
345 // Asks the browser to do print preview. 345 // Asks the browser to do print preview.
346 IPC_MESSAGE_ROUTED0(PrintHostMsg_RequestPrintPreview) 346 IPC_MESSAGE_ROUTED1(PrintHostMsg_RequestPrintPreview, bool /* is_modifiable */)
347 347
348 // Notify the browser the number of pages in the print preview document. 348 // Notify the browser the number of pages in the print preview document.
349 IPC_MESSAGE_ROUTED1(PrintHostMsg_DidGetPreviewPageCount, 349 IPC_MESSAGE_ROUTED1(PrintHostMsg_DidGetPreviewPageCount,
350 PrintHostMsg_DidGetPreviewPageCount_Params /* params */) 350 PrintHostMsg_DidGetPreviewPageCount_Params /* params */)
351 351
352 // Notify the browser of the default page layout according to the currently 352 // Notify the browser of the default page layout according to the currently
353 // selected printer and page size. 353 // selected printer and page size.
354 IPC_MESSAGE_ROUTED1(PrintHostMsg_DidGetDefaultPageLayout, 354 IPC_MESSAGE_ROUTED1(PrintHostMsg_DidGetDefaultPageLayout,
355 printing::PageSizeMargins /* page layout in points */) 355 printing::PageSizeMargins /* page layout in points */)
356 356
(...skipping 23 matching lines...) Expand all
380 380
381 // Tell the browser print preview was cancelled. 381 // Tell the browser print preview was cancelled.
382 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled, 382 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled,
383 int /* document cookie */) 383 int /* document cookie */)
384 384
385 // Tell the browser print preview found the selected printer has invalid 385 // Tell the browser print preview found the selected printer has invalid
386 // settings (which typically caused by disconnected network printer or printer 386 // settings (which typically caused by disconnected network printer or printer
387 // driver is bogus). 387 // driver is bogus).
388 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings, 388 IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings,
389 int /* document cookie */) 389 int /* document cookie */)
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698