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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataObject.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send "meta data" of dropData in DragEnter Created 4 years, 9 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: third_party/WebKit/Source/core/clipboard/DataObject.h
diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.h b/third_party/WebKit/Source/core/clipboard/DataObject.h
index 05a4f58a70197815c8ead1af1565250a634199c8..8a3ca0b500bf6cf63ca17bd3e7268c6a92045ea7 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObject.h
+++ b/third_party/WebKit/Source/core/clipboard/DataObject.h
@@ -97,6 +97,8 @@ public:
int modifiers() const { return m_modifiers; }
void setModifiers(int modifiers) { m_modifiers = modifiers; }
+ bool canReadContent() const { return m_canReadContent; }
+
DECLARE_TRACE();
WebDragData toWebDragData();
@@ -113,6 +115,8 @@ private:
// State of Shift/Ctrl/Alt/Meta keys and Left/Right/Middle mouse buttons
int m_modifiers;
String m_filesystemId;
+
+ bool m_canReadContent;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698