cef_drag_handler_t

Implement this structure to handle events related to dragging. The functions of this structure will be called on the UI thread.

version(cef && embedded_cef_bindings)
extern (C)
struct cef_drag_handler_t {
extern (System)
int function(cef_drag_handler_t* self, cef_browser_t* browser, cef_drag_data_t* dragData, cef_drag_operations_mask_t mask) nothrow on_drag_enter;
}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

on_draggable_regions_changed
void function(cef_drag_handler_t* self, cef_browser_t* browser, cef_frame_t* frame, size_t regionsCount, const(cef_draggable_region_t)* regions) nothrow on_draggable_regions_changed;

Called whenever draggable regions for the browser window change. These can be specified using the '-webkit-app-region: drag/no-drag' CSS-property. If draggable regions are never defined in a document this function will also never be called. If the last draggable region is removed from a document this function will be called with an NULL vector.

Meta