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 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 virtual bool parsedStepValueShouldBeInteger() const; | 154 virtual bool parsedStepValueShouldBeInteger() const; |
155 virtual bool scaledStepValueShouldBeInteger() const; | 155 virtual bool scaledStepValueShouldBeInteger() const; |
156 virtual double acceptableError(double) const; | 156 virtual double acceptableError(double) const; |
157 virtual String typeMismatchText() const; | 157 virtual String typeMismatchText() const; |
158 virtual String valueMissingText() const; | 158 virtual String valueMissingText() const; |
159 virtual bool canSetStringValue() const; | 159 virtual bool canSetStringValue() const; |
160 virtual String visibleValue() const; | 160 virtual String visibleValue() const; |
161 virtual String convertFromVisibleValue(const String&) const; | 161 virtual String convertFromVisibleValue(const String&) const; |
162 virtual bool isAcceptableValue(const String&); | 162 virtual bool isAcceptableValue(const String&); |
163 // Returing the null string means "use the default value." | 163 // Returing the null string means "use the default value." |
164 virtual String sanitizeValue(const String&); | 164 // This function must be called only by HTMLInputElement::sanitizeValue(). |
| 165 virtual String sanitizeValue(const String&) const; |
165 virtual bool hasUnacceptableValue(); | 166 virtual bool hasUnacceptableValue(); |
166 | 167 |
167 // Event handlers | 168 // Event handlers |
168 | 169 |
169 virtual void handleClickEvent(MouseEvent*); | 170 virtual void handleClickEvent(MouseEvent*); |
170 virtual void handleMouseDownEvent(MouseEvent*); | 171 virtual void handleMouseDownEvent(MouseEvent*); |
171 virtual PassOwnPtr<ClickHandlingState> willDispatchClick(); | 172 virtual PassOwnPtr<ClickHandlingState> willDispatchClick(); |
172 virtual void didDispatchClick(Event*, const ClickHandlingState&); | 173 virtual void didDispatchClick(Event*, const ClickHandlingState&); |
173 virtual void handleDOMActivateEvent(Event*); | 174 virtual void handleDOMActivateEvent(Event*); |
174 virtual void handleKeydownEvent(KeyboardEvent*); | 175 virtual void handleKeydownEvent(KeyboardEvent*); |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 const AtomicString& text(); | 300 const AtomicString& text(); |
300 const AtomicString& time(); | 301 const AtomicString& time(); |
301 const AtomicString& url(); | 302 const AtomicString& url(); |
302 const AtomicString& week(); | 303 const AtomicString& week(); |
303 | 304 |
304 } // namespace WebCore::InputTypeNames | 305 } // namespace WebCore::InputTypeNames |
305 | 306 |
306 } // namespace WebCore | 307 } // namespace WebCore |
307 | 308 |
308 #endif | 309 #endif |
OLD | NEW |