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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 // ViewHostMsg_SmartClipDataExtracted IPC. | 801 // ViewHostMsg_SmartClipDataExtracted IPC. |
802 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | 802 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
803 gfx::Rect /* rect */) | 803 gfx::Rect /* rect */) |
804 #endif | 804 #endif |
805 | 805 |
806 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 806 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
807 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, | 807 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
808 uint32_t /* output_surface_id */, | 808 uint32_t /* output_surface_id */, |
809 cc::CompositorFrameAck /* ack */) | 809 cc::CompositorFrameAck /* ack */) |
810 | 810 |
811 // Sent by browser to tell renderer compositor that some resources that were | |
812 // given to the browser in a swap are not being used anymore. | |
813 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, | |
814 uint32_t /* output_surface_id */, | |
815 cc::CompositorFrameAck /* ack */) | |
816 | |
817 // Sent by browser to give renderer compositor a new namespace ID for any | 811 // Sent by browser to give renderer compositor a new namespace ID for any |
818 // SurfaceSequences it has to create. | 812 // SurfaceSequences it has to create. |
819 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace, | 813 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace, |
820 uint32_t /* surface_id_namespace */) | 814 uint32_t /* surface_id_namespace */) |
821 | 815 |
822 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 816 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
823 | 817 |
824 // Sent by the browser to ask the renderer to redraw. | 818 // Sent by the browser to ask the renderer to redraw. |
825 // If |request_id| is not zero, it is added to the forced frame's latency info | 819 // If |request_id| is not zero, it is added to the forced frame's latency info |
826 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. | 820 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 int /* y */) | 1181 int /* y */) |
1188 | 1182 |
1189 #elif defined(OS_MACOSX) | 1183 #elif defined(OS_MACOSX) |
1190 // Receives content of a web page as plain text. | 1184 // Receives content of a web page as plain text. |
1191 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1185 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1192 #endif | 1186 #endif |
1193 | 1187 |
1194 // Adding a new message? Stick to the sort order above: first platform | 1188 // Adding a new message? Stick to the sort order above: first platform |
1195 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1189 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1196 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1190 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |