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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1460 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1461 IPC_STRUCT_END() | 1461 IPC_STRUCT_END() |
1462 | 1462 |
1463 // This message is synthesized by GpuProcessHost to pass through a swap message | 1463 // This message is synthesized by GpuProcessHost to pass through a swap message |
1464 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1464 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
1465 // software or GPU frame. | 1465 // software or GPU frame. |
1466 IPC_MESSAGE_ROUTED1( | 1466 IPC_MESSAGE_ROUTED1( |
1467 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 1467 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
1468 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 1468 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
1469 | 1469 |
1470 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 1470 IPC_MESSAGE_ROUTED3( |
1471 uint32 /* output_surface_id */, | 1471 ViewHostMsg_SwapCompositorFrame, |
1472 cc::CompositorFrame /* frame */) | 1472 uint32 /* output_surface_id */, |
| 1473 cc::CompositorFrame /* frame */, |
| 1474 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
1473 | 1475 |
1474 // Sent by the compositor when a flinging animation is stopped. | 1476 // Sent by the compositor when a flinging animation is stopped. |
1475 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | 1477 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
1476 | 1478 |
1477 //--------------------------------------------------------------------------- | 1479 //--------------------------------------------------------------------------- |
1478 // Request for cryptographic operation messages: | 1480 // Request for cryptographic operation messages: |
1479 // These are messages from the renderer to the browser to perform a | 1481 // These are messages from the renderer to the browser to perform a |
1480 // cryptographic operation. | 1482 // cryptographic operation. |
1481 | 1483 |
1482 // Asks the browser process to generate a keypair for grabbing a client | 1484 // 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... |
1576 | 1578 |
1577 // Notifies the browser that document has parsed the body. This is used by the | 1579 // Notifies the browser that document has parsed the body. This is used by the |
1578 // ResourceScheduler as an indication that bandwidth contention won't block | 1580 // ResourceScheduler as an indication that bandwidth contention won't block |
1579 // first paint. | 1581 // first paint. |
1580 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 1582 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
1581 | 1583 |
1582 // Notification that the urls for the favicon of a site has been determined. | 1584 // Notification that the urls for the favicon of a site has been determined. |
1583 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, | 1585 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
1584 std::vector<content::FaviconURL> /* candidates */) | 1586 std::vector<content::FaviconURL> /* candidates */) |
1585 | 1587 |
1586 // Sent once a paint happens after the first non empty layout. In other words | |
1587 // after the page has painted something. | |
1588 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) | |
1589 | |
1590 // Sent by the renderer to the browser to start a vibration with the given | 1588 // Sent by the renderer to the browser to start a vibration with the given |
1591 // duration. | 1589 // duration. |
1592 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | 1590 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, |
1593 int64 /* milliseconds */) | 1591 int64 /* milliseconds */) |
1594 | 1592 |
1595 // Sent by the renderer to the browser to cancel the currently running | 1593 // Sent by the renderer to the browser to cancel the currently running |
1596 // vibration, if there is one. | 1594 // vibration, if there is one. |
1597 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | 1595 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) |
1598 | 1596 |
1599 // Message sent from renderer to the browser when the element that is focused | 1597 // Message sent from renderer to the browser when the element that is focused |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 // synchronously (see crbug.com/120597). This IPC message sends the character | 1715 // synchronously (see crbug.com/120597). This IPC message sends the character |
1718 // bounds after every composition change to always have correct bound info. | 1716 // bounds after every composition change to always have correct bound info. |
1719 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1717 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1720 gfx::Range /* composition range */, | 1718 gfx::Range /* composition range */, |
1721 std::vector<gfx::Rect> /* character bounds */) | 1719 std::vector<gfx::Rect> /* character bounds */) |
1722 #endif | 1720 #endif |
1723 | 1721 |
1724 // Adding a new message? Stick to the sort order above: first platform | 1722 // Adding a new message? Stick to the sort order above: first platform |
1725 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1723 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1726 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1724 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |