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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, | 720 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, |
721 TransportDIB::Handle /* dib_handle */, | 721 TransportDIB::Handle /* dib_handle */, |
722 int /* tag */, | 722 int /* tag */, |
723 gfx::Size /* page_size */, | 723 gfx::Size /* page_size */, |
724 gfx::Size /* desired_size */) | 724 gfx::Size /* desired_size */) |
725 | 725 |
726 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. | 726 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. |
727 // This signals the render view that it can send another UpdateRect message. | 727 // This signals the render view that it can send another UpdateRect message. |
728 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) | 728 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) |
729 | 729 |
730 // Message payload includes: | 730 // Message payload includes a blob that should be cast to WebInputEvent |
731 // 1. A blob that should be cast to WebInputEvent | |
732 // 2. An optional boolean value indicating if a RawKeyDown event is associated | |
733 // to a keyboard shortcut of the browser. | |
734 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 731 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
735 | 732 |
736 // This message notifies the renderer that the next key event is bound to one | 733 // This message notifies the renderer that the next key event is bound to one |
737 // or more pre-defined edit commands. If the next key event is not handled | 734 // or more pre-defined edit commands. If the next key event is not handled |
738 // by webkit, the specified edit commands shall be executed against current | 735 // by webkit, the specified edit commands shall be executed against current |
739 // focused frame. | 736 // focused frame. |
740 // Parameters | 737 // Parameters |
741 // * edit_commands (see chrome/common/edit_command_types.h) | 738 // * edit_commands (see chrome/common/edit_command_types.h) |
742 // Contains one or more edit commands. | 739 // Contains one or more edit commands. |
743 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed | 740 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed |
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1907 media::MediaLogEvent /* event */) | 1904 media::MediaLogEvent /* event */) |
1908 | 1905 |
1909 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1906 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1910 // being sent back. | 1907 // being sent back. |
1911 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1908 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1912 | 1909 |
1913 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1910 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1914 // whenever the mouse is unlocked (which may or may not be caused by | 1911 // whenever the mouse is unlocked (which may or may not be caused by |
1915 // ViewHostMsg_UnlockMouse). | 1912 // ViewHostMsg_UnlockMouse). |
1916 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1913 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |