diff --git a/CefSharp/ILifeSpanHandler.cs b/CefSharp/ILifeSpanHandler.cs
index aa5b774df..b4cf7e01e 100644
--- a/CefSharp/ILifeSpanHandler.cs
+++ b/CefSharp/ILifeSpanHandler.cs
@@ -6,7 +6,39 @@ namespace CefSharp
{
public interface ILifeSpanHandler
{
+ ///
+ /// Called before a popup window is created.
+ ///
+ /// The IWebBrowser control this request is for.
+ /// The URL of the HTML frame that launched this popup.
+ /// The URL of the popup content. (This may be empty/null)
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// CEF documentation:
+ ///
+ /// Called on the IO thread before a new popup window is created. The |browser|
+ /// and |frame| parameters represent the source of the popup request. The
+ /// |target_url| and |target_frame_name| values may be empty if none were
+ /// specified with the request. The |popupFeatures| structure contains
+ /// information about the requested popup window. To allow creation of the
+ /// popup window optionally modify |windowInfo|, |client|, |settings| and
+ /// |no_javascript_access| and return false. To cancel creation of the popup
+ /// window return true. The |client| and |settings| values will default to the
+ /// source browser's values. The |no_javascript_access| value indicates whether
+ /// the new browser window should be scriptable and in the same process as the
+ /// source browser.
+ ///
bool OnBeforePopup(IWebBrowser browser, string sourceUrl, string targetUrl, ref int x, ref int y, ref int width, ref int height);
+
+ ///
+ /// Called before a CefBrowser window (either the main browser for IWebBrowser,
+ /// or one of its children)
+ ///
+ ///
void OnBeforeClose(IWebBrowser browser);
}
}