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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 | 864 |
865 // Send after a paint happens after any page commit, including a blank one. | 865 // Send after a paint happens after any page commit, including a blank one. |
866 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to | 866 // TODO(kenrb): This, and all ViewHostMsg_* messages that actually pertain to |
867 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. | 867 // RenderWidget(Host), should be renamed to WidgetHostMsg_*. |
868 // See https://crbug.com/537793. | 868 // See https://crbug.com/537793. |
869 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) | 869 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstPaintAfterLoad) |
870 | 870 |
871 // Sent in reply to ViewMsg_WaitForNextFrameForTests. | 871 // Sent in reply to ViewMsg_WaitForNextFrameForTests. |
872 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) | 872 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) |
873 | 873 |
| 874 // Acknowledges that a SelectWordAroundCaret completed with the specified |
| 875 // result and adjustments to the selection offsets. |
| 876 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectWordAroundCaretAck, |
| 877 bool /* did_select */, |
| 878 int /* start_adjust */, |
| 879 int /* end_adjust */) |
| 880 |
874 #if defined(OS_ANDROID) | 881 #if defined(OS_ANDROID) |
875 // Start an android intent with the given URI. | 882 // Start an android intent with the given URI. |
876 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, | 883 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, |
877 GURL /* content_url */, | 884 GURL /* content_url */, |
878 bool /* is_main_frame */) | 885 bool /* is_main_frame */) |
879 | 886 |
880 // 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 |
881 // and that the UI may need to be triggered. | 888 // and that the UI may need to be triggered. |
882 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, | 889 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, |
883 int /* x */, | 890 int /* x */, |
884 int /* y */) | 891 int /* y */) |
885 | 892 |
886 #elif defined(OS_MACOSX) | 893 #elif defined(OS_MACOSX) |
887 // Receives content of a web page as plain text. | 894 // Receives content of a web page as plain text. |
888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 895 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
889 #endif | 896 #endif |
890 | 897 |
891 // 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 |
892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 899 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 900 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |