| 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 bool isExposed() const; | 76 bool isExposed() const; |
| 77 | 77 |
| 78 bool willUseFallbackContentAtLayout() const; | 78 bool willUseFallbackContentAtLayout() const; |
| 79 | 79 |
| 80 FormAssociated* toFormAssociatedOrNull() override { return this; }; | 80 FormAssociated* toFormAssociatedOrNull() override { return this; }; |
| 81 void associateWith(HTMLFormElement*) override; | 81 void associateWith(HTMLFormElement*) override; |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 HTMLObjectElement(Document&, bool createdByParser); | 84 HTMLObjectElement(Document&, bool createdByParser); |
| 85 | 85 |
| 86 void parseAttribute(const QualifiedName&, | 86 void parseAttribute(const AttributeModificationParams&) override; |
| 87 const AtomicString&, | |
| 88 const AtomicString&) override; | |
| 89 bool isPresentationAttribute(const QualifiedName&) const override; | 87 bool isPresentationAttribute(const QualifiedName&) const override; |
| 90 void collectStyleForPresentationAttribute(const QualifiedName&, | 88 void collectStyleForPresentationAttribute(const QualifiedName&, |
| 91 const AtomicString&, | 89 const AtomicString&, |
| 92 MutableStylePropertySet*) override; | 90 MutableStylePropertySet*) override; |
| 93 | 91 |
| 94 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 92 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 95 void removedFrom(ContainerNode*) override; | 93 void removedFrom(ContainerNode*) override; |
| 96 | 94 |
| 97 void didMoveToNewDocument(Document& oldDocument) override; | 95 void didMoveToNewDocument(Document& oldDocument) override; |
| 98 | 96 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 static_cast<const HTMLObjectElement&>(element); | 156 static_cast<const HTMLObjectElement&>(element); |
| 159 // We need to assert after the cast because ListedElement doesn't | 157 // We need to assert after the cast because ListedElement doesn't |
| 160 // have hasTagName. | 158 // have hasTagName. |
| 161 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); | 159 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); |
| 162 return objectElement; | 160 return objectElement; |
| 163 } | 161 } |
| 164 | 162 |
| 165 } // namespace blink | 163 } // namespace blink |
| 166 | 164 |
| 167 #endif // HTMLObjectElement_h | 165 #endif // HTMLObjectElement_h |
| OLD | NEW |