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

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

Issue 191293006: Move GetContextMenuNode from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync and fix android clang error Created 6 years, 9 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 IPC_STRUCT_MEMBER(bool, has_selection) 270 IPC_STRUCT_MEMBER(bool, has_selection)
271 IPC_STRUCT_MEMBER(printing::MarginType, margin_type) 271 IPC_STRUCT_MEMBER(printing::MarginType, margin_type)
272 IPC_STRUCT_END() 272 IPC_STRUCT_END()
273 273
274 274
275 // Messages sent from the browser to the renderer. 275 // Messages sent from the browser to the renderer.
276 276
277 // Tells the render view to initiate print preview for the entire document. 277 // Tells the render view to initiate print preview for the entire document.
278 IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* selection_only */) 278 IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* selection_only */)
279 279
280 // Tells the render view to initiate printing or print preview for a particular 280 // Tells the render frame to initiate printing or print preview for a particular
281 // node, depending on which mode the render view is in. 281 // node, depending on which mode the render frame is in.
282 IPC_MESSAGE_ROUTED0(PrintMsg_PrintNodeUnderContextMenu) 282 IPC_MESSAGE_ROUTED0(PrintMsg_PrintNodeUnderContextMenu)
283 283
284 // Tells the renderer to print the print preview tab's PDF plugin without 284 // Tells the renderer to print the print preview tab's PDF plugin without
285 // showing the print dialog. (This is the final step in the print preview 285 // showing the print dialog. (This is the final step in the print preview
286 // workflow.) 286 // workflow.)
287 IPC_MESSAGE_ROUTED1(PrintMsg_PrintForPrintPreview, 287 IPC_MESSAGE_ROUTED1(PrintMsg_PrintForPrintPreview,
288 base::DictionaryValue /* settings */) 288 base::DictionaryValue /* settings */)
289 289
290 // Tells the render view to switch the CSS to print media type, renders every 290 // Tells the render view to switch the CSS to print media type, renders every
291 // requested pages and switch back the CSS to display media type. 291 // requested pages and switch back the CSS to display media type.
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 433 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
434 434
435 // Tell the browser to show the print preview, when the document is sufficiently 435 // Tell the browser to show the print preview, when the document is sufficiently
436 // loaded such that the renderer can determine whether it is modifiable or not. 436 // loaded such that the renderer can determine whether it is modifiable or not.
437 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 437 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
438 bool /* is_modifiable */) 438 bool /* is_modifiable */)
439 439
440 // Notify the browser that the PDF in the initiator renderer has disabled print 440 // Notify the browser that the PDF in the initiator renderer has disabled print
441 // scaling option. 441 // scaling option.
442 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 442 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_context_menu/render_view_context_menu.cc ('k') | chrome/renderer/chrome_render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698