Skip to content

Commit 25bfc51

Browse files
committed
Untabify
1 parent 3bbb01c commit 25bfc51

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

CefSharp.Core/Internals/ClientAdapter.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -375,39 +375,39 @@ namespace CefSharp
375375

376376
void ClientAdapter::OnGotFocus(CefRefPtr<CefBrowser> browser)
377377
{
378-
IFocusHandler^ handler = _browserControl->FocusHandler;
378+
IFocusHandler^ handler = _browserControl->FocusHandler;
379379

380380
if (handler == nullptr)
381-
{
382-
return;
383-
}
381+
{
382+
return;
383+
}
384384

385-
handler->OnGotFocus();
385+
handler->OnGotFocus();
386386
}
387387

388388
bool ClientAdapter::OnSetFocus(CefRefPtr<CefBrowser> browser, FocusSource source)
389389
{
390-
IFocusHandler^ handler = _browserControl->FocusHandler;
390+
IFocusHandler^ handler = _browserControl->FocusHandler;
391391

392392
if (handler == nullptr)
393-
{
394-
// Allow the focus to be set by default.
395-
return false;
396-
}
393+
{
394+
// Allow the focus to be set by default.
395+
return false;
396+
}
397397

398-
return handler->OnSetFocus((CefFocusSource)source);
398+
return handler->OnSetFocus((CefFocusSource)source);
399399
}
400400

401401
void ClientAdapter::OnTakeFocus(CefRefPtr<CefBrowser> browser, bool next)
402402
{
403-
IFocusHandler^ handler = _browserControl->FocusHandler;
403+
IFocusHandler^ handler = _browserControl->FocusHandler;
404404

405405
if (handler == nullptr)
406-
{
407-
return;
408-
}
406+
{
407+
return;
408+
}
409409

410-
handler->OnTakeFocus(next);
410+
handler->OnTakeFocus(next);
411411
}
412412

413413
bool ClientAdapter::OnJSDialog(CefRefPtr<CefBrowser> browser, const CefString& origin_url, const CefString& accept_lang,

0 commit comments

Comments
 (0)