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