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

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

Issue 2119863003: Revert of DevTools: protocol setting files properly handles mimetypes and directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(const Vector<String>&);
190
191 // Returns true if the given DragData has more than one dropped files. 189 // Returns true if the given DragData has more than one dropped files.
192 bool receiveDroppedFiles(const DragData*); 190 bool receiveDroppedFiles(const DragData*);
193 191
194 String droppedFileSystemId(); 192 String droppedFileSystemId();
195 193
196 // These functions are used for laying out the input active during a 194 // These functions are used for laying out the input active during a
197 // drag-and-drop operation. 195 // drag-and-drop operation.
198 bool canReceiveDroppedFiles() const; 196 bool canReceiveDroppedFiles() const;
199 void setCanReceiveDroppedFiles(bool); 197 void setCanReceiveDroppedFiles(bool);
200 198
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // The ImageLoader must be owned by this element because the loader code ass umes 399 // The ImageLoader must be owned by this element because the loader code ass umes
402 // that it lives as long as its owning element lives. If we move the loader into 400 // that it lives as long as its owning element lives. If we move the loader into
403 // the ImageInput object we may delete the loader while this element lives o n. 401 // the ImageInput object we may delete the loader while this element lives o n.
404 Member<HTMLImageLoader> m_imageLoader; 402 Member<HTMLImageLoader> m_imageLoader;
405 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 403 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
406 }; 404 };
407 405
408 } // namespace blink 406 } // namespace blink
409 407
410 #endif // HTMLInputElement_h 408 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698