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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Note that the object elements are always barred from constraint validatio
n. | 57 // Note that the object elements are always barred from constraint validatio
n. |
58 virtual String validationMessage() const OVERRIDE { return String(); } | 58 virtual String validationMessage() const OVERRIDE { return String(); } |
59 bool checkValidity() { return true; } | 59 bool checkValidity() { return true; } |
60 virtual void setCustomValidity(const String&) OVERRIDE { } | 60 virtual void setCustomValidity(const String&) OVERRIDE { } |
61 | 61 |
62 using Node::ref; | 62 using Node::ref; |
63 using Node::deref; | 63 using Node::deref; |
64 | 64 |
65 virtual bool canContainRangeEndPoint() const { return useFallbackContent();
} | 65 virtual bool canContainRangeEndPoint() const { return useFallbackContent();
} |
66 | 66 |
| 67 bool isExposed() const; |
| 68 |
67 private: | 69 private: |
68 HTMLObjectElement(Document&, HTMLFormElement*, bool createdByParser); | 70 HTMLObjectElement(Document&, HTMLFormElement*, bool createdByParser); |
69 | 71 |
70 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 72 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
71 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 73 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
72 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 74 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
73 | 75 |
74 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 76 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
75 virtual void removedFrom(ContainerNode*) OVERRIDE; | 77 virtual void removedFrom(ContainerNode*) OVERRIDE; |
76 | 78 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); | 130 const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement
&>(element); |
129 // We need to assert after the cast because FormAssociatedElement doesn't | 131 // We need to assert after the cast because FormAssociatedElement doesn't |
130 // have hasTagName. | 132 // have hasTagName. |
131 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); | 133 ASSERT_WITH_SECURITY_IMPLICATION(objectElement.hasTagName(HTMLNames::objectT
ag)); |
132 return objectElement; | 134 return objectElement; |
133 } | 135 } |
134 | 136 |
135 } | 137 } |
136 | 138 |
137 #endif | 139 #endif |
OLD | NEW |