OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 // Ack goes directly from browser -> renderer. This is not used for the threaded | 884 // Ack goes directly from browser -> renderer. This is not used for the threaded |
885 // compositor path. | 885 // compositor path. |
886 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) | 886 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) |
887 | 887 |
888 // Message payload includes: | 888 // Message payload includes: |
889 // 1. A blob that should be cast to WebInputEvent | 889 // 1. A blob that should be cast to WebInputEvent |
890 // 2. An optional boolean value indicating if a RawKeyDown event is associated | 890 // 2. An optional boolean value indicating if a RawKeyDown event is associated |
891 // to a keyboard shortcut of the browser. | 891 // to a keyboard shortcut of the browser. |
892 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 892 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
893 | 893 |
| 894 // Tells the render widget that a smooth scroll completed. |
| 895 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted, |
| 896 int /* gesture_id */) |
| 897 |
894 // This message notifies the renderer that the next key event is bound to one | 898 // This message notifies the renderer that the next key event is bound to one |
895 // or more pre-defined edit commands. If the next key event is not handled | 899 // or more pre-defined edit commands. If the next key event is not handled |
896 // by webkit, the specified edit commands shall be executed against current | 900 // by webkit, the specified edit commands shall be executed against current |
897 // focused frame. | 901 // focused frame. |
898 // Parameters | 902 // Parameters |
899 // * edit_commands (see chrome/common/edit_command_types.h) | 903 // * edit_commands (see chrome/common/edit_command_types.h) |
900 // Contains one or more edit commands. | 904 // Contains one or more edit commands. |
901 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed | 905 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed |
902 // definition of webkit edit commands. | 906 // definition of webkit edit commands. |
903 // | 907 // |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1593 // Sent by the renderer when accelerated compositing is enabled or disabled to |
1590 // notify the browser whether or not is should do painting. | 1594 // notify the browser whether or not is should do painting. |
1591 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1595 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
1592 bool /* true if the accelerated compositor is actve */) | 1596 bool /* true if the accelerated compositor is actve */) |
1593 | 1597 |
1594 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1598 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
1595 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, | 1599 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, |
1596 WebKit::WebInputEvent::Type, | 1600 WebKit::WebInputEvent::Type, |
1597 bool /* processed */) | 1601 bool /* processed */) |
1598 | 1602 |
1599 IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll, | 1603 IPC_MESSAGE_ROUTED3(ViewHostMsg_BeginSmoothScroll, |
| 1604 int /* gesture_id */, |
1600 bool /* scroll_down */, | 1605 bool /* scroll_down */, |
1601 bool /* scroll_far */) | 1606 bool /* scroll_far */) |
1602 | 1607 |
1603 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) | 1608 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) |
1604 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) | 1609 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) |
1605 | 1610 |
1606 // Message sent from renderer to the browser when focus changes inside the | 1611 // Message sent from renderer to the browser when focus changes inside the |
1607 // webpage. The parameter says whether the newly focused element needs | 1612 // webpage. The parameter says whether the newly focused element needs |
1608 // keyboard input (true for textfields, text areas and content editable divs). | 1613 // keyboard input (true for textfields, text areas and content editable divs). |
1609 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, | 1614 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2180 // (according to the value of is_hung). The browser can give the user the | 2185 // (according to the value of is_hung). The browser can give the user the |
2181 // option of killing the plugin. | 2186 // option of killing the plugin. |
2182 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2187 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2183 int /* plugin_child_id */, | 2188 int /* plugin_child_id */, |
2184 FilePath /* path */, | 2189 FilePath /* path */, |
2185 bool /* is_hung */) | 2190 bool /* is_hung */) |
2186 | 2191 |
2187 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2192 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2188 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2193 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2189 int /* orientation */) | 2194 int /* orientation */) |
OLD | NEW |