Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 14a3756684030f5dce84cb405e98f1fb015d146e..4739ddfb41b9d69aa09cd1e1a27f6d7d0e6fa626 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -847,6 +847,14 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_FlushVisualStateResponse, uint64 /* id */) |
// 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 handlers for |
+// the frame. |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, |
+ bool /* present */) |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, |
+ bool /* present */) |
+ |
#if defined(OS_MACOSX) || defined(OS_ANDROID) |
// Message to show/hide a popup menu using native controls. |