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

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

Issue 343003003: Move IPC traits for SkBitmap, gfx_geometry into ui/gfx/ipc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some missing includes & gfx_ipc deps Created 6 years, 5 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/chrome_utility_messages.h ('k') | chrome/common/render_messages.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
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 #include "printing/page_size_margins.h" 14 #include "printing/page_size_margins.h"
15 #include "printing/print_job_constants.h" 15 #include "printing/print_job_constants.h"
16 #include "third_party/WebKit/public/web/WebPrintScalingOption.h" 16 #include "third_party/WebKit/public/web/WebPrintScalingOption.h"
17 #include "ui/gfx/ipc/gfx_param_traits.h"
17 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
18 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
19 20
20 #ifndef CHROME_COMMON_PRINT_MESSAGES_H_ 21 #ifndef CHROME_COMMON_PRINT_MESSAGES_H_
21 #define CHROME_COMMON_PRINT_MESSAGES_H_ 22 #define CHROME_COMMON_PRINT_MESSAGES_H_
22 23
23 struct PrintMsg_Print_Params { 24 struct PrintMsg_Print_Params {
24 PrintMsg_Print_Params(); 25 PrintMsg_Print_Params();
25 ~PrintMsg_Print_Params(); 26 ~PrintMsg_Print_Params();
26 27
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview) 439 IPC_SYNC_MESSAGE_ROUTED0_0(PrintHostMsg_SetupScriptedPrintPreview)
439 440
440 // Tell the browser to show the print preview, when the document is sufficiently 441 // Tell the browser to show the print preview, when the document is sufficiently
441 // loaded such that the renderer can determine whether it is modifiable or not. 442 // loaded such that the renderer can determine whether it is modifiable or not.
442 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview, 443 IPC_MESSAGE_ROUTED1(PrintHostMsg_ShowScriptedPrintPreview,
443 bool /* is_modifiable */) 444 bool /* is_modifiable */)
444 445
445 // Notify the browser that the PDF in the initiator renderer has disabled print 446 // Notify the browser that the PDF in the initiator renderer has disabled print
446 // scaling option. 447 // scaling option.
447 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled) 448 IPC_MESSAGE_ROUTED0(PrintHostMsg_PrintPreviewScalingDisabled)
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698