Chromium Code Reviews| 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 14 matching lines...) Expand all Loading... | |
| 25 * | 25 * |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 #include "core/html/forms/InputType.h" | 29 #include "core/html/forms/InputType.h" |
| 30 | 30 |
| 31 #include "bindings/core/v8/ExceptionMessages.h" | 31 #include "bindings/core/v8/ExceptionMessages.h" |
| 32 #include "bindings/core/v8/ExceptionState.h" | 32 #include "bindings/core/v8/ExceptionState.h" |
| 33 #include "core/InputTypeNames.h" | 33 #include "core/InputTypeNames.h" |
| 34 #include "core/dom/AXObjectCache.h" | 34 #include "core/dom/AXObjectCache.h" |
| 35 #include "core/dom/ExceptionCode.h" | |
|
pdr.
2015/03/05 21:35:59
Nit: were these ExceptionCode.h's needed?
fs
2015/03/06 11:27:46
Yes, there are various ExceptionState::throwDOMExc
| |
| 35 #include "core/dom/NodeLayoutStyle.h" | 36 #include "core/dom/NodeLayoutStyle.h" |
| 36 #include "core/events/KeyboardEvent.h" | 37 #include "core/events/KeyboardEvent.h" |
| 37 #include "core/events/ScopedEventQueue.h" | 38 #include "core/events/ScopedEventQueue.h" |
| 38 #include "core/fileapi/FileList.h" | 39 #include "core/fileapi/FileList.h" |
| 39 #include "core/frame/FrameHost.h" | 40 #include "core/frame/FrameHost.h" |
| 40 #include "core/html/FormDataList.h" | 41 #include "core/html/FormDataList.h" |
| 41 #include "core/html/HTMLInputElement.h" | 42 #include "core/html/HTMLInputElement.h" |
| 42 #include "core/html/HTMLShadowElement.h" | 43 #include "core/html/HTMLShadowElement.h" |
| 43 #include "core/html/forms/ButtonInputType.h" | 44 #include "core/html/forms/ButtonInputType.h" |
| 44 #include "core/html/forms/CheckboxInputType.h" | 45 #include "core/html/forms/CheckboxInputType.h" |
| (...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 915 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau lt, const StepRange::StepDescription& stepDescription) const | 916 StepRange InputType::createStepRange(AnyStepHandling anyStepHandling, const Deci mal& stepBaseDefault, const Decimal& minimumDefault, const Decimal& maximumDefau lt, const StepRange::StepDescription& stepDescription) const |
| 916 { | 917 { |
| 917 const Decimal stepBase = findStepBase(stepBaseDefault); | 918 const Decimal stepBase = findStepBase(stepBaseDefault); |
| 918 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m inimumDefault); | 919 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), m inimumDefault); |
| 919 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m aximumDefault); | 920 const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), m aximumDefault); |
| 920 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); | 921 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); |
| 921 return StepRange(stepBase, minimum, maximum, step, stepDescription); | 922 return StepRange(stepBase, minimum, maximum, step, stepDescription); |
| 922 } | 923 } |
| 923 | 924 |
| 924 } // namespace blink | 925 } // namespace blink |
| OLD | NEW |