(default)
Class CefDragHandler
CefBase
|
+--CefDragHandler
in cef.h
- class CefDragHandler
- extends CefBase
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.
OnDragStart
public virtual bool OnDragStart( CefRefPtr< CefBrowser > browser, CefRefPtr< CefDragData > dragData, CefDragHandler::DragOperationsMask mask );
- Called when the browser window initiates a drag event. |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.
Chromium Embedded Framework (CEF) Copyright © 2011 Marshall A. Greenblatt