| 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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 // Sent once a paint happens after the first non empty layout. In other words, | 862 // Sent once a paint happens after the first non empty layout. In other words, |
| 863 // after the frame widget has painted something. | 863 // after the frame widget has painted something. |
| 864 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) | 864 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 865 | 865 |
| 866 // Send after a paint happens after any page commit, including a blank one. | 866 // Send after a paint happens after any page commit, including a blank one. |
| 867 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to | 867 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to |
| 868 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. | 868 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. |
| 869 // See https://crbug.com/537793. | 869 // See https://crbug.com/537793. |
| 870 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) | 870 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) |
| 871 | 871 |
| 872 // Sent by the renderer to deliver a compositor proto to the browser. | |
| 873 IPC_MESSAGE_ROUTED1(ViewHostMsg_ForwardCompositorProto, | |
| 874 std::vector<uint8_t> /* proto */) | |
| 875 | |
| 876 // Sent in reply to ViewMsg_WaitForNextFrameForTests. | 872 // Sent in reply to ViewMsg_WaitForNextFrameForTests. |
| 877 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) | 873 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) |
| 878 | 874 |
| 879 #if defined(OS_ANDROID) | 875 #if defined(OS_ANDROID) |
| 880 // Start an android intent with the given URI. | 876 // Start an android intent with the given URI. |
| 881 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, | 877 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, |
| 882 GURL /* content_url */, | 878 GURL /* content_url */, |
| 883 bool /* is_main_frame */) | 879 bool /* is_main_frame */) |
| 884 | 880 |
| 885 // Reply to the ViewMsg_ExtractSmartClipData message. | 881 // Reply to the ViewMsg_ExtractSmartClipData message. |
| 886 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, | 882 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
| 887 base::string16 /* text */, | 883 base::string16 /* text */, |
| 888 base::string16 /* html */, | 884 base::string16 /* html */, |
| 889 gfx::Rect /* rect */) | 885 gfx::Rect /* rect */) |
| 890 | 886 |
| 891 // Notifies that an unhandled tap has occurred at the specified x,y position | 887 // Notifies that an unhandled tap has occurred at the specified x,y position |
| 892 // and that the UI may need to be triggered. | 888 // and that the UI may need to be triggered. |
| 893 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, | 889 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, |
| 894 int /* x */, | 890 int /* x */, |
| 895 int /* y */) | 891 int /* y */) |
| 896 | 892 |
| 897 #elif defined(OS_MACOSX) | 893 #elif defined(OS_MACOSX) |
| 898 // Receives content of a web page as plain text. | 894 // Receives content of a web page as plain text. |
| 899 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 895 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 900 #endif | 896 #endif |
| 901 | 897 |
| 902 // Adding a new message? Stick to the sort order above: first platform | 898 // Adding a new message? Stick to the sort order above: first platform |
| 903 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 899 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 904 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 900 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |