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

// Copyright (c) 2016 CEF Python, see the Authors file.
// All rights reserved. Licensed under BSD 3-clause license.
// Project website: https://github.com/cztomczak/cefpython

#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