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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 int /* document_cookie */, | 132 int /* document_cookie */, |
133 bool /* success */) | 133 bool /* success */) |
134 | 134 |
135 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. | 135 // Tells the render view that a ViewHostMsg_ScrollRect message was processed. |
136 // This signals the render view that it can send another ScrollRect message. | 136 // This signals the render view that it can send another ScrollRect message. |
137 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) | 137 IPC_MESSAGE_ROUTED0(ViewMsg_ScrollRect_ACK) |
138 | 138 |
139 // Message payload is a blob that should be cast to WebInputEvent | 139 // Message payload is a blob that should be cast to WebInputEvent |
140 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 140 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
141 | 141 |
| 142 // This message notifies the renderer that the next key event is bound to one |
| 143 // or more pre-defined edit commands. If the next key event is not handled |
| 144 // by webkit, the specified edit commands shall be executed against current |
| 145 // focused frame. |
| 146 // Parameters |
| 147 // * edit_commands (see chrome/common/edit_command_types.h) |
| 148 // Contains one or more edit commands. |
| 149 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed |
| 150 // definition of webkit edit commands. |
| 151 // |
| 152 // This message must be sent just before sending a key event. |
| 153 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent, |
| 154 EditCommands /* edit_commands */) |
| 155 |
142 // Message payload is the name/value of a WebCore edit command to execute. | 156 // Message payload is the name/value of a WebCore edit command to execute. |
143 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand, | 157 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand, |
144 std::string, /* name */ | 158 std::string, /* name */ |
145 std::string /* value */) | 159 std::string /* value */) |
146 | 160 |
147 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost) | 161 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost) |
148 | 162 |
149 // TODO(darin): figure out how this meshes with RestoreFocus | 163 // TODO(darin): figure out how this meshes with RestoreFocus |
150 IPC_MESSAGE_ROUTED1(ViewMsg_SetFocus, bool /* enable */) | 164 IPC_MESSAGE_ROUTED1(ViewMsg_SetFocus, bool /* enable */) |
151 | 165 |
(...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1699 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1713 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1700 FilePath /* the name of the file */, | 1714 FilePath /* the name of the file */, |
1701 int32 /* a unique message ID */) | 1715 int32 /* a unique message ID */) |
1702 | 1716 |
1703 // Asks the browser process to return the size of a DB file | 1717 // Asks the browser process to return the size of a DB file |
1704 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1718 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1705 FilePath /* the name of the file */, | 1719 FilePath /* the name of the file */, |
1706 int32 /* a unique message ID */) | 1720 int32 /* a unique message ID */) |
1707 | 1721 |
1708 IPC_END_MESSAGES(ViewHost) | 1722 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |