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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 virtual bool isSteppable() const; | 269 virtual bool isSteppable() const; |
270 virtual bool shouldRespectHeightAndWidthAttributes(); | 270 virtual bool shouldRespectHeightAndWidthAttributes(); |
271 // If supportsPlaceholder() && !usesFixedPlaceholder(), it means a type | 271 // If supportsPlaceholder() && !usesFixedPlaceholder(), it means a type |
272 // supports the 'placeholder' attribute. | 272 // supports the 'placeholder' attribute. |
273 // If supportsPlaceholder() && usesFixedPlaceholder(), it means a type | 273 // If supportsPlaceholder() && usesFixedPlaceholder(), it means a type |
274 // doesn't support the 'placeholder' attribute, but shows | 274 // doesn't support the 'placeholder' attribute, but shows |
275 // fixedPlaceholder() string as a placeholder. | 275 // fixedPlaceholder() string as a placeholder. |
276 virtual bool supportsPlaceholder() const; | 276 virtual bool supportsPlaceholder() const; |
277 virtual bool usesFixedPlaceholder() const; | 277 virtual bool usesFixedPlaceholder() const; |
278 virtual String fixedPlaceholder(); | 278 virtual String fixedPlaceholder(); |
| 279 virtual bool supportsReadOnly() const; |
279 virtual void updateInnerTextValue(); | 280 virtual void updateInnerTextValue(); |
280 virtual void updatePlaceholderText(); | 281 virtual void updatePlaceholderText(); |
281 virtual void multipleAttributeChanged(); | 282 virtual void multipleAttributeChanged(); |
282 virtual void disabledAttributeChanged(); | 283 virtual void disabledAttributeChanged(); |
283 virtual void readonlyAttributeChanged(); | 284 virtual void readonlyAttributeChanged(); |
284 virtual String defaultToolTip() const; | 285 virtual String defaultToolTip() const; |
285 #if ENABLE(DATALIST_ELEMENT) | 286 #if ENABLE(DATALIST_ELEMENT) |
286 virtual void listAttributeTargetChanged(); | 287 virtual void listAttributeTargetChanged(); |
287 virtual Decimal findClosestTickMarkValue(const Decimal&); | 288 virtual Decimal findClosestTickMarkValue(const Decimal&); |
288 #endif | 289 #endif |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 325 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
325 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); | 326 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); |
326 | 327 |
327 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. | 328 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. |
328 HTMLInputElement* m_element; | 329 HTMLInputElement* m_element; |
329 }; | 330 }; |
330 | 331 |
331 } // namespace WebCore | 332 } // namespace WebCore |
332 | 333 |
333 #endif | 334 #endif |
OLD | NEW |