OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 9 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
10 * | 10 * |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 ASSERT_NOT_REACHED(); | 591 ASSERT_NOT_REACHED(); |
592 return false; | 592 return false; |
593 } | 593 } |
594 | 594 |
595 String InputType::droppedFileSystemId() | 595 String InputType::droppedFileSystemId() |
596 { | 596 { |
597 ASSERT_NOT_REACHED(); | 597 ASSERT_NOT_REACHED(); |
598 return String(); | 598 return String(); |
599 } | 599 } |
600 | 600 |
| 601 void InputType::copyNonAttributeProperties(const HTMLInputElement&) |
| 602 { |
| 603 } |
| 604 |
601 bool InputType::shouldRespectListAttribute() | 605 bool InputType::shouldRespectListAttribute() |
602 { | 606 { |
603 return false; | 607 return false; |
604 } | 608 } |
605 | 609 |
606 bool InputType::shouldRespectSpeechAttribute() | 610 bool InputType::shouldRespectSpeechAttribute() |
607 { | 611 { |
608 return false; | 612 return false; |
609 } | 613 } |
610 | 614 |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const | 963 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const |
960 { | 964 { |
961 const Decimal stepBase = findStepBase(stepBaseDefault); | 965 const Decimal stepBase = findStepBase(stepBaseDefault); |
962 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); | 966 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); |
963 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); | 967 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); |
964 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); | 968 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); |
965 return StepRange(stepBase, minimum, maximum, step, stepDescription); | 969 return StepRange(stepBase, minimum, maximum, step, stepDescription); |
966 } | 970 } |
967 | 971 |
968 } // namespace WebCore | 972 } // namespace WebCore |
OLD | NEW |