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