Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index d22c70433769600ce17cc992fc158cb76d3070e9..f1641a7245ab2e3a568d10e3399f54fdf7095953 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -856,6 +856,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 |
nasko
2015/02/05 17:38:02
nit: s/concerned//
clamy
2015/02/05 17:48:46
Done.
|
+// 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. |