| 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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 #include "core/page/Page.h" | 40 #include "core/page/Page.h" |
| 41 #include "core/page/ValidationMessageClient.h" | 41 #include "core/page/ValidationMessageClient.h" |
| 42 #include "platform/text/BidiTextRun.h" | 42 #include "platform/text/BidiTextRun.h" |
| 43 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
| 44 | 44 |
| 45 namespace blink { | 45 namespace blink { |
| 46 | 46 |
| 47 using namespace HTMLNames; | 47 using namespace HTMLNames; |
| 48 | 48 |
| 49 HTMLFormControlElement::HTMLFormControlElement(const QualifiedName& tagName, | 49 HTMLFormControlElement::HTMLFormControlElement(const QualifiedName& tagName, |
| 50 Document& document, | 50 Document& document) |
| 51 HTMLFormElement* form) | |
| 52 : LabelableElement(tagName, document), | 51 : LabelableElement(tagName, document), |
| 53 m_ancestorDisabledState(AncestorDisabledStateUnknown), | 52 m_ancestorDisabledState(AncestorDisabledStateUnknown), |
| 54 m_dataListAncestorState(Unknown), | 53 m_dataListAncestorState(Unknown), |
| 55 m_isAutofilled(false), | 54 m_isAutofilled(false), |
| 56 m_hasValidationMessage(false), | 55 m_hasValidationMessage(false), |
| 57 m_willValidateInitialized(false), | 56 m_willValidateInitialized(false), |
| 58 m_willValidate(true), | 57 m_willValidate(true), |
| 59 m_isValid(true), | 58 m_isValid(true), |
| 60 m_validityIsDirty(false), | 59 m_validityIsDirty(false), |
| 61 m_wasFocusedByMouse(false) { | 60 m_wasFocusedByMouse(false) { |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 const Element& source) { | 623 const Element& source) { |
| 625 HTMLElement::copyNonAttributePropertiesFromElement(source); | 624 HTMLElement::copyNonAttributePropertiesFromElement(source); |
| 626 setNeedsValidityCheck(); | 625 setNeedsValidityCheck(); |
| 627 } | 626 } |
| 628 | 627 |
| 629 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { | 628 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { |
| 630 associateByParser(form); | 629 associateByParser(form); |
| 631 }; | 630 }; |
| 632 | 631 |
| 633 } // namespace blink | 632 } // namespace blink |
| OLD | NEW |