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