| Index: third_party/WebKit/public/platform/WebDragData.h
|
| diff --git a/third_party/WebKit/public/platform/WebDragData.h b/third_party/WebKit/public/platform/WebDragData.h
|
| index 4eb774e08ee8ac3fd5c3bb154f349cecc3dd8576..42ce9bbe638a5afc8a71c97b398e2da4b2787076 100644
|
| --- a/third_party/WebKit/public/platform/WebDragData.h
|
| +++ b/third_party/WebKit/public/platform/WebDragData.h
|
| @@ -62,28 +62,32 @@ class WebDragData {
|
|
|
| StorageType storageType;
|
|
|
| + // TODO(dcheng): This should probably be a union.
|
| // Only valid when storageType == StorageTypeString.
|
| WebString stringType;
|
| WebString stringData;
|
|
|
| + // Title associated with a link when stringType == "text/uri-list".
|
| + WebString title;
|
| +
|
| + // Only valid when stringType == "text/html". Stores the base URL for the
|
| + // contained markup.
|
| + WebURL baseURL;
|
| +
|
| // Only valid when storageType == StorageTypeFilename.
|
| WebString filenameData;
|
| WebString displayNameData;
|
|
|
| // Only valid when storageType == StorageTypeBinaryData.
|
| WebData binaryData;
|
| -
|
| - // Title associated with a link when stringType == "text/uri-list".
|
| - // Filename when storageType == StorageTypeBinaryData.
|
| - WebString title;
|
| + WebURL binaryDataSourceURL;
|
| + WebString binaryDataFilenameExtension;
|
| + WebString binaryDataContentDisposition;
|
|
|
| // Only valid when storageType == StorageTypeFileSystemFile.
|
| WebURL fileSystemURL;
|
| long long fileSystemFileSize;
|
| WebString fileSystemId;
|
| -
|
| - // Only valid when stringType == "text/html".
|
| - WebURL baseURL;
|
| };
|
|
|
| WebDragData() : m_valid(false), m_modifierKeyState(0) {}
|
|
|