The OpenD Programming Language

cef_dev_tools_message_observer_t.on_dev_tools_method_result

Method that will be called after attempted execution of a DevTools protocol function. |browser| is the originating browser instance. |message_id| is the "id" value that identifies the originating function call message. If the function succeeded |success| will be true (1) and |result| will be the UTF8-encoded JSON "result" dictionary value (which may be NULL). If the function failed |success| will be false (0) and |result| will be the UTF8-encoded JSON "error" dictionary value. |result| is only valid for the scope of this callback and should be copied if necessary. See the OnDevToolsMessage documentation for additional details on |result| contents.

struct cef_dev_tools_message_observer_t
extern (System)
void function(cef_dev_tools_message_observer_t* self, cef_browser_t* browser, int message_id, int success, const(void)* result, size_t result_size) nothrow on_dev_tools_method_result;

Meta