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 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1560 | 1560 |
1561 // Sent to update part of the view. In response to this message, the host | 1561 // Sent to update part of the view. In response to this message, the host |
1562 // generates a ViewMsg_UpdateRect_ACK message. | 1562 // generates a ViewMsg_UpdateRect_ACK message. |
1563 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1563 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
1564 ViewHostMsg_UpdateRect_Params) | 1564 ViewHostMsg_UpdateRect_Params) |
1565 | 1565 |
1566 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, | 1566 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, |
1567 // which may get delayed until the browser's UI unblocks. | 1567 // which may get delayed until the browser's UI unblocks. |
1568 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) | 1568 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) |
1569 | 1569 |
| 1570 // Sent by the renderer when the parameters for vsync alignment have changed. |
| 1571 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, |
| 1572 base::TimeTicks /* timebase */, |
| 1573 base::TimeDelta /* interval */) |
| 1574 |
1570 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1575 // Sent by the renderer when accelerated compositing is enabled or disabled to |
1571 // notify the browser whether or not is should do painting. | 1576 // notify the browser whether or not is should do painting. |
1572 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1577 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
1573 bool /* true if the accelerated compositor is actve */) | 1578 bool /* true if the accelerated compositor is actve */) |
1574 | 1579 |
1575 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1580 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
1576 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, | 1581 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, |
1577 WebKit::WebInputEvent::Type, | 1582 WebKit::WebInputEvent::Type, |
1578 bool /* processed */) | 1583 bool /* processed */) |
1579 | 1584 |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2161 // (according to the value of is_hung). The browser can give the user the | 2166 // (according to the value of is_hung). The browser can give the user the |
2162 // option of killing the plugin. | 2167 // option of killing the plugin. |
2163 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2168 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2164 int /* plugin_child_id */, | 2169 int /* plugin_child_id */, |
2165 FilePath /* path */, | 2170 FilePath /* path */, |
2166 bool /* is_hung */) | 2171 bool /* is_hung */) |
2167 | 2172 |
2168 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2173 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2169 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2174 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2170 int /* orientation */) | 2175 int /* orientation */) |
OLD | NEW |