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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 { | 611 { |
612 ASSERT_NOT_REACHED(); | 612 ASSERT_NOT_REACHED(); |
613 return String(); | 613 return String(); |
614 } | 614 } |
615 | 615 |
616 bool InputType::shouldRespectListAttribute() | 616 bool InputType::shouldRespectListAttribute() |
617 { | 617 { |
618 return false; | 618 return false; |
619 } | 619 } |
620 | 620 |
621 bool InputType::shouldRespectSpeechAttribute() | |
622 { | |
623 return false; | |
624 } | |
625 | |
626 bool InputType::isTextButton() const | 621 bool InputType::isTextButton() const |
627 { | 622 { |
628 return false; | 623 return false; |
629 } | 624 } |
630 | 625 |
631 bool InputType::isImage() const | 626 bool InputType::isImage() const |
632 { | 627 { |
633 return false; | 628 return false; |
634 } | 629 } |
635 | 630 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const | 909 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const |
915 { | 910 { |
916 const Decimal stepBase = findStepBase(stepBaseDefault); | 911 const Decimal stepBase = findStepBase(stepBaseDefault); |
917 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); | 912 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); |
918 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); | 913 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); |
919 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); | 914 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); |
920 return StepRange(stepBase, minimum, maximum, step, stepDescription); | 915 return StepRange(stepBase, minimum, maximum, step, stepDescription); |
921 } | 916 } |
922 | 917 |
923 } // namespace blink | 918 } // namespace blink |
OLD | NEW |