]> git.sesse.net Git - nageru/blobdiff - nageru/cef_capture.h
IWYU-fix nageru/*.h.
[nageru] / nageru / cef_capture.h
index 2b4d1cb8441b45dca8bb618a5c4bacc48ef77c50..5a34b58f38f19780479dbf61bf6587de55302c79 100644 (file)
@@ -9,20 +9,21 @@
 #include <assert.h>
 #include <stdint.h>
 
-#include <condition_variable>
+#include <atomic>
 #include <functional>
 #include <map>
 #include <memory>
 #include <mutex>
 #include <set>
 #include <string>
-#include <thread>
 #include <vector>
 
 #undef CHECK
 #include <cef_client.h>
 #include <cef_base.h>
 #include <cef_render_handler.h>
+#include <cef_frame.h>
+#include <cef_load_handler.h>
 
 #include <bmusb/bmusb.h>
 
@@ -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);