| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 unsigned height(); | 69 unsigned height(); |
| 70 | 70 |
| 71 unsigned naturalWidth() const; | 71 unsigned naturalWidth() const; |
| 72 unsigned naturalHeight() const; | 72 unsigned naturalHeight() const; |
| 73 const String& currentSrc() const; | 73 const String& currentSrc() const; |
| 74 | 74 |
| 75 bool isServerMap() const; | 75 bool isServerMap() const; |
| 76 | 76 |
| 77 String altText() const final; | 77 String altText() const final; |
| 78 | 78 |
| 79 ImageResource* cachedImage() const { return imageLoader().image(); } | 79 ImageResourceContent* cachedImage() const { return imageLoader().image(); } |
| 80 void setImageResource(ImageResource* i) { imageLoader().setImage(i); } | 80 ImageResource* cachedImageResourceForImageDocument() const { |
| 81 return imageLoader().imageResourceForImageDocument(); |
| 82 } |
| 83 void setImageResource(ImageResourceContent* i) { imageLoader().setImage(i); } |
| 81 | 84 |
| 82 void setLoadingImageDocument() { imageLoader().setLoadingImageDocument(); } | 85 void setLoadingImageDocument() { imageLoader().setLoadingImageDocument(); } |
| 83 | 86 |
| 84 void setHeight(unsigned); | 87 void setHeight(unsigned); |
| 85 | 88 |
| 86 KURL src() const; | 89 KURL src() const; |
| 87 void setSrc(const String&); | 90 void setSrc(const String&); |
| 88 | 91 |
| 89 void setWidth(unsigned); | 92 void setWidth(unsigned); |
| 90 | 93 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 unsigned m_formWasSetByParser : 1; | 219 unsigned m_formWasSetByParser : 1; |
| 217 unsigned m_elementCreatedByParser : 1; | 220 unsigned m_elementCreatedByParser : 1; |
| 218 unsigned m_isFallbackImage : 1; | 221 unsigned m_isFallbackImage : 1; |
| 219 | 222 |
| 220 ReferrerPolicy m_referrerPolicy; | 223 ReferrerPolicy m_referrerPolicy; |
| 221 }; | 224 }; |
| 222 | 225 |
| 223 } // namespace blink | 226 } // namespace blink |
| 224 | 227 |
| 225 #endif // HTMLImageElement_h | 228 #endif // HTMLImageElement_h |
| OLD | NEW |