| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 // Sent by browser to tell renderer compositor that some resources that were | 787 // Sent by browser to tell renderer compositor that some resources that were |
| 788 // given to the browser in a swap are not being used anymore. | 788 // given to the browser in a swap are not being used anymore. |
| 789 // If this message is in response to a swap then is_swap_ack is set. | 789 // If this message is in response to a swap then is_swap_ack is set. |
| 790 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, | 790 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
| 791 uint32_t /* compositor_frame_sink_id */, | 791 uint32_t /* compositor_frame_sink_id */, |
| 792 bool /* is_swap_ack */, | 792 bool /* is_swap_ack */, |
| 793 cc::ReturnedResourceArray /* resources */) | 793 cc::ReturnedResourceArray /* resources */) |
| 794 | 794 |
| 795 // Sent by browser to give renderer compositor a new namespace ID for any | 795 // Sent by browser to give renderer compositor a new namespace ID for any |
| 796 // SurfaceSequences it has to create. | 796 // SurfaceSequences it has to create. |
| 797 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, | 797 IPC_MESSAGE_ROUTED1(ViewMsg_SetFrameSinkId, cc::FrameSinkId /* frame_sink_id */) |
| 798 uint32_t /* surface_id_namespace */) | |
| 799 | 798 |
| 800 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 799 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 801 | 800 |
| 802 // Sent by the browser to ask the renderer to redraw. Robust to events that can | 801 // Sent by the browser to ask the renderer to redraw. Robust to events that can |
| 803 // happen in renderer (abortion of the commit or draw, loss of output surface | 802 // happen in renderer (abortion of the commit or draw, loss of output surface |
| 804 // etc.). | 803 // etc.). |
| 805 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 804 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 806 ui::LatencyInfo /* latency_info */) | 805 ui::LatencyInfo /* latency_info */) |
| 807 | 806 |
| 808 // Let renderer know begin frame messages won't be sent even if requested. | 807 // Let renderer know begin frame messages won't be sent even if requested. |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 int /* y */) | 1155 int /* y */) |
| 1157 | 1156 |
| 1158 #elif defined(OS_MACOSX) | 1157 #elif defined(OS_MACOSX) |
| 1159 // Receives content of a web page as plain text. | 1158 // Receives content of a web page as plain text. |
| 1160 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1159 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1161 #endif | 1160 #endif |
| 1162 | 1161 |
| 1163 // Adding a new message? Stick to the sort order above: first platform | 1162 // Adding a new message? Stick to the sort order above: first platform |
| 1164 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1163 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1165 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1164 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |