/// // Called on the browser process UI thread immediately after the CEF context // has been initialized. /// void App::OnContextInitialized() { REQUIRE_UI_THREAD(); LOG_DEBUG << "App::OnContextInitialized()"; }
virtual void SendComplete() { REQUIRE_UI_THREAD(); // Have to put it here. JNI calls require same thread. send_download_status(jdw, S_DOWNLOADED); }
bool ClientHandler::OnConsoleMessage(CefRefPtr<CefBrowser> browser, const CefString& message, const CefString& source, int line) { REQUIRE_UI_THREAD(); return TRUE; }