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 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1495 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 1495 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
1496 IPC_STRUCT_END() | 1496 IPC_STRUCT_END() |
1497 | 1497 |
1498 // This message is synthesized by GpuProcessHost to pass through a swap message | 1498 // This message is synthesized by GpuProcessHost to pass through a swap message |
1499 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a | 1499 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
1500 // software or GPU frame. | 1500 // software or GPU frame. |
1501 IPC_MESSAGE_ROUTED1( | 1501 IPC_MESSAGE_ROUTED1( |
1502 ViewHostMsg_CompositorSurfaceBuffersSwapped, | 1502 ViewHostMsg_CompositorSurfaceBuffersSwapped, |
1503 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) | 1503 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
1504 | 1504 |
1505 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, | 1505 IPC_MESSAGE_ROUTED3( |
1506 uint32 /* output_surface_id */, | 1506 ViewHostMsg_SwapCompositorFrame, |
1507 cc::CompositorFrame /* frame */) | 1507 uint32 /* output_surface_id */, |
| 1508 cc::CompositorFrame /* frame */, |
| 1509 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
1508 | 1510 |
1509 // Sent by the compositor when input scroll events are dropped due to bounds | 1511 // Sent by the compositor when input scroll events are dropped due to bounds |
1510 // restricions on the root scroll offset. | 1512 // restricions on the root scroll offset. |
1511 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, | 1513 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidOverscroll, |
1512 content::DidOverscrollParams /* params */) | 1514 content::DidOverscrollParams /* params */) |
1513 | 1515 |
1514 // Sent by the compositor when a flinging animation is stopped. | 1516 // Sent by the compositor when a flinging animation is stopped. |
1515 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) | 1517 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) |
1516 | 1518 |
1517 //--------------------------------------------------------------------------- | 1519 //--------------------------------------------------------------------------- |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1762 // synchronously (see crbug.com/120597). This IPC message sends the character | 1764 // synchronously (see crbug.com/120597). This IPC message sends the character |
1763 // bounds after every composition change to always have correct bound info. | 1765 // bounds after every composition change to always have correct bound info. |
1764 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1766 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1765 gfx::Range /* composition range */, | 1767 gfx::Range /* composition range */, |
1766 std::vector<gfx::Rect> /* character bounds */) | 1768 std::vector<gfx::Rect> /* character bounds */) |
1767 #endif | 1769 #endif |
1768 | 1770 |
1769 // Adding a new message? Stick to the sort order above: first platform | 1771 // Adding a new message? Stick to the sort order above: first platform |
1770 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1772 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1771 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1773 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |