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