| 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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 content::CommonNavigationParams) | 833 content::CommonNavigationParams) |
| 834 | 834 |
| 835 // Sent once a paint happens after the first non empty layout. In other words | 835 // Sent once a paint happens after the first non empty layout. In other words |
| 836 // after the frame has painted something. | 836 // after the frame has painted something. |
| 837 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) | 837 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
| 838 | 838 |
| 839 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 839 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
| 840 // See the comment in chrome/browser/ui/browser.h for more details. | 840 // See the comment in chrome/browser/ui/browser.h for more details. |
| 841 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) | 841 IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
| 842 | 842 |
| 843 // Messages to signal the presence or absence of BeforeUnload or Unload handlers |
| 844 // for a frame. |present| is true if there is at least one of the concerned |
| 845 // handlers for the frame. |
| 846 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresenceChanged, |
| 847 bool /* present */) |
| 848 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresenceChanged, |
| 849 bool /* present */) |
| 850 |
| 843 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 851 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 844 | 852 |
| 845 // Message to show/hide a popup menu using native controls. | 853 // Message to show/hide a popup menu using native controls. |
| 846 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 854 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
| 847 FrameHostMsg_ShowPopup_Params) | 855 FrameHostMsg_ShowPopup_Params) |
| 848 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 856 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
| 849 | 857 |
| 850 #endif | 858 #endif |
| OLD | NEW |