| 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 "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1636 | 1636 |
| 1637 // Sent to update part of the view. In response to this message, the host | 1637 // Sent to update part of the view. In response to this message, the host |
| 1638 // generates a ViewMsg_UpdateRect_ACK message. | 1638 // generates a ViewMsg_UpdateRect_ACK message. |
| 1639 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1639 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| 1640 ViewHostMsg_UpdateRect_Params) | 1640 ViewHostMsg_UpdateRect_Params) |
| 1641 | 1641 |
| 1642 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, | 1642 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, |
| 1643 // which may get delayed until the browser's UI unblocks. | 1643 // which may get delayed until the browser's UI unblocks. |
| 1644 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) | 1644 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) |
| 1645 | 1645 |
| 1646 // Sent by the renderer when the parameters for vsync alignment have changed. | 1646 // Sent by the browser when the parameters for vsync alignment have changed. |
| 1647 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, | 1647 IPC_MESSAGE_ROUTED2(ViewMsg_UpdateVSyncParameters, |
| 1648 base::TimeTicks /* timebase */, | 1648 base::TimeTicks /* timebase */, |
| 1649 base::TimeDelta /* interval */) | 1649 base::TimeDelta /* interval */) |
| 1650 | 1650 |
| 1651 // Sent by renderer to request a ViewMsg_VSync message for upcoming display |
| 1652 // vsync events. If |enabled| is true, the vsync message will continue to be be |
| 1653 // delivered until the notification is disabled. |
| 1654 IPC_MESSAGE_ROUTED1(ViewHostMsg_EnableVSyncNotification, |
| 1655 bool /* enabled */) |
| 1656 |
| 1657 // Sent by the browser when the display vsync signal was triggered and the |
| 1658 // renderer should generate a new frame. |
| 1659 IPC_MESSAGE_ROUTED1(ViewMsg_DidVSync, |
| 1660 base::TimeTicks /* frame_time */) |
| 1661 |
| 1651 // Sent by the renderer when accelerated compositing is enabled or disabled to | 1662 // Sent by the renderer when accelerated compositing is enabled or disabled to |
| 1652 // notify the browser whether or not is should do painting. | 1663 // notify the browser whether or not is should do painting. |
| 1653 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, | 1664 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, |
| 1654 bool /* true if the accelerated compositor is actve */) | 1665 bool /* true if the accelerated compositor is actve */) |
| 1655 | 1666 |
| 1656 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1667 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
| 1657 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, | 1668 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK, |
| 1658 WebKit::WebInputEvent::Type, | 1669 WebKit::WebInputEvent::Type, |
| 1659 content::InputEventAckState /* ack_result */) | 1670 content::InputEventAckState /* ack_result */) |
| 1660 | 1671 |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2387 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2398 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2388 // for details. | 2399 // for details. |
| 2389 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2400 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2390 LOGFONT /* font_data */, | 2401 LOGFONT /* font_data */, |
| 2391 string16 /* characters */) | 2402 string16 /* characters */) |
| 2392 #endif | 2403 #endif |
| 2393 | 2404 |
| 2394 // Notifies the browser that the frame with the given id was detached. | 2405 // Notifies the browser that the frame with the given id was detached. |
| 2395 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2406 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
| 2396 int64 /* frame_id */) | 2407 int64 /* frame_id */) |
| OLD | NEW |