web_helper.cpp 356 B

12345678
  1. #include "WallpaperEngine/WebBrowser/CEF/SubprocessApp.h"
  2. // Chromium child processes of a --web-host, apart from the engine whose ~250 libraries take ~50ms to load
  3. int main (int argc, char* argv[]) {
  4. const CefMainArgs mainArgs (argc, argv);
  5. return CefExecuteProcess (mainArgs, new WallpaperEngine::WebBrowser::CEF::SubprocessApp (), nullptr);
  6. }