OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // to a keyboard shortcut of the browser. | 213 // to a keyboard shortcut of the browser. |
214 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 214 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
215 | 215 |
216 // This message notifies the renderer that the next key event is bound to one | 216 // This message notifies the renderer that the next key event is bound to one |
217 // or more pre-defined edit commands. If the next key event is not handled | 217 // or more pre-defined edit commands. If the next key event is not handled |
218 // by webkit, the specified edit commands shall be executed against current | 218 // by webkit, the specified edit commands shall be executed against current |
219 // focused frame. | 219 // focused frame. |
220 // Parameters | 220 // Parameters |
221 // * edit_commands (see chrome/common/edit_command_types.h) | 221 // * edit_commands (see chrome/common/edit_command_types.h) |
222 // Contains one or more edit commands. | 222 // Contains one or more edit commands. |
223 // See third_party/WebKit/WebCore/editing/EditorCommand.cpp for detailed | 223 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed |
224 // definition of webkit edit commands. | 224 // definition of webkit edit commands. |
225 // | 225 // |
226 // This message must be sent just before sending a key event. | 226 // This message must be sent just before sending a key event. |
227 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent, | 227 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent, |
228 std::vector<EditCommand> /* edit_commands */) | 228 std::vector<EditCommand> /* edit_commands */) |
229 | 229 |
230 // Message payload is the name/value of a WebCore edit command to execute. | 230 // Message payload is the name/value of a WebCore edit command to execute. |
231 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand, | 231 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand, |
232 std::string, /* name */ | 232 std::string, /* name */ |
233 std::string /* value */) | 233 std::string /* value */) |
(...skipping 2400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2634 int /* request_id */, | 2634 int /* request_id */, |
2635 PP_Flash_NetAddress /* addr */) | 2635 PP_Flash_NetAddress /* addr */) |
2636 | 2636 |
2637 // JavaScript related messages ----------------------------------------------- | 2637 // JavaScript related messages ----------------------------------------------- |
2638 | 2638 |
2639 // Notify the JavaScript engine in the render to change its parameters | 2639 // Notify the JavaScript engine in the render to change its parameters |
2640 // while performing stress testing. | 2640 // while performing stress testing. |
2641 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2641 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2642 int /* cmd */, | 2642 int /* cmd */, |
2643 int /* param */) | 2643 int /* param */) |
OLD | NEW |