Skip to content

Commit

Permalink
Humanify the ghostdoc comments (#1897)
Browse files Browse the repository at this point in the history
A little touchup to better explain some of the event handlers.
  • Loading branch information
barbeque authored and amaitland committed Dec 21, 2016
1 parent b3ae966 commit f5a3b5e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions CefSharp.Wpf/ChromiumWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1599,13 +1599,14 @@ private Popup CreatePopup()
}

/// <summary>
/// Sources the hook.
/// WindowProc callback interceptor. Handles Windows messages intended for the source hWnd, and passes them to the
/// contained browser as needed.
/// </summary>
/// <param name="hWnd">The hWnd.</param>
/// <param name="hWnd">The source handle.</param>
/// <param name="message">The message.</param>
/// <param name="wParam">The w parameter.</param>
/// <param name="lParam">The l parameter.</param>
/// <param name="handled">if set to <c>true</c> [handled].</param>
/// <param name="wParam">Additional message info.</param>
/// <param name="lParam">Even more message info.</param>
/// <param name="handled">if set to <c>true</c>, the event has already been handled by someone else.</param>
/// <returns>IntPtr.</returns>
protected virtual IntPtr SourceHook(IntPtr hWnd, int message, IntPtr wParam, IntPtr lParam, ref bool handled)
{
Expand Down Expand Up @@ -1849,7 +1850,7 @@ protected override void OnMouseWheel(MouseWheelEventArgs e)
}

/// <summary>
/// Popups the mouse enter.
/// Handle the mouse cursor entering the pop-up.
/// </summary>
/// <param name="sender">The sender.</param>
/// <param name="e">The <see cref="MouseEventArgs"/> instance containing the event data.</param>
Expand All @@ -1860,7 +1861,7 @@ private void PopupMouseEnter(object sender, MouseEventArgs e)
}

/// <summary>
/// Popups the mouse leave.
/// Handle the mouse cursor exiting the pop-up.
/// </summary>
/// <param name="sender">The sender.</param>
/// <param name="e">The <see cref="MouseEventArgs"/> instance containing the event data.</param>
Expand Down Expand Up @@ -1982,7 +1983,7 @@ private void ZoomOut()
}

/// <summary>
/// Zooms the browser reset.
/// Reset the browser's zoom level to default.
/// </summary>
private void ZoomReset()
{
Expand Down

0 comments on commit f5a3b5e

Please sign in to comment.