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

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

Issue 488853002: Removed --disable-print-preview switch and policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/printing/print_web_view_helper.h » ('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) 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 // Tells the render view to switch the CSS to print media type, renders every 338 // Tells the render view to switch the CSS to print media type, renders every
339 // requested pages for print preview using the given |settings|. This gets 339 // requested pages for print preview using the given |settings|. This gets
340 // called multiple times as the user updates settings. 340 // called multiple times as the user updates settings.
341 IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, 341 IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview,
342 base::DictionaryValue /* settings */) 342 base::DictionaryValue /* settings */)
343 343
344 // Like PrintMsg_PrintPages, but using the print preview document's frame/node. 344 // Like PrintMsg_PrintPages, but using the print preview document's frame/node.
345 IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) 345 IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog)
346 346
347 // Tells a renderer to stop blocking script initiated printing.
348 IPC_MESSAGE_ROUTED0(PrintMsg_ResetScriptedPrintCount)
349
350 // Messages sent from the renderer to the browser. 347 // Messages sent from the renderer to the browser.
351 348
352 #if defined(OS_WIN) 349 #if defined(OS_WIN)
353 // Duplicates a shared memory handle from the renderer to the browser. Then 350 // Duplicates a shared memory handle from the renderer to the browser. Then
354 // the renderer can flush the handle. 351 // the renderer can flush the handle.
355 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_DuplicateSection, 352 IPC_SYNC_MESSAGE_ROUTED1_1(PrintHostMsg_DuplicateSection,
356 base::SharedMemoryHandle /* renderer handle */, 353 base::SharedMemoryHandle /* renderer handle */,
357 base::SharedMemoryHandle /* browser handle */) 354 base::SharedMemoryHandle /* browser handle */)
358 #endif 355 #endif
359 356
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 469 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
473 470
474 // Tell the browser to show the print preview, when the document is sufficiently 471 // Tell the browser to show the print preview, when the document is sufficiently
475 // loaded such that the renderer can determine whether it is modifiable or not. 472 // loaded such that the renderer can determine whether it is modifiable or not.
476 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 473 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
477 bool /* is_modifiable */) 474 bool /* is_modifiable */)
478 475
479 // Notify the browser to set print presets based on source PDF document. 476 // Notify the browser to set print presets based on source PDF document.
480 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument, 477 IPC_MESSAGE_ROUTED1(PrintHostMsg_SetOptionsFromDocument,
481 PrintHostMsg_SetOptionsFromDocument_Params /* params */) 478 PrintHostMsg_SetOptionsFromDocument_Params /* params */)
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/printing/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698