| 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 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 // Sent by browser to tell renderer compositor that some resources that were | 718 // Sent by browser to tell renderer compositor that some resources that were |
| 719 // given to the browser in a swap are not being used anymore. | 719 // given to the browser in a swap are not being used anymore. |
| 720 // If this message is in response to a swap then is_swap_ack is set. | 720 // If this message is in response to a swap then is_swap_ack is set. |
| 721 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, | 721 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
| 722 uint32_t /* compositor_frame_sink_id */, | 722 uint32_t /* compositor_frame_sink_id */, |
| 723 bool /* is_swap_ack */, | 723 bool /* is_swap_ack */, |
| 724 cc::ReturnedResourceArray /* resources */) | 724 cc::ReturnedResourceArray /* resources */) |
| 725 | 725 |
| 726 // Sent by browser to give renderer compositor a new namespace ID for any | 726 // Sent by browser to give renderer compositor a new namespace ID for any |
| 727 // SurfaceSequences it has to create. | 727 // SurfaceSequences it has to create. |
| 728 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, | 728 IPC_MESSAGE_ROUTED1(ViewMsg_SetFrameSinkId, cc::FrameSinkId /* frame_sink_id */) |
| 729 uint32_t /* surface_id_namespace */) | |
| 730 | 729 |
| 731 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 730 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 732 | 731 |
| 733 // Sent by the browser to ask the renderer to redraw. Robust to events that can | 732 // Sent by the browser to ask the renderer to redraw. Robust to events that can |
| 734 // happen in renderer (abortion of the commit or draw, loss of output surface | 733 // happen in renderer (abortion of the commit or draw, loss of output surface |
| 735 // etc.). | 734 // etc.). |
| 736 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 735 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 737 ui::LatencyInfo /* latency_info */) | 736 ui::LatencyInfo /* latency_info */) |
| 738 | 737 |
| 739 // Let renderer know begin frame messages won't be sent even if requested. | 738 // Let renderer know begin frame messages won't be sent even if requested. |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 int /* y */) | 1079 int /* y */) |
| 1081 | 1080 |
| 1082 #elif defined(OS_MACOSX) | 1081 #elif defined(OS_MACOSX) |
| 1083 // Receives content of a web page as plain text. | 1082 // Receives content of a web page as plain text. |
| 1084 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1083 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1085 #endif | 1084 #endif |
| 1086 | 1085 |
| 1087 // Adding a new message? Stick to the sort order above: first platform | 1086 // Adding a new message? Stick to the sort order above: first platform |
| 1088 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1087 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1089 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1088 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |