| 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 gfx::Rect /* anchor rectangle in root view coordinate */) | 875 gfx::Rect /* anchor rectangle in root view coordinate */) |
| 876 | 876 |
| 877 // Sent once a paint happens after the first non empty layout. In other words, | 877 // Sent once a paint happens after the first non empty layout. In other words, |
| 878 // after the frame widget has painted something. | 878 // after the frame widget has painted something. |
| 879 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) | 879 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 880 | 880 |
| 881 // Sent in reply to ViewMsg_WaitForNextFrameForTests. | 881 // Sent in reply to ViewMsg_WaitForNextFrameForTests. |
| 882 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) | 882 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) |
| 883 | 883 |
| 884 #if defined(OS_ANDROID) | 884 #if defined(OS_ANDROID) |
| 885 // Start an android intent with the given URI. | |
| 886 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, | |
| 887 GURL /* content_url */, | |
| 888 bool /* is_main_frame */) | |
| 889 | |
| 890 // Notifies that an unhandled tap has occurred at the specified x,y position | 885 // Notifies that an unhandled tap has occurred at the specified x,y position |
| 891 // and that the UI may need to be triggered. | 886 // and that the UI may need to be triggered. |
| 892 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, | 887 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, |
| 893 int /* x */, | 888 int /* x */, |
| 894 int /* y */) | 889 int /* y */) |
| 895 | 890 |
| 896 #elif defined(OS_MACOSX) | 891 #elif defined(OS_MACOSX) |
| 897 // Receives content of a web page as plain text. | 892 // Receives content of a web page as plain text. |
| 898 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 893 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 899 #endif | 894 #endif |
| 900 | 895 |
| 901 // Adding a new message? Stick to the sort order above: first platform | 896 // Adding a new message? Stick to the sort order above: first platform |
| 902 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 897 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 903 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 898 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |