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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 840 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
841 | 841 |
842 // Sent as a response to FrameMsg_FlushVisualStateRequest. | 842 // Sent as a response to FrameMsg_FlushVisualStateRequest. |
843 // The message is delivered using RenderWidget::QueueMessage. | 843 // The message is delivered using RenderWidget::QueueMessage. |
844 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, uint64 /* id */) | 844 IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, uint64 /* id */) |
845 | 845 |
846 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 846 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
847 // See the comment in chrome/browser/ui/browser.h for more details. | 847 // See the comment in chrome/browser/ui/browser.h for more details. |
848 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 848 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
849 | 849 |
| 850 // Messages to signal the presence or absence of BeforeUnload or Unload handlers |
| 851 // for a frame. |present| is true if there is at least one of the handlers for |
| 852 // the frame. |
| 853 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, |
| 854 bool /* present */) |
| 855 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, |
| 856 bool /* present */) |
| 857 |
850 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 858 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
851 | 859 |
852 // Message to show/hide a popup menu using native controls. | 860 // Message to show/hide a popup menu using native controls. |
853 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 861 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
854 FrameHostMsg_ShowPopup_Params) | 862 FrameHostMsg_ShowPopup_Params) |
855 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 863 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
856 | 864 |
857 #endif | 865 #endif |
OLD | NEW |