[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/2php/cefpython/cefpython55/src/client_handler/focus_handler.cpp [Back]  [Original]

// 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);
}

Web Proxy Viewer  |  New URL  |  Original Page