| 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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 GURL /* url */, | 994 GURL /* url */, |
| 995 bool /* user_gesture */) | 995 bool /* user_gesture */) |
| 996 | 996 |
| 997 // PlzNavigate | 997 // PlzNavigate |
| 998 // Tells the browser to perform a navigation. | 998 // Tells the browser to perform a navigation. |
| 999 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, | 999 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, |
| 1000 content::CommonNavigationParams, | 1000 content::CommonNavigationParams, |
| 1001 content::BeginNavigationParams, | 1001 content::BeginNavigationParams, |
| 1002 scoped_refptr<content::ResourceRequestBody>) | 1002 scoped_refptr<content::ResourceRequestBody>) |
| 1003 | 1003 |
| 1004 // Sent once a paint happens after the first non empty layout. In other words | |
| 1005 // after the frame has painted something. | |
| 1006 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | |
| 1007 | |
| 1008 // Sent as a response to FrameMsg_VisualStateRequest. | 1004 // Sent as a response to FrameMsg_VisualStateRequest. |
| 1009 // The message is delivered using RenderWidget::QueueMessage. | 1005 // The message is delivered using RenderWidget::QueueMessage. |
| 1010 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) | 1006 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) |
| 1011 | 1007 |
| 1012 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 1008 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
| 1013 // See the comment in chrome/browser/ui/browser.h for more details. | 1009 // See the comment in chrome/browser/ui/browser.h for more details. |
| 1014 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 1010 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 1015 | 1011 |
| 1016 // Dispatch a load event for this frame in the iframe element of an | 1012 // Dispatch a load event for this frame in the iframe element of an |
| 1017 // out-of-process parent frame. | 1013 // out-of-process parent frame. |
| 1018 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 1014 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 1019 | 1015 |
| 1020 // Sent to the browser from a frame proxy to post a message to the frame's | 1016 // Sent to the browser from a frame proxy to post a message to the frame's |
| 1021 // active renderer. | 1017 // active renderer. |
| 1022 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, | 1018 IPC_MESSAGE_ROUTED1(FrameHostMsg_RouteMessageEvent, |
| 1023 FrameMsg_PostMessage_Params) | 1019 FrameMsg_PostMessage_Params) |
| 1024 | 1020 |
| 1025 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 1021 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 1026 | 1022 |
| 1027 // Message to show/hide a popup menu using native controls. | 1023 // Message to show/hide a popup menu using native controls. |
| 1028 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1024 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 1029 FrameHostMsg_ShowPopup_Params) | 1025 FrameHostMsg_ShowPopup_Params) |
| 1030 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1026 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 1031 | 1027 |
| 1032 #endif | 1028 #endif |
| OLD | NEW |