X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fcef_capture.h;h=5a34b58f38f19780479dbf61bf6587de55302c79;hb=a0e57ec99e9dfdd7e79bcf21e8c996dc43b6cb49;hp=2b4d1cb8441b45dca8bb618a5c4bacc48ef77c50;hpb=5982dac8e7df84c42f9a42c228e003c60f837f21;p=nageru diff --git a/nageru/cef_capture.h b/nageru/cef_capture.h index 2b4d1cb..5a34b58 100644 --- a/nageru/cef_capture.h +++ b/nageru/cef_capture.h @@ -9,20 +9,21 @@ #include #include -#include +#include #include #include #include #include #include #include -#include #include #undef CHECK #include #include #include +#include +#include #include @@ -85,7 +86,7 @@ public: void set_max_fps(int max_fps); void execute_javascript_async(const std::string &js); void resize(unsigned width, unsigned height); - void request_new_frame(); + void request_new_frame(bool ignore_if_locked); // Callbacks from NageruCEFClient. void OnPaint(const void *buffer, int width, int height);