Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefDragData

CefBase
   |
   +--CefDragData

   in cef.h

class CefDragData
extends CefBase

Class used to represent drag data. The methods of this class may be called on any thread.


Method Summary
 virtual CefString GetFileExtension()= 0
          Return the extension of the file being dragged out of the browser window.
 virtual CefString GetFileName()= 0
          Return the name of the file being dragged out of the browser window.
 virtual bool GetFileNames( std::vector< CefString >& names )= 0
          Retrieve the list of file names that are being dragged into the browser window.
 virtual CefString GetFragmentBaseURL()= 0
          Return the base URL that the fragment came from.
 virtual CefString GetFragmentHtml()= 0
          Return the text/html fragment that is being dragged.
 virtual CefString GetFragmentText()= 0
          Return the plain text fragment that is being dragged.
 virtual CefString GetLinkMetadata()= 0
          Return the metadata, if any, associated with the link being dragged.
 virtual CefString GetLinkTitle()= 0
          Return the title associated with the link being dragged.
 virtual CefString GetLinkURL()= 0
          Return the link URL that is being dragged.
 virtual bool IsFile()= 0
          Returns true if the drag data is a file.
 virtual bool IsFragment()= 0
          Returns true if the drag data is a text or html fragment.
 virtual bool IsLink()= 0
          Returns true if the drag data is a link.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

GetFileExtension

public virtual CefString GetFileExtension()= 0;
Return the extension of the file being dragged out of the browser window.

GetFileName

public virtual CefString GetFileName()= 0;
Return the name of the file being dragged out of the browser window.

GetFileNames

public virtual bool GetFileNames( std::vector< CefString >& names )= 0;
Retrieve the list of file names that are being dragged into the browser window.

GetFragmentBaseURL

public virtual CefString GetFragmentBaseURL()= 0;
Return the base URL that the fragment came from. This value is used for resolving relative URLs and may be empty.

GetFragmentHtml

public virtual CefString GetFragmentHtml()= 0;
Return the text/html fragment that is being dragged.

GetFragmentText

public virtual CefString GetFragmentText()= 0;
Return the plain text fragment that is being dragged.

GetLinkMetadata

public virtual CefString GetLinkMetadata()= 0;
Return the metadata, if any, associated with the link being dragged.

GetLinkTitle

public virtual CefString GetLinkTitle()= 0;
Return the title associated with the link being dragged.

GetLinkURL

public virtual CefString GetLinkURL()= 0;
Return the link URL that is being dragged.

IsFile

public virtual bool IsFile()= 0;
Returns true if the drag data is a file.

IsFragment

public virtual bool IsFragment()= 0;
Returns true if the drag data is a text or html fragment.

IsLink

public virtual bool IsLink()= 0;
Returns true if the drag data is a link.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 439
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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