Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: content/public/common/drop_data.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/drop_data.h
diff --git a/content/public/common/drop_data.h b/content/public/common/drop_data.h
index e589184b41f2f0442d065e91faf72d7bebff750b..49724d256327cc83bb3f11d771eba53253bdfd43 100644
--- a/content/public/common/drop_data.h
+++ b/content/public/common/drop_data.h
@@ -38,6 +38,9 @@ struct CONTENT_EXPORT DropData {
// Whether this drag originated from a renderer.
bool did_originate_from_renderer;
+ // Whether this DropData has been initialized.
+ bool is_valid;
+
// User is dragging a link into the webview.
GURL url;
base::string16 url_title; // The title associated with |url|.

Powered by Google App Engine
This is Rietveld 408576698