| Index: webkit/glue/webdropdata.h
|
| diff --git a/webkit/glue/webdropdata.h b/webkit/glue/webdropdata.h
|
| index 9afcd04c53cc6ab96dfcb0bdadfe6777138d27ca..7c9fe19522c78c83a561b56f019c40d436d239a3 100644
|
| --- a/webkit/glue/webdropdata.h
|
| +++ b/webkit/glue/webdropdata.h
|
| @@ -16,7 +16,15 @@
|
| struct IDataObject;
|
|
|
| struct WebDropData {
|
| - // User is dropping a link on the webview.
|
| + // Construct with a given drag identity. Note: identity is an int32 because
|
| + // it is passed over the renderer NPAPI interface to gears.
|
| + explicit WebDropData(int32 drag_identity) : identity(drag_identity) {}
|
| + int32 identity;
|
| +
|
| + // For default constructions, use drag |identity| 0.
|
| + WebDropData() : identity(0) {}
|
| +
|
| + // User is dragging a link into the webview.
|
| GURL url;
|
| std::wstring url_title; // The title associated with |url|.
|
|
|
|
|