OLD | NEW |
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 // Fill a form with data and optionally submit it | 324 // Fill a form with data and optionally submit it |
325 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill, | 325 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill, |
326 FormData /* form */) | 326 FormData /* form */) |
327 | 327 |
328 // Fill a password form and prepare field autocomplete for multiple | 328 // Fill a password form and prepare field autocomplete for multiple |
329 // matching logins. | 329 // matching logins. |
330 IPC_MESSAGE_ROUTED1(ViewMsg_FillPasswordForm, | 330 IPC_MESSAGE_ROUTED1(ViewMsg_FillPasswordForm, |
331 webkit_glue::PasswordFormDomManager::FillData) | 331 webkit_glue::PasswordFormDomManager::FillData) |
332 | 332 |
333 // D&d drop target messages. | 333 // D&d drop target messages. |
334 IPC_MESSAGE_ROUTED3(ViewMsg_DragTargetDragEnter, | 334 IPC_MESSAGE_ROUTED4(ViewMsg_DragTargetDragEnter, |
335 WebDropData /* drop_data */, | 335 WebDropData /* drop_data */, |
336 gfx::Point /* client_pt */, | 336 gfx::Point /* client_pt */, |
337 gfx::Point /* screen_pt */) | 337 gfx::Point /* screen_pt */, |
338 IPC_MESSAGE_ROUTED2(ViewMsg_DragTargetDragOver, | 338 WebKit::WebDragOperationsMask /* ops_allowed */) |
| 339 IPC_MESSAGE_ROUTED3(ViewMsg_DragTargetDragOver, |
339 gfx::Point /* client_pt */, | 340 gfx::Point /* client_pt */, |
340 gfx::Point /* screen_pt */) | 341 gfx::Point /* screen_pt */, |
| 342 WebKit::WebDragOperationsMask /* ops_allowed */) |
341 IPC_MESSAGE_ROUTED0(ViewMsg_DragTargetDragLeave) | 343 IPC_MESSAGE_ROUTED0(ViewMsg_DragTargetDragLeave) |
342 IPC_MESSAGE_ROUTED2(ViewMsg_DragTargetDrop, | 344 IPC_MESSAGE_ROUTED2(ViewMsg_DragTargetDrop, |
343 gfx::Point /* client_pt */, | 345 gfx::Point /* client_pt */, |
344 gfx::Point /* screen_pt */) | 346 gfx::Point /* screen_pt */) |
345 | 347 |
346 IPC_MESSAGE_ROUTED1(ViewMsg_UploadFile, ViewMsg_UploadFile_Params) | 348 IPC_MESSAGE_ROUTED1(ViewMsg_UploadFile, ViewMsg_UploadFile_Params) |
347 | 349 |
348 // Notifies the renderer of updates in mouse position of an in-progress | 350 // Notifies the renderer of updates in mouse position of an in-progress |
349 // drag. if |ended| is true, then the user has ended the drag operation. | 351 // drag. if |ended| is true, then the user has ended the drag operation. |
350 IPC_MESSAGE_ROUTED4(ViewMsg_DragSourceEndedOrMoved, | 352 IPC_MESSAGE_ROUTED4(ViewMsg_DragSourceEndedOrMoved, |
351 gfx::Point /* client_pt */, | 353 gfx::Point /* client_pt */, |
352 gfx::Point /* screen_pt */, | 354 gfx::Point /* screen_pt */, |
353 bool /* ended */, | 355 bool /* ended */, |
354 bool /* cancelled */) | 356 WebKit::WebDragOperation /* drag_operation */) |
355 | 357 |
356 // Notifies the renderer that the system DoDragDrop call has ended. | 358 // Notifies the renderer that the system DoDragDrop call has ended. |
357 IPC_MESSAGE_ROUTED0(ViewMsg_DragSourceSystemDragEnded) | 359 IPC_MESSAGE_ROUTED0(ViewMsg_DragSourceSystemDragEnded) |
358 | 360 |
359 // Used to tell a render view whether it should expose various bindings | 361 // Used to tell a render view whether it should expose various bindings |
360 // that allow JS content extended privileges. See BindingsPolicy for valid | 362 // that allow JS content extended privileges. See BindingsPolicy for valid |
361 // flag values. | 363 // flag values. |
362 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, | 364 IPC_MESSAGE_ROUTED1(ViewMsg_AllowBindings, |
363 int /* enabled_bindings_flags */) | 365 int /* enabled_bindings_flags */) |
364 | 366 |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 std::vector<webkit_glue::PasswordForm> /* forms */) | 1099 std::vector<webkit_glue::PasswordForm> /* forms */) |
1098 | 1100 |
1099 // Notification that a form has been submitted. The user hit the button. | 1101 // Notification that a form has been submitted. The user hit the button. |
1100 IPC_MESSAGE_ROUTED1(ViewHostMsg_AutofillFormSubmitted, | 1102 IPC_MESSAGE_ROUTED1(ViewHostMsg_AutofillFormSubmitted, |
1101 webkit_glue::AutofillForm /* form */) | 1103 webkit_glue::AutofillForm /* form */) |
1102 | 1104 |
1103 // Used to tell the parent the user started dragging in the content area. The | 1105 // Used to tell the parent the user started dragging in the content area. The |
1104 // WebDropData struct contains contextual information about the pieces of the | 1106 // WebDropData struct contains contextual information about the pieces of the |
1105 // page the user dragged. The parent uses this notification to initiate a | 1107 // page the user dragged. The parent uses this notification to initiate a |
1106 // drag session at the OS level. | 1108 // drag session at the OS level. |
1107 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartDragging, | 1109 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartDragging, |
1108 WebDropData /* drop_data */) | 1110 WebDropData /* drop_data */, |
| 1111 WebKit::WebDragOperationsMask /* ops_allowed */) |
1109 | 1112 |
1110 // The page wants to update the mouse cursor during a drag & drop operation. | 1113 // The page wants to update the mouse cursor during a drag & drop operation. |
1111 // |is_drop_target| is true if the mouse is over a valid drop target. | 1114 // |is_drop_target| is true if the mouse is over a valid drop target. |
1112 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateDragCursor, | 1115 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateDragCursor, |
1113 bool /* is_drop_target */) | 1116 WebKit::WebDragOperation /* drag_operation */) |
1114 | 1117 |
1115 // Tells the browser to move the focus to the next (previous if reverse is | 1118 // Tells the browser to move the focus to the next (previous if reverse is |
1116 // true) focusable element. | 1119 // true) focusable element. |
1117 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, bool /* reverse */) | 1120 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, bool /* reverse */) |
1118 | 1121 |
1119 // Notification that the page has an OpenSearch description document | 1122 // Notification that the page has an OpenSearch description document |
1120 // associated with it. | 1123 // associated with it. |
1121 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD, | 1124 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD, |
1122 int32 /* page_id */, | 1125 int32 /* page_id */, |
1123 GURL /* url of OS description document */, | 1126 GURL /* url of OS description document */, |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1695 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1693 FilePath /* the name of the file */, | 1696 FilePath /* the name of the file */, |
1694 int32 /* a unique message ID */) | 1697 int32 /* a unique message ID */) |
1695 | 1698 |
1696 // Asks the browser process to return the size of a DB file | 1699 // Asks the browser process to return the size of a DB file |
1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1700 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1698 FilePath /* the name of the file */, | 1701 FilePath /* the name of the file */, |
1699 int32 /* a unique message ID */) | 1702 int32 /* a unique message ID */) |
1700 | 1703 |
1701 IPC_END_MESSAGES(ViewHost) | 1704 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |