| 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, 2008, 2010 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2008, 2010 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2010 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 bool canContainRangeEndPoint() const override { return false; } | 108 bool canContainRangeEndPoint() const override { return false; } |
| 109 | 109 |
| 110 const AtomicString imageSourceURL() const override; | 110 const AtomicString imageSourceURL() const override; |
| 111 | 111 |
| 112 HTMLFormElement* formOwner() const override; | 112 HTMLFormElement* formOwner() const override; |
| 113 void formRemovedFromTree(const Node& formRoot); | 113 void formRemovedFromTree(const Node& formRoot); |
| 114 virtual void ensureCollapsedOrFallbackContent(); | 114 virtual void ensureCollapsedOrFallbackContent(); |
| 115 virtual void ensureFallbackForGeneratedContent(); | 115 virtual void ensureFallbackForGeneratedContent(); |
| 116 virtual void ensurePrimaryContent(); | 116 virtual void ensurePrimaryContent(); |
| 117 bool isCollapsed() const; |
| 117 | 118 |
| 118 // CanvasImageSource implementation | 119 // CanvasImageSource implementation |
| 119 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, | 120 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, |
| 120 AccelerationHint, | 121 AccelerationHint, |
| 121 SnapshotReason, | 122 SnapshotReason, |
| 122 const FloatSize&) const override; | 123 const FloatSize&) const override; |
| 123 bool isSVGSource() const override; | 124 bool isSVGSource() const override; |
| 124 bool wouldTaintOrigin(SecurityOrigin*) const override; | 125 bool wouldTaintOrigin(SecurityOrigin*) const override; |
| 125 FloatSize elementSize(const FloatSize&) const override; | 126 FloatSize elementSize(const FloatSize&) const override; |
| 126 FloatSize defaultDestinationSize(const FloatSize&) const override; | 127 FloatSize defaultDestinationSize(const FloatSize&) const override; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 bool areAuthorShadowsAllowed() const override { return false; } | 181 bool areAuthorShadowsAllowed() const override { return false; } |
| 181 | 182 |
| 182 void parseAttribute(const AttributeModificationParams&) override; | 183 void parseAttribute(const AttributeModificationParams&) override; |
| 183 bool isPresentationAttribute(const QualifiedName&) const override; | 184 bool isPresentationAttribute(const QualifiedName&) const override; |
| 184 void collectStyleForPresentationAttribute(const QualifiedName&, | 185 void collectStyleForPresentationAttribute(const QualifiedName&, |
| 185 const AtomicString&, | 186 const AtomicString&, |
| 186 MutableStylePropertySet*) override; | 187 MutableStylePropertySet*) override; |
| 187 void setLayoutDisposition(LayoutDisposition, bool forceReattach = false); | 188 void setLayoutDisposition(LayoutDisposition, bool forceReattach = false); |
| 188 | 189 |
| 189 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 190 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
| 190 bool layoutObjectIsNeeded(const ComputedStyle&) override; | |
| 191 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 191 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 192 | 192 |
| 193 bool canStartSelection() const override { return false; } | 193 bool canStartSelection() const override { return false; } |
| 194 | 194 |
| 195 bool isURLAttribute(const Attribute&) const override; | 195 bool isURLAttribute(const Attribute&) const override; |
| 196 bool hasLegalLinkAttribute(const QualifiedName&) const override; | 196 bool hasLegalLinkAttribute(const QualifiedName&) const override; |
| 197 const QualifiedName& subResourceAttributeName() const override; | 197 const QualifiedName& subResourceAttributeName() const override; |
| 198 | 198 |
| 199 bool draggable() const override; | 199 bool draggable() const override; |
| 200 | 200 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 222 unsigned m_formWasSetByParser : 1; | 222 unsigned m_formWasSetByParser : 1; |
| 223 unsigned m_elementCreatedByParser : 1; | 223 unsigned m_elementCreatedByParser : 1; |
| 224 unsigned m_isFallbackImage : 1; | 224 unsigned m_isFallbackImage : 1; |
| 225 | 225 |
| 226 ReferrerPolicy m_referrerPolicy; | 226 ReferrerPolicy m_referrerPolicy; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace blink | 229 } // namespace blink |
| 230 | 230 |
| 231 #endif // HTMLImageElement_h | 231 #endif // HTMLImageElement_h |
| OLD | NEW |