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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 616 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
617 | 617 |
618 // Sent by the browser when the renderer should generate a new frame. | 618 // Sent by the browser when the renderer should generate a new frame. |
619 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 619 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
620 cc::BeginFrameArgs /* args */) | 620 cc::BeginFrameArgs /* args */) |
621 | 621 |
622 // Sent by the browser to deliver a compositor proto to the renderer. | 622 // Sent by the browser to deliver a compositor proto to the renderer. |
623 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 623 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
624 std::vector<uint8_t> /* proto */) | 624 std::vector<uint8_t> /* proto */) |
625 | 625 |
| 626 // Sets the viewport intersection on the widget for an out-of-process iframe. |
| 627 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, |
| 628 gfx::Rect /* viewport_intersection */) |
| 629 |
626 // ----------------------------------------------------------------------------- | 630 // ----------------------------------------------------------------------------- |
627 // Messages sent from the renderer to the browser. | 631 // Messages sent from the renderer to the browser. |
628 | 632 |
629 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 633 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
630 // display events. If |enabled| is true, the BeginFrame message will continue | 634 // display events. If |enabled| is true, the BeginFrame message will continue |
631 // to be be delivered until the notification is disabled. | 635 // to be be delivered until the notification is disabled. |
632 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 636 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
633 bool /* enabled */) | 637 bool /* enabled */) |
634 | 638 |
635 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like | 639 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 int /* y */) | 949 int /* y */) |
946 | 950 |
947 #elif defined(OS_MACOSX) | 951 #elif defined(OS_MACOSX) |
948 // Receives content of a web page as plain text. | 952 // Receives content of a web page as plain text. |
949 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 953 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
950 #endif | 954 #endif |
951 | 955 |
952 // Adding a new message? Stick to the sort order above: first platform | 956 // Adding a new message? Stick to the sort order above: first platform |
953 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 957 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
954 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 958 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |