| 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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 content::CommonNavigationParams) | 849 content::CommonNavigationParams) |
| 850 | 850 |
| 851 // Sent once a paint happens after the first non empty layout. In other words | 851 // Sent once a paint happens after the first non empty layout. In other words |
| 852 // after the frame has painted something. | 852 // after the frame has painted something. |
| 853 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 853 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 854 | 854 |
| 855 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 855 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
| 856 // 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. |
| 857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 857 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 858 | 858 |
| 859 // Messages to signal the presence or absence of BeforeUnload or Unload handlers |
| 860 // for a frame. |present| is true if there is at least one of the concerned |
| 861 // handlers for the frame. |
| 862 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, |
| 863 bool /* present */) |
| 864 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, |
| 865 bool /* present */) |
| 866 |
| 859 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 867 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 860 | 868 |
| 861 // Message to show/hide a popup menu using native controls. | 869 // Message to show/hide a popup menu using native controls. |
| 862 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 870 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 863 FrameHostMsg_ShowPopup_Params) | 871 FrameHostMsg_ShowPopup_Params) |
| 864 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 872 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 865 | 873 |
| 866 #endif | 874 #endif |
| OLD | NEW |