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 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 | 1573 |
1574 // Sent to update part of the view. In response to this message, the host | 1574 // Sent to update part of the view. In response to this message, the host |
1575 // generates a ViewMsg_UpdateRect_ACK message. | 1575 // generates a ViewMsg_UpdateRect_ACK message. |
1576 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1576 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1577 ViewHostMsg_UpdateRect_Params) | 1577 ViewHostMsg_UpdateRect_Params) |
1578 | 1578 |
1579 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, | 1579 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, |
1580 // which may get delayed until the browser's UI unblocks. | 1580 // which may get delayed until the browser's UI unblocks. |
1581 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) | 1581 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) |
1582 | 1582 |
| 1583 // Sent by the renderer when the parameters for vsync alignment have changed. |
| 1584 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, |
| 1585 base::TimeTicks /* timebase */, |
| 1586 base::TimeDelta /* interval */) |
| 1587 |
1583 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1588 // Sent by the renderer when accelerated compositing is enabled or disabled to |
1584 // notify the browser whether or not is should do painting. | 1589 // notify the browser whether or not is should do painting. |
1585 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1590 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
1586 bool /* true if the accelerated compositor is actve */) | 1591 bool /* true if the accelerated compositor is actve */) |
1587 | 1592 |
1588 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1593 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
1589 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, | 1594 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, |
1590 WebKit::WebInputEvent::Type, | 1595 WebKit::WebInputEvent::Type, |
1591 bool /* processed */) | 1596 bool /* processed */) |
1592 | 1597 |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2172 // (according to the value of is_hung). The browser can give the user the | 2177 // (according to the value of is_hung). The browser can give the user the |
2173 // option of killing the plugin. | 2178 // option of killing the plugin. |
2174 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2179 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2175 int /* plugin_child_id */, | 2180 int /* plugin_child_id */, |
2176 FilePath /* path */, | 2181 FilePath /* path */, |
2177 bool /* is_hung */) | 2182 bool /* is_hung */) |
2178 | 2183 |
2179 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2184 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2180 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2185 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2181 int /* orientation */) | 2186 int /* orientation */) |
OLD | NEW |