| 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 663 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
| 664 | 664 |
| 665 // Sent by the browser when the renderer should generate a new frame. | 665 // Sent by the browser when the renderer should generate a new frame. |
| 666 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 666 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 667 cc::BeginFrameArgs /* args */) | 667 cc::BeginFrameArgs /* args */) |
| 668 | 668 |
| 669 // Sent by the browser to deliver a compositor proto to the renderer. | 669 // Sent by the browser to deliver a compositor proto to the renderer. |
| 670 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 670 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
| 671 std::vector<uint8_t> /* proto */) | 671 std::vector<uint8_t> /* proto */) |
| 672 | 672 |
| 673 // Sent by the browser when the page is starting or stopping to play audio. |
| 674 IPC_MESSAGE_ROUTED1(ViewMsg_AudioStateChanged, bool /* is_audio_playing */) |
| 675 |
| 673 // ----------------------------------------------------------------------------- | 676 // ----------------------------------------------------------------------------- |
| 674 // Messages sent from the renderer to the browser. | 677 // Messages sent from the renderer to the browser. |
| 675 | 678 |
| 676 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 679 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| 677 // display events. If |enabled| is true, the BeginFrame message will continue | 680 // display events. If |enabled| is true, the BeginFrame message will continue |
| 678 // to be be delivered until the notification is disabled. | 681 // to be be delivered until the notification is disabled. |
| 679 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 682 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
| 680 bool /* enabled */) | 683 bool /* enabled */) |
| 681 | 684 |
| 682 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like | 685 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 int /* y */) | 1006 int /* y */) |
| 1004 | 1007 |
| 1005 #elif defined(OS_MACOSX) | 1008 #elif defined(OS_MACOSX) |
| 1006 // Receives content of a web page as plain text. | 1009 // Receives content of a web page as plain text. |
| 1007 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1010 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 1008 #endif | 1011 #endif |
| 1009 | 1012 |
| 1010 // Adding a new message? Stick to the sort order above: first platform | 1013 // Adding a new message? Stick to the sort order above: first platform |
| 1011 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1014 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1012 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1015 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |