| 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) | 657 IPC_MESSAGE_ROUTED1(ViewMsg_SetBeginFramePaused, bool /* paused */) |
| 658 | 658 |
| 659 // Sent by the browser when the renderer should generate a new frame. | 659 // Sent by the browser when the renderer should generate a new frame. |
| 660 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 660 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| 661 cc::BeginFrameArgs /* args */) | 661 cc::BeginFrameArgs /* args */) |
| 662 | 662 |
| 663 // Sent by the browser to deliver a compositor proto to the renderer. | 663 // Sent by the browser to deliver a compositor proto to the renderer. |
| 664 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, | 664 IPC_MESSAGE_ROUTED1(ViewMsg_HandleCompositorProto, |
| 665 std::vector<uint8_t> /* proto */) | 665 std::vector<uint8_t> /* proto */) |
| 666 | 666 |
| 667 // Sets the viewport intersection on the widget for an out-of-process iframe. |
| 668 IPC_MESSAGE_ROUTED2(ViewMsg_SetViewportIntersection, |
| 669 gfx::Rect /* viewport_intersection */, |
| 670 gfx::Point /* root_offset */) |
| 671 |
| 667 // ----------------------------------------------------------------------------- | 672 // ----------------------------------------------------------------------------- |
| 668 // Messages sent from the renderer to the browser. | 673 // Messages sent from the renderer to the browser. |
| 669 | 674 |
| 670 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming | 675 // Sent by renderer to request a ViewMsg_BeginFrame message for upcoming |
| 671 // display events. If |enabled| is true, the BeginFrame message will continue | 676 // display events. If |enabled| is true, the BeginFrame message will continue |
| 672 // to be be delivered until the notification is disabled. | 677 // to be be delivered until the notification is disabled. |
| 673 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, | 678 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrames, |
| 674 bool /* enabled */) | 679 bool /* enabled */) |
| 675 | 680 |
| 676 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like | 681 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 int /* y */) | 991 int /* y */) |
| 987 | 992 |
| 988 #elif defined(OS_MACOSX) | 993 #elif defined(OS_MACOSX) |
| 989 // Receives content of a web page as plain text. | 994 // Receives content of a web page as plain text. |
| 990 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 995 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 991 #endif | 996 #endif |
| 992 | 997 |
| 993 // Adding a new message? Stick to the sort order above: first platform | 998 // Adding a new message? Stick to the sort order above: first platform |
| 994 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 999 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 995 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1000 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |