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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 int /* y */) | 880 int /* y */) |
878 | 881 |
879 #elif defined(OS_MACOSX) | 882 #elif defined(OS_MACOSX) |
880 // Receives content of a web page as plain text. | 883 // Receives content of a web page as plain text. |
881 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 884 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
882 #endif | 885 #endif |
883 | 886 |
884 // Adding a new message? Stick to the sort order above: first platform | 887 // Adding a new message? Stick to the sort order above: first platform |
885 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 888 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
886 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 889 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |