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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 bool /* is_swap_ack */, | 814 bool /* is_swap_ack */, |
815 cc::ReturnedResourceArray /* resources */) | 815 cc::ReturnedResourceArray /* resources */) |
816 | 816 |
817 // Sent by browser to give renderer compositor a new namespace ID for any | 817 // Sent by browser to give renderer compositor a new namespace ID for any |
818 // SurfaceSequences it has to create. | 818 // SurfaceSequences it has to create. |
819 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, | 819 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, |
820 uint32_t /* surface_id_namespace */) | 820 uint32_t /* surface_id_namespace */) |
821 | 821 |
822 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 822 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
823 | 823 |
824 // Sent by the browser to ask the renderer to redraw. | 824 // Sent by the browser to ask the renderer to redraw. Robust to events that can |
825 // If |request_id| is not zero, it is added to the forced frame's latency info | 825 // happen in renderer (abortion of the commit or draw, loss of output surface |
826 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. | 826 // etc.). |
827 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 827 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
828 int /* request_id */) | 828 ui::LatencyInfo /* latency_info */) |
829 | 829 |
830 // Let renderer know begin frame messages won't be sent even if requested. | 830 // Let renderer know begin frame messages won't be sent even if requested. |
831 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 831 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
832 | 832 |
833 // Sent by the browser when the renderer should generate a new frame. | 833 // Sent by the browser when the renderer should generate a new frame. |
834 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 834 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
835 cc::BeginFrameArgs /* args */) | 835 cc::BeginFrameArgs /* args */) |
836 | 836 |
837 // Sent by the browser to deliver a compositor proto to the renderer. | 837 // Sent by the browser to deliver a compositor proto to the renderer. |
838 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 838 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 int /* y */) | 1182 int /* y */) |
1183 | 1183 |
1184 #elif defined(OS_MACOSX) | 1184 #elif defined(OS_MACOSX) |
1185 // Receives content of a web page as plain text. | 1185 // Receives content of a web page as plain text. |
1186 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1186 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1187 #endif | 1187 #endif |
1188 | 1188 |
1189 // Adding a new message? Stick to the sort order above: first platform | 1189 // Adding a new message? Stick to the sort order above: first platform |
1190 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1190 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1191 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1191 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |