mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Fix spacing
This commit is contained in:
@@ -28,7 +28,7 @@ namespace CefSharp.WinForms.Internals
|
||||
|
||||
public static void Activate(this Control control)
|
||||
{
|
||||
//Notify WinForms world that inner browser window got focus. This will trigger Leave event to previous focused control
|
||||
// Notify WinForms world that inner browser window got focus. This will trigger Leave event to previous focused control
|
||||
var containerControl = control.GetContainerControl();
|
||||
if (containerControl != null)
|
||||
{
|
||||
|
||||
@@ -20,13 +20,13 @@ namespace CefSharp.WinForms.Internals
|
||||
|
||||
public virtual bool OnSetFocus(CefFocusSource source)
|
||||
{
|
||||
//Do not let the browser take focus when a Load method has been called
|
||||
// Do not let the browser take focus when a Load method has been called
|
||||
return source == CefFocusSource.FocusSourceNavigation;
|
||||
}
|
||||
|
||||
public virtual void OnTakeFocus(bool next)
|
||||
{
|
||||
//NOTE: OnTakeFocus means leaving focus / not taking focus
|
||||
// NOTE: OnTakeFocus means leaving focus / not taking focus
|
||||
browser.InvokeOnUiThreadIfRequired(() => browser.SelectNextControl(next));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user