| 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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, | 795 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
| 796 int /* minimum_percent */, | 796 int /* minimum_percent */, |
| 797 int /* maximum_percent */) | 797 int /* maximum_percent */) |
| 798 | 798 |
| 799 IPC_MESSAGE_ROUTED3( | 799 IPC_MESSAGE_ROUTED3( |
| 800 ViewHostMsg_SwapCompositorFrame, | 800 ViewHostMsg_SwapCompositorFrame, |
| 801 uint32_t /* compositor_frame_sink_id */, | 801 uint32_t /* compositor_frame_sink_id */, |
| 802 cc::CompositorFrame /* frame */, | 802 cc::CompositorFrame /* frame */, |
| 803 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) | 803 std::vector<IPC::Message> /* messages_to_deliver_with_frame */) |
| 804 | 804 |
| 805 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no |
| 806 // updates were required or because it was aborted in the renderer). |
| 807 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, |
| 808 cc::BeginFrameAck /* ack */) |
| 809 |
| 805 // Send back a string to be recorded by UserMetrics. | 810 // Send back a string to be recorded by UserMetrics. |
| 806 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 811 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 807 std::string /* action */) | 812 std::string /* action */) |
| 808 | 813 |
| 809 // Notifies the browser of an event occurring in the media pipeline. | 814 // Notifies the browser of an event occurring in the media pipeline. |
| 810 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, | 815 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, |
| 811 std::vector<media::MediaLogEvent> /* events */) | 816 std::vector<media::MediaLogEvent> /* events */) |
| 812 | 817 |
| 813 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 818 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
| 814 // being sent back. | 819 // being sent back. |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 int /* y */) | 889 int /* y */) |
| 885 | 890 |
| 886 #elif defined(OS_MACOSX) | 891 #elif defined(OS_MACOSX) |
| 887 // Receives content of a web page as plain text. | 892 // Receives content of a web page as plain text. |
| 888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 893 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 889 #endif | 894 #endif |
| 890 | 895 |
| 891 // Adding a new message? Stick to the sort order above: first platform | 896 // Adding a new message? Stick to the sort order above: first platform |
| 892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 897 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 898 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |