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

Unified Diff: Source/core/page/DragData.h

Issue 720403002: Let input tag filter out non-native files in dropped data. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/core/page/DragData.h
diff --git a/Source/core/page/DragData.h b/Source/core/page/DragData.h
index 7c6f12a28e89d019d8180085d3e337051fe609a6..8489d1672eb9bc569c930d07509bb22a3bb79f34 100644
--- a/Source/core/page/DragData.h
+++ b/Source/core/page/DragData.h
@@ -65,11 +65,10 @@ public:
bool containsCompatibleContent() const;
String asURL(FilenameConversionPolicy filenamePolicy = ConvertFilenames, String* title = nullptr) const;
String asPlainText() const;
- void asFilenames(Vector<String>&) const;
+ void asFilePaths(Vector<String>&) const;
tkent 2014/11/17 08:09:46 I'm not sure why you renamed this.
hirono 2014/11/17 08:14:44 The values are come from blink::File class having
PassRefPtrWillBeRawPtr<DocumentFragment> asFragment(LocalFrame*, PassRefPtrWillBeRawPtr<Range> context, bool allowPlainText, bool& chosePlainText) const;
bool canSmartReplace() const;
bool containsFiles() const;
- unsigned numberOfFiles() const;
int modifierKeyState() const;
String droppedFileSystemId() const;

Powered by Google App Engine
This is Rietveld 408576698