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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 bool InputType::isKeyboardFocusable() const | 460 bool InputType::isKeyboardFocusable() const |
461 { | 461 { |
462 return element().isFocusable(); | 462 return element().isFocusable(); |
463 } | 463 } |
464 | 464 |
465 bool InputType::shouldShowFocusRingOnMouseFocus() const | 465 bool InputType::shouldShowFocusRingOnMouseFocus() const |
466 { | 466 { |
467 return false; | 467 return false; |
468 } | 468 } |
469 | 469 |
470 bool InputType::shouldUseInputMethod() const | |
471 { | |
472 return false; | |
473 } | |
474 | |
475 void InputType::enableSecureTextInput() | 470 void InputType::enableSecureTextInput() |
476 { | 471 { |
477 } | 472 } |
478 | 473 |
479 void InputType::disableSecureTextInput() | 474 void InputType::disableSecureTextInput() |
480 { | 475 { |
481 } | 476 } |
482 | 477 |
483 void InputType::accessKeyAction(bool) | 478 void InputType::accessKeyAction(bool) |
484 { | 479 { |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const | 959 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci
mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau
lt, const StepRange::StepDescription& stepDescription) const |
965 { | 960 { |
966 const Decimal stepBase = findStepBase(stepBaseDefault); | 961 const Decimal stepBase = findStepBase(stepBaseDefault); |
967 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); | 962 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m
inimumDefault); |
968 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); | 963 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m
aximumDefault); |
969 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); | 964 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription,
element().fastGetAttribute(stepAttr)); |
970 return StepRange(stepBase, minimum, maximum, step, stepDescription); | 965 return StepRange(stepBase, minimum, maximum, step, stepDescription); |
971 } | 966 } |
972 | 967 |
973 } // namespace blink | 968 } // namespace blink |
OLD | NEW |