Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: content/common/frame_messages.h

Issue 857213003: Refactor sudden termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698