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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 809 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
810 | 810 |
811 // Sent by the browser when the renderer should generate a new frame. | 811 // Sent by the browser when the renderer should generate a new frame. |
812 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 812 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
813 cc::BeginFrameArgs /* args */) | 813 cc::BeginFrameArgs /* args */) |
814 | 814 |
815 // Sent by the browser to deliver a compositor proto to the renderer. | 815 // Sent by the browser to deliver a compositor proto to the renderer. |
816 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 816 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
817 std::vector<uint8_t> /* proto */) | 817 std::vector<uint8_t> /* proto */) |
818 | 818 |
| 819 // Sent by the browser when the page is starting or stopping to play audio. |
| 820 IPC_MESSAGE_ROUTED1(ViewMsg_AudioStateChanged, bool /* is_audio_playing */) |
| 821 |
819 // ----------------------------------------------------------------------------- | 822 // ----------------------------------------------------------------------------- |
820 // Messages sent from the renderer to the browser. | 823 // Messages sent from the renderer to the browser. |
821 | 824 |
822 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 825 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
823 // display events. If |enabled| is true, the BeginFrame message will continue | 826 // display events. If |enabled| is true, the BeginFrame message will continue |
824 // to be be delivered until the notification is disabled. | 827 // to be be delivered until the notification is disabled. |
825 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 828 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
826 bool /* enabled */) | 829 bool /* enabled */) |
827 | 830 |
828 // Sent by the renderer when it is creating a new window. The browser creates a | 831 // Sent by the renderer when it is creating a new window. The browser creates a |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 int /* y */) | 1159 int /* y */) |
1157 | 1160 |
1158 #elif defined(OS_MACOSX) | 1161 #elif defined(OS_MACOSX) |
1159 // Receives content of a web page as plain text. | 1162 // Receives content of a web page as plain text. |
1160 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1163 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1161 #endif | 1164 #endif |
1162 | 1165 |
1163 // Adding a new message? Stick to the sort order above: first platform | 1166 // Adding a new message? Stick to the sort order above: first platform |
1164 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1167 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1165 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1168 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |