OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "cc/surfaces/surface_id.h" | 8 #include "cc/surfaces/surface_id.h" |
9 #include "cc/surfaces/surface_sequence.h" | 9 #include "cc/surfaces/surface_sequence.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, | 966 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, |
967 SkColor /* theme_color */) | 967 SkColor /* theme_color */) |
968 | 968 |
969 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 969 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
970 // |endOffset| are the offsets of the selection in the returned |content|. | 970 // |endOffset| are the offsets of the selection in the returned |content|. |
971 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 971 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
972 base::string16, /* content */ | 972 base::string16, /* content */ |
973 size_t, /* startOffset */ | 973 size_t, /* startOffset */ |
974 size_t /* endOffset */) | 974 size_t /* endOffset */) |
975 | 975 |
| 976 // Register a new handler for URL requests with the given scheme. |
| 977 IPC_MESSAGE_ROUTED4(FrameHostMsg_RegisterProtocolHandler, |
| 978 std::string /* scheme */, |
| 979 GURL /* url */, |
| 980 base::string16 /* title */, |
| 981 bool /* user_gesture */) |
| 982 |
| 983 // Unregister the registered handler for URL requests with the given scheme. |
| 984 IPC_MESSAGE_ROUTED3(FrameHostMsg_UnregisterProtocolHandler, |
| 985 std::string /* scheme */, |
| 986 GURL /* url */, |
| 987 bool /* user_gesture */) |
| 988 |
976 // PlzNavigate | 989 // PlzNavigate |
977 // Tells the browser to perform a navigation. | 990 // Tells the browser to perform a navigation. |
978 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, | 991 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, |
979 content::CommonNavigationParams, | 992 content::CommonNavigationParams, |
980 content::BeginNavigationParams, | 993 content::BeginNavigationParams, |
981 scoped_refptr<content::ResourceRequestBody>) | 994 scoped_refptr<content::ResourceRequestBody>) |
982 | 995 |
983 // Sent once a paint happens after the first non empty layout. In other words | 996 // Sent once a paint happens after the first non empty layout. In other words |
984 // after the frame has painted something. | 997 // after the frame has painted something. |
985 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 998 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
(...skipping 16 matching lines...) Expand all Loading... |
1002 FrameMsg_PostMessage_Params) | 1015 FrameMsg_PostMessage_Params) |
1003 | 1016 |
1004 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1017 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
1005 | 1018 |
1006 // Message to show/hide a popup menu using native controls. | 1019 // Message to show/hide a popup menu using native controls. |
1007 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1020 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1008 FrameHostMsg_ShowPopup_Params) | 1021 FrameHostMsg_ShowPopup_Params) |
1009 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1022 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1010 | 1023 |
1011 #endif | 1024 #endif |
OLD | NEW |