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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, | 740 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, |
741 TransportDIB::Handle /* dib_handle */, | 741 TransportDIB::Handle /* dib_handle */, |
742 int /* tag */, | 742 int /* tag */, |
743 gfx::Size /* page_size */, | 743 gfx::Size /* page_size */, |
744 gfx::Size /* desired_size */) | 744 gfx::Size /* desired_size */) |
745 | 745 |
746 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. | 746 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. |
747 // This signals the render view that it can send another UpdateRect message. | 747 // This signals the render view that it can send another UpdateRect message. |
748 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) | 748 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) |
749 | 749 |
750 // Message payload includes a blob that should be cast to WebInputEvent | 750 // Message payload includes: |
| 751 // 1. A blob that should be cast to WebInputEvent |
| 752 // 2. An optional boolean value indicating if a RawKeyDown event is associated |
| 753 // to a keyboard shortcut of the browser. |
751 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 754 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
752 | 755 |
753 // This message notifies the renderer that the next key event is bound to one | 756 // This message notifies the renderer that the next key event is bound to one |
754 // or more pre-defined edit commands. If the next key event is not handled | 757 // or more pre-defined edit commands. If the next key event is not handled |
755 // by webkit, the specified edit commands shall be executed against current | 758 // by webkit, the specified edit commands shall be executed against current |
756 // focused frame. | 759 // focused frame. |
757 // Parameters | 760 // Parameters |
758 // * edit_commands (see chrome/common/edit_command_types.h) | 761 // * edit_commands (see chrome/common/edit_command_types.h) |
759 // Contains one or more edit commands. | 762 // Contains one or more edit commands. |
760 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed | 763 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed |
(...skipping 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1952 media::MediaLogEvent /* event */) | 1955 media::MediaLogEvent /* event */) |
1953 | 1956 |
1954 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1957 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1955 // being sent back. | 1958 // being sent back. |
1956 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1959 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1957 | 1960 |
1958 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1961 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1959 // whenever the mouse is unlocked (which may or may not be caused by | 1962 // whenever the mouse is unlocked (which may or may not be caused by |
1960 // ViewHostMsg_UnlockMouse). | 1963 // ViewHostMsg_UnlockMouse). |
1961 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1964 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |