Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index e69b0f1856efd7049c9b0fa7078de744226f4c75..361b83851faddb2426effebbb10ea0f60fa44327 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -840,6 +840,14 @@ IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) |
// See the comment in chrome/browser/ui/browser.h for more details. |
IPC_MESSAGE_ROUTED1(FrameHostMsg_ToggleFullscreen, bool /* enter_fullscreen */) |
+// Messages to signal the presence or absence of BeforeUnload or Unload handlers |
+// for a frame. |present| is true if there is at least one of the concerned |
+// handlers for the frame. |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresenceChanged, |
+ bool /* present */) |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresenceChanged, |
+ bool /* present */) |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// Message to show/hide a popup menu using native controls. |