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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 if (!m_implementation) | 755 if (!m_implementation) |
756 m_implementation = DOMImplementation::create(selfHandle()); | 756 m_implementation = DOMImplementation::create(selfHandle()); |
757 return m_implementation.get(); | 757 return m_implementation.get(); |
758 } | 758 } |
759 | 759 |
760 bool Document::hasManifest() const | 760 bool Document::hasManifest() const |
761 { | 761 { |
762 return documentElement() && documentElement()->hasTagName(htmlTag) && docume
ntElement()->hasAttribute(manifestAttr); | 762 return documentElement() && documentElement()->hasTagName(htmlTag) && docume
ntElement()->hasAttribute(manifestAttr); |
763 } | 763 } |
764 | 764 |
765 void Document::childrenChanged(bool changedByParser, Node* beforeChange, Node* a
fterChange, int childCountDelta) | 765 void Document::childrenChanged(bool changedByParser, const Handle<Node>& beforeC
hange, const Handle<Node>& afterChange, int childCountDelta) |
766 { | 766 { |
767 ContainerNode::childrenChanged(changedByParser, beforeChange, afterChange, c
hildCountDelta); | 767 ContainerNode::childrenChanged(changedByParser, beforeChange, afterChange, c
hildCountDelta); |
768 | 768 |
769 Element* newDocumentElement = ElementTraversal::firstWithin(this); | 769 Element* newDocumentElement = ElementTraversal::firstWithin(this); |
770 if (newDocumentElement == m_documentElement) | 770 if (newDocumentElement == m_documentElement) |
771 return; | 771 return; |
772 m_documentElement = newDocumentElement; | 772 m_documentElement = newDocumentElement; |
773 // The root style used for media query matching depends on the document elem
ent. | 773 // The root style used for media query matching depends on the document elem
ent. |
774 clearStyleResolver(); | 774 clearStyleResolver(); |
775 } | 775 } |
(...skipping 4973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5749 return; | 5749 return; |
5750 | 5750 |
5751 Vector<RefPtr<Element> > associatedFormControls; | 5751 Vector<RefPtr<Element> > associatedFormControls; |
5752 copyToVector(m_associatedFormControls, associatedFormControls); | 5752 copyToVector(m_associatedFormControls, associatedFormControls); |
5753 | 5753 |
5754 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); | 5754 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); |
5755 m_associatedFormControls.clear(); | 5755 m_associatedFormControls.clear(); |
5756 } | 5756 } |
5757 | 5757 |
5758 } // namespace WebCore | 5758 } // namespace WebCore |
OLD | NEW |