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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 private: | 68 private: |
69 HTMLObjectElement(const QualifiedName&, Document&, HTMLFormElement*, bool cr
eatedByParser); | 69 HTMLObjectElement(const QualifiedName&, Document&, HTMLFormElement*, bool cr
eatedByParser); |
70 | 70 |
71 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 71 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
72 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 72 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
73 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 73 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
74 | 74 |
75 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 75 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
76 virtual void removedFrom(ContainerNode*) OVERRIDE; | 76 virtual void removedFrom(ContainerNode*) OVERRIDE; |
77 | 77 |
78 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 78 virtual bool rendererIsNeeded(const RenderStyle&); |
79 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 79 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
80 | 80 |
81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 81 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
82 | 82 |
83 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; | 83 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; |
84 virtual const AtomicString imageSourceURL() const OVERRIDE; | 84 virtual const AtomicString imageSourceURL() const OVERRIDE; |
85 | 85 |
86 virtual RenderWidget* existingRenderWidget() const OVERRIDE; | 86 virtual RenderWidget* existingRenderWidget() const OVERRIDE; |
87 | 87 |
88 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; | 88 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; |
(...skipping 26 matching lines...) Expand all Loading... |
115 | 115 |
116 inline HTMLObjectElement* toHTMLObjectElement(Node* node) | 116 inline HTMLObjectElement* toHTMLObjectElement(Node* node) |
117 { | 117 { |
118 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::object
Tag)); | 118 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::object
Tag)); |
119 return static_cast<HTMLObjectElement*>(node); | 119 return static_cast<HTMLObjectElement*>(node); |
120 } | 120 } |
121 | 121 |
122 } | 122 } |
123 | 123 |
124 #endif | 124 #endif |
OLD | NEW |