| 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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 #endif | 600 #endif |
| 601 | 601 |
| 602 // Sent by browser to tell renderer compositor that some resources that were | 602 // Sent by browser to tell renderer compositor that some resources that were |
| 603 // given to the browser in a swap are not being used anymore. | 603 // given to the browser in a swap are not being used anymore. |
| 604 // If this message is in response to a swap then is_swap_ack is set. | 604 // If this message is in response to a swap then is_swap_ack is set. |
| 605 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, | 605 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
| 606 uint32_t /* compositor_frame_sink_id */, | 606 uint32_t /* compositor_frame_sink_id */, |
| 607 bool /* is_swap_ack */, | 607 bool /* is_swap_ack */, |
| 608 cc::ReturnedResourceArray /* resources */) | 608 cc::ReturnedResourceArray /* resources */) |
| 609 | 609 |
| 610 // Sent by browser to give renderer compositor a new namespace ID for any | |
| 611 // SurfaceSequences it has to create. | |
| 612 IPC_MESSAGE_ROUTED1(ViewMsg_SetFrameSinkId, cc::FrameSinkId /* frame_sink_id */) | |
| 613 | |
| 614 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 610 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 615 | 611 |
| 616 // Sent by the browser to ask the renderer to redraw. Robust to events that can | 612 // Sent by the browser to ask the renderer to redraw. Robust to events that can |
| 617 // happen in renderer (abortion of the commit or draw, loss of output surface | 613 // happen in renderer (abortion of the commit or draw, loss of output surface |
| 618 // etc.). | 614 // etc.). |
| 619 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, | 615 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, |
| 620 ui::LatencyInfo /* latency_info */) | 616 ui::LatencyInfo /* latency_info */) |
| 621 | 617 |
| 622 // Let renderer know begin frame messages won't be sent even if requested. | 618 // Let renderer know begin frame messages won't be sent even if requested. |
| 623 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 619 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 int /* y */) | 948 int /* y */) |
| 953 | 949 |
| 954 #elif defined(OS_MACOSX) | 950 #elif defined(OS_MACOSX) |
| 955 // Receives content of a web page as plain text. | 951 // Receives content of a web page as plain text. |
| 956 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 952 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 957 #endif | 953 #endif |
| 958 | 954 |
| 959 // Adding a new message? Stick to the sort order above: first platform | 955 // Adding a new message? Stick to the sort order above: first platform |
| 960 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 956 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 961 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 957 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |