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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 virtual HTMLFormElement* formOwner() const OVERRIDE; | 87 virtual HTMLFormElement* formOwner() const OVERRIDE; |
88 void formRemovedFromTree(const Node& formRoot); | 88 void formRemovedFromTree(const Node& formRoot); |
89 | 89 |
90 // CanvasImageSourceImplementations | 90 // CanvasImageSourceImplementations |
91 virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceIma
geStatus*) const; | 91 virtual PassRefPtr<Image> getSourceImageForCanvas(SourceImageMode, SourceIma
geStatus*) const; |
92 virtual bool wouldTaintOrigin(SecurityOrigin*) const OVERRIDE; | 92 virtual bool wouldTaintOrigin(SecurityOrigin*) const OVERRIDE; |
93 virtual FloatSize sourceSize() const OVERRIDE; | 93 virtual FloatSize sourceSize() const OVERRIDE; |
94 virtual FloatSize defaultDestinationSize() const OVERRIDE; | 94 virtual FloatSize defaultDestinationSize() const OVERRIDE; |
95 | 95 |
| 96 // public so that HTMLPictureElement can call this as well. |
| 97 void selectSourceURL(bool ignorePreviousError); |
96 protected: | 98 protected: |
97 explicit HTMLImageElement(Document&, HTMLFormElement* = 0); | 99 explicit HTMLImageElement(Document&, HTMLFormElement* = 0); |
98 | 100 |
99 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 101 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
100 | 102 |
101 private: | 103 private: |
102 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } | 104 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } |
103 | 105 |
104 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 106 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
105 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 107 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
133 CompositeOperator m_compositeOperator; | 135 CompositeOperator m_compositeOperator; |
134 AtomicString m_bestFitImageURL; | 136 AtomicString m_bestFitImageURL; |
135 AtomicString m_currentSrc; | 137 AtomicString m_currentSrc; |
136 float m_imageDevicePixelRatio; | 138 float m_imageDevicePixelRatio; |
137 bool m_formWasSetByParser; | 139 bool m_formWasSetByParser; |
138 }; | 140 }; |
139 | 141 |
140 } //namespace | 142 } //namespace |
141 | 143 |
142 #endif | 144 #endif |
OLD | NEW |