| 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 // Extracts the data at the given rect, returning it through the | 784 // Extracts the data at the given rect, returning it through the |
| 785 // ViewHostMsg_SmartClipDataExtracted IPC. | 785 // ViewHostMsg_SmartClipDataExtracted IPC. |
| 786 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | 786 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
| 787 gfx::Rect /* rect */) | 787 gfx::Rect /* rect */) |
| 788 #endif | 788 #endif |
| 789 | 789 |
| 790 // Sent by browser to tell renderer compositor that some resources that were | 790 // Sent by browser to tell renderer compositor that some resources that were |
| 791 // given to the browser in a swap are not being used anymore. | 791 // given to the browser in a swap are not being used anymore. |
| 792 // If this message is in response to a swap then is_swap_ack is set. | 792 // If this message is in response to a swap then is_swap_ack is set. |
| 793 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, | 793 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
| 794 uint32_t /* output_surface_id */, | 794 uint32_t /* compositor_frame_sink_id */, |
| 795 bool /* is_swap_ack */, | 795 bool /* is_swap_ack */, |
| 796 cc::ReturnedResourceArray /* resources */) | 796 cc::ReturnedResourceArray /* resources */) |
| 797 | 797 |
| 798 // Sent by browser to give renderer compositor a new namespace ID for any | 798 // Sent by browser to give renderer compositor a new namespace ID for any |
| 799 // SurfaceSequences it has to create. | 799 // SurfaceSequences it has to create. |
| 800 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, | 800 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceClientId, |
| 801 uint32_t /* surface_id_namespace */) | 801 uint32_t /* surface_id_namespace */) |
| 802 | 802 |
| 803 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) | 803 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) |
| 804 | 804 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 // Updates the minimum/maximum allowed zoom percent for this tab from the | 1055 // Updates the minimum/maximum allowed zoom percent for this tab from the |
| 1056 // default values. If |remember| is true, then the zoom setting is applied to | 1056 // default values. If |remember| is true, then the zoom setting is applied to |
| 1057 // other pages in the site and is saved, otherwise it only applies to this | 1057 // other pages in the site and is saved, otherwise it only applies to this |
| 1058 // tab. | 1058 // tab. |
| 1059 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, | 1059 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
| 1060 int /* minimum_percent */, | 1060 int /* minimum_percent */, |
| 1061 int /* maximum_percent */) | 1061 int /* maximum_percent */) |
| 1062 | 1062 |
| 1063 IPC_MESSAGE_ROUTED3( | 1063 IPC_MESSAGE_ROUTED3( |
| 1064 ViewHostMsg_SwapCompositorFrame, | 1064 ViewHostMsg_SwapCompositorFrame, |
| 1065 uint32_t /* output_surface_id */, | 1065 uint32_t /* compositor_frame_sink_id */, |
| 1066 cc::CompositorFrame /* frame */, | 1066 cc::CompositorFrame /* frame */, |
| 1067 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) | 1067 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
| 1068 | 1068 |
| 1069 // Send back a string to be recorded by UserMetrics. | 1069 // Send back a string to be recorded by UserMetrics. |
| 1070 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1070 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1071 std::string /* action */) | 1071 std::string /* action */) |
| 1072 | 1072 |
| 1073 // Notifies the browser of an event occurring in the media pipeline. | 1073 // Notifies the browser of an event occurring in the media pipeline. |
| 1074 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, | 1074 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, |
| 1075 std::vector<media::MediaLogEvent> /* events */) | 1075 std::vector<media::MediaLogEvent> /* events */) |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 int /* y */) | 1163 int /* y */) |
| 1164 | 1164 |
| 1165 #elif defined(OS_MACOSX) | 1165 #elif defined(OS_MACOSX) |
| 1166 // Receives content of a web page as plain text. | 1166 // Receives content of a web page as plain text. |
| 1167 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1167 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1168 #endif | 1168 #endif |
| 1169 | 1169 |
| 1170 // Adding a new message? Stick to the sort order above: first platform | 1170 // Adding a new message? Stick to the sort order above: first platform |
| 1171 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1171 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1172 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1172 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |