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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 cc::BeginFrameArgs /* args */) | 606 cc::BeginFrameArgs /* args */) |
607 | 607 |
608 // Sent by the browser to deliver a compositor proto to the renderer. | 608 // Sent by the browser to deliver a compositor proto to the renderer. |
609 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 609 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
610 std::vector<uint8_t> /* proto */) | 610 std::vector<uint8_t> /* proto */) |
611 | 611 |
612 // Sets the viewport intersection on the widget for an out-of-process iframe. | 612 // Sets the viewport intersection on the widget for an out-of-process iframe. |
613 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, | 613 IPC_MESSAGE_ROUTED1(ViewMsg_SetViewportIntersection, |
614 gfx::Rect /* viewport_intersection */) | 614 gfx::Rect /* viewport_intersection */) |
615 | 615 |
| 616 // Sets the inert bit on an out-of-process iframe. |
| 617 IPC_MESSAGE_ROUTED1(ViewMsg_SetIsInert, bool /* inert */) |
| 618 |
616 // ----------------------------------------------------------------------------- | 619 // ----------------------------------------------------------------------------- |
617 // Messages sent from the renderer to the browser. | 620 // Messages sent from the renderer to the browser. |
618 | 621 |
619 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 622 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
620 // display events. If |enabled| is true, the BeginFrame message will continue | 623 // display events. If |enabled| is true, the BeginFrame message will continue |
621 // to be be delivered until the notification is disabled. | 624 // to be be delivered until the notification is disabled. |
622 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 625 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
623 bool /* enabled */) | 626 bool /* enabled */) |
624 | 627 |
625 // These two messages are sent to the parent RenderViewHost to display a widget | 628 // These two messages are sent to the parent RenderViewHost to display a widget |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 int /* y */) | 874 int /* y */) |
872 | 875 |
873 #elif defined(OS_MACOSX) | 876 #elif defined(OS_MACOSX) |
874 // Receives content of a web page as plain text. | 877 // Receives content of a web page as plain text. |
875 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 878 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
876 #endif | 879 #endif |
877 | 880 |
878 // Adding a new message? Stick to the sort order above: first platform | 881 // Adding a new message? Stick to the sort order above: first platform |
879 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 882 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
880 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 883 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |