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

Unified Diff: public/platform/WebDragData.h

Issue 193803002: Prevent web content from forging File entries in drag and drop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« Source/core/page/DragData.cpp ('K') | « Source/web/WebDragData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDragData.h
diff --git a/public/platform/WebDragData.h b/public/platform/WebDragData.h
index bd02272014978630090f62b9ad0f030b3f40ea0c..3328eb5d41d7f5c0334e71b493c037f98bad8deb 100644
--- a/public/platform/WebDragData.h
+++ b/public/platform/WebDragData.h
@@ -102,6 +102,8 @@ public:
BLINK_EXPORT WebString filesystemId() const;
BLINK_EXPORT void setFilesystemId(const WebString&);
+ BLINK_EXPORT void setFilenameForNavigation(const WebString&);
+
#if BLINK_IMPLEMENTATION
explicit WebDragData(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&);
WebDragData& operator=(const PassRefPtrWillBeRawPtr<WebCore::DataObject>&);
« Source/core/page/DragData.cpp ('K') | « Source/web/WebDragData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698