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

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

Issue 10544084: Fix crash when displaying system print dialog on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra render_view_id references Created 8 years, 6 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 // The size of the page the page author specified. 245 // The size of the page the page author specified.
246 IPC_STRUCT_MEMBER(gfx::Size, page_size) 246 IPC_STRUCT_MEMBER(gfx::Size, page_size)
247 247
248 // The printable area the page author specified. 248 // The printable area the page author specified.
249 IPC_STRUCT_MEMBER(gfx::Rect, content_area) 249 IPC_STRUCT_MEMBER(gfx::Rect, content_area)
250 IPC_STRUCT_END() 250 IPC_STRUCT_END()
251 251
252 // Parameters for the IPC message ViewHostMsg_ScriptedPrint 252 // Parameters for the IPC message ViewHostMsg_ScriptedPrint
253 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params) 253 IPC_STRUCT_BEGIN(PrintHostMsg_ScriptedPrint_Params)
254 IPC_STRUCT_MEMBER(gfx::NativeViewId, host_window_id)
255 IPC_STRUCT_MEMBER(int, cookie) 254 IPC_STRUCT_MEMBER(int, cookie)
256 IPC_STRUCT_MEMBER(int, expected_pages_count) 255 IPC_STRUCT_MEMBER(int, expected_pages_count)
257 IPC_STRUCT_MEMBER(bool, has_selection) 256 IPC_STRUCT_MEMBER(bool, has_selection)
258 IPC_STRUCT_MEMBER(printing::MarginType, margin_type) 257 IPC_STRUCT_MEMBER(printing::MarginType, margin_type)
259 IPC_STRUCT_END() 258 IPC_STRUCT_END()
260 259
261 260
262 // Messages sent from the browser to the renderer. 261 // Messages sent from the browser to the renderer.
263 262
264 // Tells the render view to initiate print preview for the entire document. 263 // Tells the render view to initiate print preview for the entire document.
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 int /* document cookie */) 415 int /* document cookie */)
417 416
418 // Run a nested message loop in the renderer until print preview for 417 // Run a nested message loop in the renderer until print preview for
419 // window.print() finishes. 418 // window.print() finishes.
420 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview, 419 IPC_SYNC_MESSAGE_ROUTED1_0(PrintHostMsg_ScriptedPrintPreview,
421 bool /* is_modifiable */) 420 bool /* is_modifiable */)
422 421
423 // Notify the browser that the PDF in the initiator renderer has disabled print 422 // Notify the browser that the PDF in the initiator renderer has disabled print
424 // scaling option. 423 // scaling option.
425 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 424 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698