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

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

Issue 125082: Add Print Selection support to Chrome. This change is fairly involved since ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/renderer/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 IPC_MESSAGE_ROUTED0(ViewMsg_CaptureThumbnail) 93 IPC_MESSAGE_ROUTED0(ViewMsg_CaptureThumbnail)
94 94
95 // Tells the render view that a ViewHostMsg_PaintRect message was processed. 95 // Tells the render view that a ViewHostMsg_PaintRect message was processed.
96 // This signals the render view that it can send another PaintRect message. 96 // This signals the render view that it can send another PaintRect message.
97 IPC_MESSAGE_ROUTED0(ViewMsg_PaintRect_ACK) 97 IPC_MESSAGE_ROUTED0(ViewMsg_PaintRect_ACK)
98 98
99 // Tells the render view to switch the CSS to print media type, renders every 99 // Tells the render view to switch the CSS to print media type, renders every
100 // requested pages and switch back the CSS to display media type. 100 // requested pages and switch back the CSS to display media type.
101 IPC_MESSAGE_ROUTED0(ViewMsg_PrintPages) 101 IPC_MESSAGE_ROUTED0(ViewMsg_PrintPages)
102 102
103 // Tells the render view that printing is done so it can clean up.
104 IPC_MESSAGE_ROUTED2(ViewMsg_PrintingDone,
105 int /* document_cookie */,
106 bool /* success */)
107
103 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. 108 // Tells the render view that a ViewHostMsg_ScrollRect message was processed.
104 // This signals the render view that it can send another ScrollRect message. 109 // This signals the render view that it can send another ScrollRect message.
105 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) 110 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK)
106 111
107 // Message payload is a blob that should be cast to WebInputEvent 112 // Message payload is a blob that should be cast to WebInputEvent
108 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) 113 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent)
109 114
110 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost) 115 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost)
111 116
112 // TODO(darin): figure out how this meshes with RestoreFocus 117 // TODO(darin): figure out how this meshes with RestoreFocus
(...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded, 1454 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Succeeded,
1450 ListValue /* json data */) 1455 ListValue /* json data */)
1451 1456
1452 // Reply when the utility process has failed while unpacking and parsing a 1457 // Reply when the utility process has failed while unpacking and parsing a
1453 // web resource. |error_message| is a user-readable explanation of what 1458 // web resource. |error_message| is a user-readable explanation of what
1454 // went wrong. 1459 // went wrong.
1455 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, 1460 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed,
1456 std::string /* error_message, if any */) 1461 std::string /* error_message, if any */)
1457 1462
1458 IPC_END_MESSAGES(ViewHost) 1463 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/renderer/print_web_view_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698