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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, | 796 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
797 int /* minimum_percent */, | 797 int /* minimum_percent */, |
798 int /* maximum_percent */) | 798 int /* maximum_percent */) |
799 | 799 |
800 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages, | 800 IPC_MESSAGE_ROUTED2(ViewHostMsg_FrameSwapMessages, |
801 uint32_t /* frame_token */, | 801 uint32_t /* frame_token */, |
802 std::vector<IPC::Message> /* messages */) | 802 std::vector<IPC::Message> /* messages */) |
803 | 803 |
804 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no | 804 // Sent if the BeginFrame did not cause a SwapCompositorFrame (e.g. because no |
805 // updates were required or because it was aborted in the renderer). | 805 // updates were required or because it was aborted in the renderer). |
806 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotSwap, | 806 IPC_MESSAGE_ROUTED1(ViewHostMsg_BeginFrameDidNotProduceFrame, |
807 cc::BeginFrameAck /* ack */) | 807 cc::BeginFrameAck /* ack */) |
808 | 808 |
809 // Send back a string to be recorded by UserMetrics. | 809 // Send back a string to be recorded by UserMetrics. |
810 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 810 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
811 std::string /* action */) | 811 std::string /* action */) |
812 | 812 |
813 // Notifies the browser of an event occurring in the media pipeline. | 813 // Notifies the browser of an event occurring in the media pipeline. |
814 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, | 814 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, |
815 std::vector<media::MediaLogEvent> /* events */) | 815 std::vector<media::MediaLogEvent> /* events */) |
816 | 816 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 int /* y */) | 877 int /* y */) |
878 | 878 |
879 #elif defined(OS_MACOSX) | 879 #elif defined(OS_MACOSX) |
880 // Receives content of a web page as plain text. | 880 // Receives content of a web page as plain text. |
881 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 881 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
882 #endif | 882 #endif |
883 | 883 |
884 // Adding a new message? Stick to the sort order above: first platform | 884 // Adding a new message? Stick to the sort order above: first platform |
885 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 885 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
886 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 886 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |