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