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

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

Issue 267713006: node.cloneNode() should clone the value of file upload elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 7 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void setSize(unsigned); 195 void setSize(unsigned);
196 void setSize(unsigned, ExceptionState&); 196 void setSize(unsigned, ExceptionState&);
197 197
198 KURL src() const; 198 KURL src() const;
199 199
200 int maxLength() const; 200 int maxLength() const;
201 void setMaxLength(int, ExceptionState&); 201 void setMaxLength(int, ExceptionState&);
202 202
203 bool multiple() const; 203 bool multiple() const;
204 204
205 FileList* files(); 205 FileList* files() const;
206 void setFiles(PassRefPtrWillBeRawPtr<FileList>); 206 void setFiles(PassRefPtrWillBeRawPtr<FileList>);
207 207
208 // Returns true if the given DragData has more than one dropped files. 208 // Returns true if the given DragData has more than one dropped files.
209 bool receiveDroppedFiles(const DragData*); 209 bool receiveDroppedFiles(const DragData*);
210 210
211 String droppedFileSystemId(); 211 String droppedFileSystemId();
212 212
213 // These functions are used for rendering the input active during a 213 // These functions are used for rendering the input active during a
214 // drag-and-drop operation. 214 // drag-and-drop operation.
215 bool canReceiveDroppedFiles() const; 215 bool canReceiveDroppedFiles() const;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 RefPtr<InputTypeView> m_inputTypeView; 399 RefPtr<InputTypeView> m_inputTypeView;
400 // The ImageLoader must be owned by this element because the loader code ass umes 400 // The ImageLoader must be owned by this element because the loader code ass umes
401 // that it lives as long as its owning element lives. If we move the loader into 401 // that it lives as long as its owning element lives. If we move the loader into
402 // the ImageInput object we may delete the loader while this element lives o n. 402 // the ImageInput object we may delete the loader while this element lives o n.
403 OwnPtr<HTMLImageLoader> m_imageLoader; 403 OwnPtr<HTMLImageLoader> m_imageLoader;
404 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; 404 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver;
405 }; 405 };
406 406
407 } //namespace 407 } //namespace
408 #endif 408 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/file/input-file-element-clone-expected.txt ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698