diff --git a/CefSharp/ILoadHandler.cs b/CefSharp/ILoadHandler.cs index ea8c3aa54..37e1fee99 100644 --- a/CefSharp/ILoadHandler.cs +++ b/CefSharp/ILoadHandler.cs @@ -4,48 +4,48 @@ namespace CefSharp { - public interface ILoadHandler - { - /// - /// Called when the loading state has changed. This callback will be executed twice - /// once when loading is initiated either programmatically or by user action, - /// and once when loading is terminated due to completion, cancellation of failure. - /// - /// The control this popup is related to. - /// args - void OnLoadingStateChange(IWebBrowser browserControl, LoadingStateChangedEventArgs loadingStateChangedArgs); + public interface ILoadHandler + { + /// + /// Called when the loading state has changed. This callback will be executed twice + /// once when loading is initiated either programmatically or by user action, + /// and once when loading is terminated due to completion, cancellation of failure. + /// + /// The control this popup is related to. + /// args + void OnLoadingStateChange(IWebBrowser browserControl, LoadingStateChangedEventArgs loadingStateChangedArgs); - /// - /// Called when the browser begins loading a frame. - /// The | value will never be empty - /// Check the method to see if this frame is the main frame. - /// Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. - /// This method may not be called for a particular frame if the load request for that frame fails. - /// For notification of overall browser load status use instead. - /// - /// The control this popup is related to. - /// args - void OnFrameLoadStart(IWebBrowser browserControl, FrameLoadStartEventArgs frameLoadStartArgs); + /// + /// Called when the browser begins loading a frame. + /// The | value will never be empty + /// Check the method to see if this frame is the main frame. + /// Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. + /// This method may not be called for a particular frame if the load request for that frame fails. + /// For notification of overall browser load status use instead. + /// + /// The control this popup is related to. + /// args + void OnFrameLoadStart(IWebBrowser browserControl, FrameLoadStartEventArgs frameLoadStartArgs); - /// - /// Called when the browser is done loading a frame. - /// The | value will never be empty - /// Check the method to see if this frame is the main frame. - /// Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. - /// This method will always be called for all frames irrespective of whether the request completes successfully. - /// - /// The control this popup is related to. - /// args - void OnFrameLoadEnd(IWebBrowser browserControl, FrameLoadEndEventArgs frameLoadEndArgs); + /// + /// Called when the browser is done loading a frame. + /// The | value will never be empty + /// Check the method to see if this frame is the main frame. + /// Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. + /// This method will always be called for all frames irrespective of whether the request completes successfully. + /// + /// The control this popup is related to. + /// args + void OnFrameLoadEnd(IWebBrowser browserControl, FrameLoadEndEventArgs frameLoadEndArgs); - /// - /// Called when the resource load for a navigation fails or is canceled. - /// |errorCode| is the error code number, |errorText| is the error text and - /// |failedUrl| is the URL that failed to load. See net\base\net_error_list.h - /// for complete descriptions of the error codes. - /// - /// The control this popup is related to. - /// args - void OnLoadError(IWebBrowser browserControl, LoadErrorEventArgs loadErrorArgs); - } + /// + /// Called when the resource load for a navigation fails or is canceled. + /// |errorCode| is the error code number, |errorText| is the error text and + /// |failedUrl| is the URL that failed to load. See net\base\net_error_list.h + /// for complete descriptions of the error codes. + /// + /// The control this popup is related to. + /// args + void OnLoadError(IWebBrowser browserControl, LoadErrorEventArgs loadErrorArgs); + } }