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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 // default values. If |remember| is true, then the zoom setting is applied to | 1082 // default values. If |remember| is true, then the zoom setting is applied to |
1083 // other pages in the site and is saved, otherwise it only applies to this | 1083 // other pages in the site and is saved, otherwise it only applies to this |
1084 // tab. | 1084 // tab. |
1085 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, | 1085 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
1086 int /* minimum_percent */, | 1086 int /* minimum_percent */, |
1087 int /* maximum_percent */) | 1087 int /* maximum_percent */) |
1088 | 1088 |
1089 IPC_MESSAGE_ROUTED3( | 1089 IPC_MESSAGE_ROUTED3( |
1090 ViewHostMsg_SwapCompositorFrame, | 1090 ViewHostMsg_SwapCompositorFrame, |
1091 uint32_t /* output_surface_id */, | 1091 uint32_t /* output_surface_id */, |
1092 cc::CompositorFrame /* frame */, | 1092 std::unique_ptr<cc::CompositorFrame> /* frame */, |
1093 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) | 1093 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
1094 | 1094 |
1095 // Send back a string to be recorded by UserMetrics. | 1095 // Send back a string to be recorded by UserMetrics. |
1096 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1096 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1097 std::string /* action */) | 1097 std::string /* action */) |
1098 | 1098 |
1099 // Notifies the browser of an event occurring in the media pipeline. | 1099 // Notifies the browser of an event occurring in the media pipeline. |
1100 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, | 1100 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, |
1101 std::vector<media::MediaLogEvent> /* events */) | 1101 std::vector<media::MediaLogEvent> /* events */) |
1102 | 1102 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1189 int /* y */) | 1189 int /* y */) |
1190 | 1190 |
1191 #elif defined(OS_MACOSX) | 1191 #elif defined(OS_MACOSX) |
1192 // Receives content of a web page as plain text. | 1192 // Receives content of a web page as plain text. |
1193 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1193 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1194 #endif | 1194 #endif |
1195 | 1195 |
1196 // Adding a new message? Stick to the sort order above: first platform | 1196 // Adding a new message? Stick to the sort order above: first platform |
1197 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1197 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1198 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1198 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |