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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 Decimal parseToNumberOrNaN(const String&) const; | 229 Decimal parseToNumberOrNaN(const String&) const; |
230 void countUsageIfVisible(UseCounter::Feature) const; | 230 void countUsageIfVisible(UseCounter::Feature) const; |
231 | 231 |
232 // Derive the step base, following the HTML algorithm steps. | 232 // Derive the step base, following the HTML algorithm steps. |
233 Decimal findStepBase(const Decimal&) const; | 233 Decimal findStepBase(const Decimal&) const; |
234 | 234 |
235 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; | 235 StepRange createStepRange(AnyStepHandling, const Decimal& stepBaseDefault, c
onst Decimal& minimumDefault, const Decimal& maximumDefault, const StepRange::St
epDescription&) const; |
236 | 236 |
237 private: | 237 private: |
238 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 238 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
239 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
State&); | 239 void applyStep(const Decimal&, int count, AnyStepHandling, TextFieldEventBeh
avior, ExceptionState&); |
240 }; | 240 }; |
241 | 241 |
242 } // namespace WebCore | 242 } // namespace WebCore |
243 #endif | 243 #endif |
OLD | NEW |