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

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

Issue 81563002: Removed unused code path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Parameters to render the page as a printed page. It must always be the same 176 // Parameters to render the page as a printed page. It must always be the same
177 // value for all the document. 177 // value for all the document.
178 IPC_STRUCT_TRAITS_MEMBER(params) 178 IPC_STRUCT_TRAITS_MEMBER(params)
179 179
180 // If empty, this means a request to render all the printed pages. 180 // If empty, this means a request to render all the printed pages.
181 IPC_STRUCT_TRAITS_MEMBER(pages) 181 IPC_STRUCT_TRAITS_MEMBER(pages)
182 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
183 183
184 // Parameters to describe a rendered document. 184 // Parameters to describe a rendered document.
185 IPC_STRUCT_BEGIN(PrintHostMsg_DidPreviewDocument_Params) 185 IPC_STRUCT_BEGIN(PrintHostMsg_DidPreviewDocument_Params)
186 // True when we can reuse existing preview data. |metafile_data_handle| and
187 // |data_size| should not be used when this is true.
188 IPC_STRUCT_MEMBER(bool, reuse_existing_data)
189
190 // A shared memory handle to metafile data. 186 // A shared memory handle to metafile data.
191 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle) 187 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, metafile_data_handle)
192 188
193 // Size of metafile data. 189 // Size of metafile data.
194 IPC_STRUCT_MEMBER(uint32, data_size) 190 IPC_STRUCT_MEMBER(uint32, data_size)
195 191
196 // Cookie for the document to ensure correctness. 192 // Cookie for the document to ensure correctness.
197 IPC_STRUCT_MEMBER(int, document_cookie) 193 IPC_STRUCT_MEMBER(int, document_cookie)
198 194
199 // Store the expected pages count. 195 // Store the expected pages count.
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 431 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
436 432
437 // Tell the browser to show the print preview, when the document is sufficiently 433 // Tell the browser to show the print preview, when the document is sufficiently
438 // loaded such that the renderer can determine whether it is modifiable or not. 434 // loaded such that the renderer can determine whether it is modifiable or not.
439 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 435 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
440 bool /* is_modifiable */) 436 bool /* is_modifiable */)
441 437
442 // Notify the browser that the PDF in the initiator renderer has disabled print 438 // Notify the browser that the PDF in the initiator renderer has disabled print
443 // scaling option. 439 // scaling option.
444 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 440 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698