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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Should return true if the given DragData has more than one dropped files. | 155 // Should return true if the given DragData has more than one dropped files. |
156 virtual bool receiveDroppedFiles(const DragData*); | 156 virtual bool receiveDroppedFiles(const DragData*); |
157 virtual String droppedFileSystemId(); | 157 virtual String droppedFileSystemId(); |
158 // Should return true if the corresponding renderer for a type can display a
suggested value. | 158 // Should return true if the corresponding renderer for a type can display a
suggested value. |
159 virtual bool canSetSuggestedValue(); | 159 virtual bool canSetSuggestedValue(); |
160 virtual bool shouldSendChangeEventAfterCheckedChanged(); | 160 virtual bool shouldSendChangeEventAfterCheckedChanged(); |
161 virtual bool canSetValue(const String&); | 161 virtual bool canSetValue(const String&); |
162 virtual bool storesValueSeparateFromAttribute(); | 162 virtual bool storesValueSeparateFromAttribute(); |
163 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or); | 163 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or); |
164 virtual bool shouldRespectListAttribute(); | 164 virtual bool shouldRespectListAttribute(); |
165 virtual bool shouldRespectSpeechAttribute(); | |
166 virtual bool isEnumeratable(); | 165 virtual bool isEnumeratable(); |
167 virtual bool isCheckable(); | 166 virtual bool isCheckable(); |
168 virtual bool isSteppable() const; | 167 virtual bool isSteppable() const; |
169 virtual bool shouldRespectHeightAndWidthAttributes(); | 168 virtual bool shouldRespectHeightAndWidthAttributes(); |
170 virtual int maxLength() const; | 169 virtual int maxLength() const; |
171 virtual int minLength() const; | 170 virtual int minLength() const; |
172 virtual bool supportsPlaceholder() const; | 171 virtual bool supportsPlaceholder() const; |
173 virtual bool supportsReadOnly() const; | 172 virtual bool supportsReadOnly() const; |
174 virtual String defaultToolTip() const; | 173 virtual String defaultToolTip() const; |
175 virtual Decimal findClosestTickMarkValue(const Decimal&); | 174 virtual Decimal findClosestTickMarkValue(const Decimal&); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 223 |
225 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; | 224 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; |
226 | 225 |
227 private: | 226 private: |
228 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 227 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
229 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); | 228 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); |
230 }; | 229 }; |
231 | 230 |
232 } // namespace blink | 231 } // namespace blink |
233 #endif | 232 #endif |
OLD | NEW |