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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.h

Issue 2098703003: DevTools: protocol setting files properly handles mimetypes and directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor to FileInputType, add test Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 int maxLength() const; 179 int maxLength() const;
180 int minLength() const; 180 int minLength() const;
181 void setMaxLength(int, ExceptionState&); 181 void setMaxLength(int, ExceptionState&);
182 void setMinLength(int, ExceptionState&); 182 void setMinLength(int, ExceptionState&);
183 183
184 bool multiple() const; 184 bool multiple() const;
185 185
186 FileList* files(); 186 FileList* files();
187 void setFiles(FileList*); 187 void setFiles(FileList*);
188 188
189 void setFilesFromPaths(Vector<String>);
dgozman 2016/06/27 21:07:02 const Vector<String>&
einbinder 2016/06/27 22:41:01 Done.
190
189 // Returns true if the given DragData has more than one dropped files. 191 // Returns true if the given DragData has more than one dropped files.
190 bool receiveDroppedFiles(const DragData*); 192 bool receiveDroppedFiles(const DragData*);
191 193
192 String droppedFileSystemId(); 194 String droppedFileSystemId();
193 195
194 // These functions are used for laying out the input active during a 196 // These functions are used for laying out the input active during a
195 // drag-and-drop operation. 197 // drag-and-drop operation.
196 bool canReceiveDroppedFiles() const; 198 bool canReceiveDroppedFiles() const;
197 void setCanReceiveDroppedFiles(bool); 199 void setCanReceiveDroppedFiles(bool);
198 200
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // The ImageLoader must be owned by this element because the loader code ass umes 401 // The ImageLoader must be owned by this element because the loader code ass umes
400 // that it lives as long as its owning element lives. If we move the loader into 402 // that it lives as long as its owning element lives. If we move the loader into
401 // the ImageInput object we may delete the loader while this element lives o n. 403 // the ImageInput object we may delete the loader while this element lives o n.
402 Member<HTMLImageLoader> m_imageLoader; 404 Member<HTMLImageLoader> m_imageLoader;
403 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 405 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
404 }; 406 };
405 407
406 } // namespace blink 408 } // namespace blink
407 409
408 #endif // HTMLInputElement_h 410 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698