|
CEF3 C++ API Docs - Version 3.3578.1860.g36610bd
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
(default)
Class CefDragHandler
CefBaseRefCounted
|
+--CefDragHandler
in cef_drag_handler.h
- class CefDragHandler
- extends CefBaseRefCounted
Implement this interface to handle events related to dragging. The methods of
this class will be called on the UI thread.
OnDragEnter
public virtual bool OnDragEnter( CefRefPtr< CefBrowser > browser, CefRefPtr< CefDragData > dragData, CefDragHandler::DragOperationsMask mask );
- Called when an external drag event enters the browser window. |dragData|
contains the drag event data and |mask| represents the type of drag
operation. Return false for default drag handling behavior or true to
cancel the drag event.
OnDraggableRegionsChanged
public virtual void OnDraggableRegionsChanged( CefRefPtr< CefBrowser > browser, const std::vector< CefDraggableRegion >& regions );
- 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 method will also
never be called. If the last draggable region is removed from a document
this method will be called with an empty vector.
|
CEF3 C++ API Docs - Version 3.3578.1860.g36610bd
|
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt