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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual String sanitizeUserInputValue(const String&) const; | 141 virtual String sanitizeUserInputValue(const String&) const; |
142 virtual void warnIfValueIsInvalid(const String&) const; | 142 virtual void warnIfValueIsInvalid(const String&) const; |
143 void warnIfValueIsInvalidAndElementIsVisible(const String&) const; | 143 void warnIfValueIsInvalidAndElementIsVisible(const String&) const; |
144 | 144 |
145 virtual bool isKeyboardFocusable() const; | 145 virtual bool isKeyboardFocusable() const; |
146 virtual bool shouldShowFocusRingOnMouseFocus() const; | 146 virtual bool shouldShowFocusRingOnMouseFocus() const; |
147 virtual void enableSecureTextInput(); | 147 virtual void enableSecureTextInput(); |
148 virtual void disableSecureTextInput(); | 148 virtual void disableSecureTextInput(); |
149 virtual void accessKeyAction(bool sendMouseEvents); | 149 virtual void accessKeyAction(bool sendMouseEvents); |
150 virtual bool canBeSuccessfulSubmitButton(); | 150 virtual bool canBeSuccessfulSubmitButton(); |
| 151 virtual bool matchesDefaultPseudoClass(); |
151 | 152 |
152 // Miscellaneous functions | 153 // Miscellaneous functions |
153 | 154 |
154 virtual bool layoutObjectIsNeeded(); | 155 virtual bool layoutObjectIsNeeded(); |
155 virtual void countUsage(); | 156 virtual void countUsage(); |
156 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange(); | 157 virtual void sanitizeValueInResponseToMinOrMaxAttributeChange(); |
157 virtual bool shouldRespectAlignAttribute(); | 158 virtual bool shouldRespectAlignAttribute(); |
158 virtual FileList* files(); | 159 virtual FileList* files(); |
159 virtual void setFiles(FileList*); | 160 virtual void setFiles(FileList*); |
160 // Should return true if the given DragData has more than one dropped files. | 161 // Should return true if the given DragData has more than one dropped files. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; | 233 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; |
233 void addWarningToConsole(const char* messageFormat, const String& value) con
st; | 234 void addWarningToConsole(const char* messageFormat, const String& value) con
st; |
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 blink | 241 } // namespace blink |
241 #endif | 242 #endif |
OLD | NEW |