| 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 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 , m_imageElementsAreDirty(false) | 72 , m_imageElementsAreDirty(false) |
| 73 , m_hasElementsAssociatedByParser(false) | 73 , m_hasElementsAssociatedByParser(false) |
| 74 , m_didFinishParsingChildren(false) | 74 , m_didFinishParsingChildren(false) |
| 75 , m_wasUserSubmitted(false) | 75 , m_wasUserSubmitted(false) |
| 76 , m_isSubmittingOrInUserJSSubmitEvent(false) | 76 , m_isSubmittingOrInUserJSSubmitEvent(false) |
| 77 , m_shouldSubmit(false) | 77 , m_shouldSubmit(false) |
| 78 , m_isInResetFunction(false) | 78 , m_isInResetFunction(false) |
| 79 , m_wasDemoted(false) | 79 , m_wasDemoted(false) |
| 80 , m_pendingAutocompleteEventsQueue(GenericEventQueue::create(this)) | 80 , m_pendingAutocompleteEventsQueue(GenericEventQueue::create(this)) |
| 81 { | 81 { |
| 82 ScriptWrappable::init(this); | |
| 83 } | 82 } |
| 84 | 83 |
| 85 PassRefPtrWillBeRawPtr<HTMLFormElement> HTMLFormElement::create(Document& docume
nt) | 84 PassRefPtrWillBeRawPtr<HTMLFormElement> HTMLFormElement::create(Document& docume
nt) |
| 86 { | 85 { |
| 87 UseCounter::count(document, UseCounter::FormElement); | 86 UseCounter::count(document, UseCounter::FormElement); |
| 88 return adoptRefWillBeNoop(new HTMLFormElement(document)); | 87 return adoptRefWillBeNoop(new HTMLFormElement(document)); |
| 89 } | 88 } |
| 90 | 89 |
| 91 HTMLFormElement::~HTMLFormElement() | 90 HTMLFormElement::~HTMLFormElement() |
| 92 { | 91 { |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 } | 844 } |
| 846 | 845 |
| 847 void HTMLFormElement::setDemoted(bool demoted) | 846 void HTMLFormElement::setDemoted(bool demoted) |
| 848 { | 847 { |
| 849 if (demoted) | 848 if (demoted) |
| 850 UseCounter::count(document(), UseCounter::DemotedFormElement); | 849 UseCounter::count(document(), UseCounter::DemotedFormElement); |
| 851 m_wasDemoted = demoted; | 850 m_wasDemoted = demoted; |
| 852 } | 851 } |
| 853 | 852 |
| 854 } // namespace | 853 } // namespace |
| OLD | NEW |