OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |