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

Side by Side Diff: Source/core/html/forms/InputType.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
« no previous file with comments | « Source/core/html/forms/FileInputType.cpp ('k') | Source/core/html/forms/InputType.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 virtual bool rendererIsNeeded(); 166 virtual bool rendererIsNeeded();
167 virtual void countUsage(); 167 virtual void countUsage();
168 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange(); 168 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange();
169 virtual bool shouldRespectAlignAttribute(); 169 virtual bool shouldRespectAlignAttribute();
170 virtual FileList* files(); 170 virtual FileList* files();
171 virtual void setFiles(PassRefPtrWillBeRawPtr<FileList>); 171 virtual void setFiles(PassRefPtrWillBeRawPtr<FileList>);
172 // Should return true if the given DragData has more than one dropped files. 172 // Should return true if the given DragData has more than one dropped files.
173 virtual bool receiveDroppedFiles(const DragData*); 173 virtual bool receiveDroppedFiles(const DragData*);
174 virtual String droppedFileSystemId(); 174 virtual String droppedFileSystemId();
175 virtual void copyNonAttributeProperties(const HTMLInputElement&);
175 // Should return true if the corresponding renderer for a type can display a suggested value. 176 // Should return true if the corresponding renderer for a type can display a suggested value.
176 virtual bool canSetSuggestedValue(); 177 virtual bool canSetSuggestedValue();
177 virtual bool shouldSendChangeEventAfterCheckedChanged(); 178 virtual bool shouldSendChangeEventAfterCheckedChanged();
178 virtual bool canSetValue(const String&); 179 virtual bool canSetValue(const String&);
179 virtual bool storesValueSeparateFromAttribute(); 180 virtual bool storesValueSeparateFromAttribute();
180 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or); 181 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or);
181 virtual bool shouldRespectListAttribute(); 182 virtual bool shouldRespectListAttribute();
182 virtual bool shouldRespectSpeechAttribute(); 183 virtual bool shouldRespectSpeechAttribute();
183 virtual bool isEnumeratable(); 184 virtual bool isEnumeratable();
184 virtual bool isCheckable(); 185 virtual bool isCheckable();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 233
233 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St epDescription&) const; 234 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St epDescription&) const;
234 235
235 private: 236 private:
236 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue. 237 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue.
237 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh avior, ExceptionState&); 238 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh avior, ExceptionState&);
238 }; 239 };
239 240
240 } // namespace WebCore 241 } // namespace WebCore
241 #endif 242 #endif
OLDNEW
« no previous file with comments | « Source/core/html/forms/FileInputType.cpp ('k') | Source/core/html/forms/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698