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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1451 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1451 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1452 IPC_STRUCT_END() | 1452 IPC_STRUCT_END() |
1453 | 1453 |
1454 // This message is synthesized by GpuProcessHost to pass through a swap message | 1454 // This message is synthesized by GpuProcessHost to pass through a swap message |
1455 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1455 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
1456 // software or GPU frame. | 1456 // software or GPU frame. |
1457 IPC_MESSAGE_ROUTED1( | 1457 IPC_MESSAGE_ROUTED1( |
1458 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 1458 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
1459 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 1459 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
1460 | 1460 |
1461 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 1461 IPC_MESSAGE_ROUTED3( |
1462 uint32 /* output_surface_id */, | 1462 ViewHostMsg_SwapCompositorFrame, |
1463 cc::CompositorFrame /* frame */) | 1463 uint32 /* output_surface_id */, |
| 1464 cc::CompositorFrame /* frame */, |
| 1465 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
1464 | 1466 |
1465 // Sent by the compositor when a flinging animation is stopped. | 1467 // Sent by the compositor when a flinging animation is stopped. |
1466 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | 1468 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
1467 | 1469 |
1468 //--------------------------------------------------------------------------- | 1470 //--------------------------------------------------------------------------- |
1469 // Request for cryptographic operation messages: | 1471 // Request for cryptographic operation messages: |
1470 // These are messages from the renderer to the browser to perform a | 1472 // These are messages from the renderer to the browser to perform a |
1471 // cryptographic operation. | 1473 // cryptographic operation. |
1472 | 1474 |
1473 // Asks the browser process to generate a keypair for grabbing a client | 1475 // Asks the browser process to generate a keypair for grabbing a client |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 | 1569 |
1568 // Notifies the browser that document has parsed the body. This is used by the | 1570 // Notifies the browser that document has parsed the body. This is used by the |
1569 // ResourceScheduler as an indication that bandwidth contention won't block | 1571 // ResourceScheduler as an indication that bandwidth contention won't block |
1570 // first paint. | 1572 // first paint. |
1571 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 1573 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
1572 | 1574 |
1573 // Notification that the urls for the favicon of a site has been determined. | 1575 // Notification that the urls for the favicon of a site has been determined. |
1574 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, | 1576 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
1575 std::vector<content::FaviconURL> /* candidates */) | 1577 std::vector<content::FaviconURL> /* candidates */) |
1576 | 1578 |
1577 // Sent once a paint happens after the first non empty layout. In other words | |
1578 // after the page has painted something. | |
1579 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) | |
1580 | |
1581 // Sent by the renderer to the browser to start a vibration with the given | 1579 // Sent by the renderer to the browser to start a vibration with the given |
1582 // duration. | 1580 // duration. |
1583 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | 1581 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, |
1584 int64 /* milliseconds */) | 1582 int64 /* milliseconds */) |
1585 | 1583 |
1586 // Sent by the renderer to the browser to cancel the currently running | 1584 // Sent by the renderer to the browser to cancel the currently running |
1587 // vibration, if there is one. | 1585 // vibration, if there is one. |
1588 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | 1586 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) |
1589 | 1587 |
1590 // Message sent from renderer to the browser when the element that is focused | 1588 // Message sent from renderer to the browser when the element that is focused |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 // Since the browser keeps handles to the allocated transport DIBs, this | 1695 // Since the browser keeps handles to the allocated transport DIBs, this |
1698 // message is sent to tell the browser that it may release them when the | 1696 // message is sent to tell the browser that it may release them when the |
1699 // renderer is finished with them. | 1697 // renderer is finished with them. |
1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1698 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1701 TransportDIB::Id /* DIB id */) | 1699 TransportDIB::Id /* DIB id */) |
1702 #endif | 1700 #endif |
1703 | 1701 |
1704 // Adding a new message? Stick to the sort order above: first platform | 1702 // Adding a new message? Stick to the sort order above: first platform |
1705 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1703 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1706 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1704 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |