void set_url(const std::string &url);
void reload();
+ void set_max_fps(int max_fps);
+ void execute_javascript_async(const std::string &js);
void OnPaint(const void *buffer, int width, int height);
bmusb::frame_callback_t frame_callback = nullptr;
std::string description, start_url;
+ std::atomic<int> max_fps{60};
std::mutex browser_mutex;
CefRefPtr<CefBrowser> browser; // Under <browser_mutex>.