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