| 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 609 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
| 610 | 610 |
| 611 // Sent by the browser when the renderer should generate a new frame. | 611 // Sent by the browser when the renderer should generate a new frame. |
| 612 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 612 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 613 cc::BeginFrameArgs /* args */) | 613 cc::BeginFrameArgs /* args */) |
| 614 | 614 |
| 615 // Sent by the browser to deliver a compositor proto to the renderer. | 615 // Sent by the browser to deliver a compositor proto to the renderer. |
| 616 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 616 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
| 617 std::vector<uint8_t> /* proto */) | 617 std::vector<uint8_t> /* proto */) |
| 618 | 618 |
| 619 // Sets the viewport intersection on the widget for an out-of-process iframe. |
| 620 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, |
| 621 gfx::Rect /* viewport_intersection */) |
| 622 |
| 619 // ----------------------------------------------------------------------------- | 623 // ----------------------------------------------------------------------------- |
| 620 // Messages sent from the renderer to the browser. | 624 // Messages sent from the renderer to the browser. |
| 621 | 625 |
| 622 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 626 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| 623 // display events. If |enabled| is true, the BeginFrame message will continue | 627 // display events. If |enabled| is true, the BeginFrame message will continue |
| 624 // to be be delivered until the notification is disabled. | 628 // to be be delivered until the notification is disabled. |
| 625 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 629 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
| 626 bool /* enabled */) | 630 bool /* enabled */) |
| 627 | 631 |
| 628 // These three messages are sent to the parent RenderViewHost to display the | 632 // These three messages are sent to the parent RenderViewHost to display the |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 int /* y */) | 928 int /* y */) |
| 925 | 929 |
| 926 #elif defined(OS_MACOSX) | 930 #elif defined(OS_MACOSX) |
| 927 // Receives content of a web page as plain text. | 931 // Receives content of a web page as plain text. |
| 928 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 932 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 929 #endif | 933 #endif |
| 930 | 934 |
| 931 // Adding a new message? Stick to the sort order above: first platform | 935 // Adding a new message? Stick to the sort order above: first platform |
| 932 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 936 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 933 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 937 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |