Chromium Code Reviews| 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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 835 // Tells the browser to perform a navigation. | 835 // Tells the browser to perform a navigation. |
| 836 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, | 836 IPC_MESSAGE_ROUTED3(FrameHostMsg_BeginNavigation, |
| 837 content::CommonNavigationParams, | 837 content::CommonNavigationParams, |
| 838 content::BeginNavigationParams, | 838 content::BeginNavigationParams, |
| 839 scoped_refptr<content::ResourceRequestBody>) | 839 scoped_refptr<content::ResourceRequestBody>) |
| 840 | 840 |
| 841 // Sent once a paint happens after the first non empty layout. In other words | 841 // Sent once a paint happens after the first non empty layout. In other words |
| 842 // after the frame has painted something. | 842 // after the frame has painted something. |
| 843 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 843 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 844 | 844 |
| 845 // Sent prior to delivering visual state messages, in order to | |
| 846 // transport swap success/failure status. | |
|
boliu
2015/03/02 18:43:58
Err, this is not it.
| |
| 847 IPC_MESSAGE_ROUTED2(FrameHostMsg_VisualStateSwapInfo, | |
| 848 int /* source_frame_number */, | |
| 849 bool /* swap_success */) | |
| 850 | |
| 845 // Sent as a response to FrameMsg_VisualStateRequest. | 851 // Sent as a response to FrameMsg_VisualStateRequest. |
| 846 // The message is delivered using RenderWidget::QueueMessage. | 852 // The message is delivered using RenderWidget::QueueMessage. |
| 847 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) | 853 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) |
| 848 | 854 |
| 849 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 855 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
| 850 // See the comment in chrome/browser/ui/browser.h for more details. | 856 // See the comment in chrome/browser/ui/browser.h for more details. |
| 851 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 852 | 858 |
| 853 // Messages to signal the presence or absence of BeforeUnload or Unload handlers | 859 // Messages to signal the presence or absence of BeforeUnload or Unload handlers |
| 854 // for a frame. |present| is true if there is at least one of the handlers for | 860 // for a frame. |present| is true if there is at least one of the handlers for |
| 855 // the frame. | 861 // the frame. |
| 856 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, | 862 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, |
| 857 bool /* present */) | 863 bool /* present */) |
| 858 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, | 864 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, |
| 859 bool /* present */) | 865 bool /* present */) |
| 860 | 866 |
| 861 // Dispatch a load event for this frame in the iframe element of an | 867 // Dispatch a load event for this frame in the iframe element of an |
| 862 // out-of-process parent frame. | 868 // out-of-process parent frame. |
| 863 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 869 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 864 | 870 |
| 865 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 871 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 866 | 872 |
| 867 // Message to show/hide a popup menu using native controls. | 873 // Message to show/hide a popup menu using native controls. |
| 868 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 874 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 869 FrameHostMsg_ShowPopup_Params) | 875 FrameHostMsg_ShowPopup_Params) |
| 870 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 876 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 871 | 877 |
| 872 #endif | 878 #endif |
| OLD | NEW |