Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | 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.


Inner Classes, Typedefs, and Enums
typedef CefDragHandler::DragOperationsMask
          
 
Method Summary
 virtual bool OnDragEnter( CefRefPtr< CefBrowser > browser, CefRefPtr< CefDragData > dragData, CefDragHandler::DragOperationsMask mask )
          Called when an external drag event enters the browser window.
 virtual void OnDraggableRegionsChanged( CefRefPtr< CefBrowser > browser, const std::vector< CefDraggableRegion >& regions )
          Called whenever draggable regions for the browser window change.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef
 

Method Detail

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.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 3.3239.1700.g385b2d4
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt