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