예제 #1
0
파일: app.cpp 프로젝트: ARSrabon/phpdesktop
///
// 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()";
}
예제 #2
0
  virtual void SendComplete() {
    REQUIRE_UI_THREAD();

    // Have to put it here. JNI calls require same thread.
    send_download_status(jdw, S_DOWNLOADED);
  }
예제 #3
0
bool ClientHandler::OnConsoleMessage(CefRefPtr<CefBrowser> browser, const CefString& message, const CefString& source, int line)
{
	REQUIRE_UI_THREAD();
	return TRUE;
}