Assuming CEF is initialized multi-threaded, am I right, that the CEF UI thread is different from the applications main thread (which is mostly the app's UI thread)?
Assuming that, how can I call, eg., the frame's get_source on CEF's UI thread, since something like that is mostly intended by a user who clicks somewhere, which is handled in the app's main thread?
- Code: Select all
// Returns this frame's HTML source as a string. This function should only be
// called on the UI thread.
// The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t (CEF_CALLBACK *get_source)(struct _cef_frame_t* self);