// Copyright (c) 2016 CEF Python. See the Authors and License files.
#include "focus_handler.h"
void FocusHandler::OnTakeFocus(CefRefPtr browser,
bool next)
{
REQUIRE_UI_THREAD();
FocusHandler_OnTakeFocus(browser, next);
}
bool FocusHandler::OnSetFocus(CefRefPtr browser,
cef_focus_source_t source)
{
REQUIRE_UI_THREAD();
return FocusHandler_OnSetFocus(browser, source);
}
void FocusHandler::OnGotFocus(CefRefPtr browser)
{
REQUIRE_UI_THREAD();
FocusHandler_OnGotFocus(browser);
}