| 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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 813 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 814 | 814 |
| 815 // Sent as a response to FrameMsg_VisualStateRequest. | 815 // Sent as a response to FrameMsg_VisualStateRequest. |
| 816 // The message is delivered using RenderWidget::QueueMessage. | 816 // The message is delivered using RenderWidget::QueueMessage. |
| 817 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) | 817 IPC_MESSAGE_ROUTED1(FrameHostMsg_VisualStateResponse, uint64 /* id */) |
| 818 | 818 |
| 819 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 819 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
| 820 // See the comment in chrome/browser/ui/browser.h for more details. | 820 // See the comment in chrome/browser/ui/browser.h for more details. |
| 821 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 821 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 822 | 822 |
| 823 // Messages to signal the presence or absence of BeforeUnload or Unload handlers | |
| 824 // for a frame. |present| is true if there is at least one of the handlers for | |
| 825 // the frame. | |
| 826 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, | |
| 827 bool /* present */) | |
| 828 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, | |
| 829 bool /* present */) | |
| 830 | |
| 831 // Dispatch a load event for this frame in the iframe element of an | 823 // Dispatch a load event for this frame in the iframe element of an |
| 832 // out-of-process parent frame. | 824 // out-of-process parent frame. |
| 833 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) | 825 IPC_MESSAGE_ROUTED0(FrameHostMsg_DispatchLoad) |
| 834 | 826 |
| 835 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 827 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 836 | 828 |
| 837 // Message to show/hide a popup menu using native controls. | 829 // Message to show/hide a popup menu using native controls. |
| 838 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 830 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 839 FrameHostMsg_ShowPopup_Params) | 831 FrameHostMsg_ShowPopup_Params) |
| 840 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 832 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 841 | 833 |
| 842 #endif | 834 #endif |
| OLD | NEW |