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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 619 // Sets the viewport intersection on the widget for an out-of-process iframe. |
620 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, | 620 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, |
621 gfx::Rect /* viewport_intersection */) | 621 gfx::Rect /* viewport_intersection */) |
622 | 622 |
| 623 // Sets the inert bit on an out-of-process iframe. |
| 624 IPC_MESSAGE_ROUTED1(ViewMsg_SetIsInert, bool /* inert */) |
| 625 |
623 // ----------------------------------------------------------------------------- | 626 // ----------------------------------------------------------------------------- |
624 // Messages sent from the renderer to the browser. | 627 // Messages sent from the renderer to the browser. |
625 | 628 |
626 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 629 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
627 // display events. If |enabled| is true, the BeginFrame message will continue | 630 // display events. If |enabled| is true, the BeginFrame message will continue |
628 // to be be delivered until the notification is disabled. | 631 // to be be delivered until the notification is disabled. |
629 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 632 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
630 bool /* enabled */) | 633 bool /* enabled */) |
631 | 634 |
632 // These two messages are sent to the parent RenderViewHost to display a widget | 635 // These two messages are sent to the parent RenderViewHost to display a widget |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 int /* y */) | 887 int /* y */) |
885 | 888 |
886 #elif defined(OS_MACOSX) | 889 #elif defined(OS_MACOSX) |
887 // Receives content of a web page as plain text. | 890 // Receives content of a web page as plain text. |
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 891 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
889 #endif | 892 #endif |
890 | 893 |
891 // Adding a new message? Stick to the sort order above: first platform | 894 // Adding a new message? Stick to the sort order above: first platform |
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 895 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 896 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |