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

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

Issue 8515017: Print Preview: Properly handle window.print(). (Closed)
Patch Set: fail instead of crash when 2 views both do window.print() Created 9 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 unified diff | Download patch
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 */)
390
391 // Run a nested message loop in the renderer until print preview for
392 // window.print() finishes.
393 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_ScriptedPrintPreview)
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview_ui_unittest.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698