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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 virtual String valueMissingText() const; | 148 virtual String valueMissingText() const; |
149 virtual bool canSetStringValue() const; | 149 virtual bool canSetStringValue() const; |
150 virtual String localizeValue(const String&) const; | 150 virtual String localizeValue(const String&) const; |
151 virtual String visibleValue() const; | 151 virtual String visibleValue() const; |
152 // Returing the null string means "use the default value." | 152 // Returing the null string means "use the default value." |
153 // This function must be called only by HTMLInputElement::sanitizeValue(). | 153 // This function must be called only by HTMLInputElement::sanitizeValue(). |
154 virtual String sanitizeValue(const String&) const; | 154 virtual String sanitizeValue(const String&) const; |
155 | 155 |
156 virtual bool isKeyboardFocusable() const; | 156 virtual bool isKeyboardFocusable() const; |
157 virtual bool shouldShowFocusRingOnMouseFocus() const; | 157 virtual bool shouldShowFocusRingOnMouseFocus() const; |
158 virtual bool shouldUseInputMethod() const; | |
159 virtual void enableSecureTextInput(); | 158 virtual void enableSecureTextInput(); |
160 virtual void disableSecureTextInput(); | 159 virtual void disableSecureTextInput(); |
161 virtual void accessKeyAction(bool sendMouseEvents); | 160 virtual void accessKeyAction(bool sendMouseEvents); |
162 virtual bool canBeSuccessfulSubmitButton(); | 161 virtual bool canBeSuccessfulSubmitButton(); |
163 | 162 |
164 // Miscellaneous functions | 163 // Miscellaneous functions |
165 | 164 |
166 virtual bool rendererIsNeeded(); | 165 virtual bool rendererIsNeeded(); |
167 virtual void countUsage(); | 166 virtual void countUsage(); |
168 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange(); | 167 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange(); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 233 |
235 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; |
236 | 235 |
237 private: | 236 private: |
238 // 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. |
239 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); | 238 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); |
240 }; | 239 }; |
241 | 240 |
242 } // namespace blink | 241 } // namespace blink |
243 #endif | 242 #endif |
OLD | NEW |