[This is preliminary documentation and is subject to change.]
The CefDragData type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| AddFile |
Add a file that is being dragged into the webview.
| |
| Clone |
Returns a copy of the current object.
| |
| Create |
Create a new CefDragData object.
| |
| Dispose | Releases all resources used by the CefDragData | |
| (Inherited from | ||
| Finalize | (Overrides | |
| GetFileContents |
Write the contents of the file being dragged out of the web view into
|writer|. Returns the number of bytes sent to |writer|. If |writer| is
NULL this method will return the size of the file contents in bytes.
Call GetFileName() to get a suggested name for the file.
| |
| GetFileNames |
Retrieve the list of file names that are being dragged into the browser
window.
| |
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| ResetFileContents |
Reset the file contents. You should do this before calling
CefBrowserHost::DragTargetDragEnter as the web view does not allow us to
drag in this kind of data.
| |
| SetFragmentBaseURL |
Set the base URL that the fragment came from.
| |
| SetFragmentHtml |
Set the text/html fragment that is being dragged.
| |
| SetFragmentText |
Set the plain text fragment that is being dragged.
| |
| SetLinkMetadata |
Set the metadata associated with the link being dragged.
| |
| SetLinkTitle |
Set the title associated with the link being dragged.
| |
| SetLinkURL |
Set the link URL that is being dragged.
| |
| (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| FileName |
Return the name of the file being dragged out of the browser window.
| |
| FragmentBaseUrl |
Return the base URL that the fragment came from. This value is used for
resolving relative URLs and may be empty.
| |
| FragmentHtml |
Return the text/html fragment that is being dragged.
| |
| FragmentText |
Return the plain text fragment that is being dragged.
| |
| IsFile |
Returns true if the drag data is a file.
| |
| IsFragment |
Returns true if the drag data is a text or html fragment.
| |
| IsLink |
Returns true if the drag data is a link.
| |
| IsReadOnly |
Returns true if this object is read-only.
| |
| LinkMetadata |
Return the metadata, if any, associated with the link being dragged.
| |
| LinkTitle |
Return the title associated with the link being dragged.
| |
| LinkUrl |
Return the link URL that is being dragged.
|
See Also