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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 unsigned height); | 64 unsigned height); |
65 | 65 |
66 ~HTMLImageElement() override; | 66 ~HTMLImageElement() override; |
67 DECLARE_VIRTUAL_TRACE(); | 67 DECLARE_VIRTUAL_TRACE(); |
68 | 68 |
69 unsigned width(); | 69 unsigned width(); |
70 unsigned height(); | 70 unsigned height(); |
71 | 71 |
72 unsigned naturalWidth() const; | 72 unsigned naturalWidth() const; |
73 unsigned naturalHeight() const; | 73 unsigned naturalHeight() const; |
| 74 |
| 75 unsigned layoutBoxWidth() const; |
| 76 unsigned layoutBoxHeight() const; |
| 77 |
74 const String& currentSrc() const; | 78 const String& currentSrc() const; |
75 | 79 |
76 bool isServerMap() const; | 80 bool isServerMap() const; |
77 | 81 |
78 String altText() const final; | 82 String altText() const final; |
79 | 83 |
80 ImageResourceContent* cachedImage() const { return imageLoader().image(); } | 84 ImageResourceContent* cachedImage() const { return imageLoader().image(); } |
81 ImageResource* cachedImageResourceForImageDocument() const { | 85 ImageResource* cachedImageResourceForImageDocument() const { |
82 return imageLoader().imageResourceForImageDocument(); | 86 return imageLoader().imageResourceForImageDocument(); |
83 } | 87 } |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 unsigned m_formWasSetByParser : 1; | 222 unsigned m_formWasSetByParser : 1; |
219 unsigned m_elementCreatedByParser : 1; | 223 unsigned m_elementCreatedByParser : 1; |
220 unsigned m_isFallbackImage : 1; | 224 unsigned m_isFallbackImage : 1; |
221 | 225 |
222 ReferrerPolicy m_referrerPolicy; | 226 ReferrerPolicy m_referrerPolicy; |
223 }; | 227 }; |
224 | 228 |
225 } // namespace blink | 229 } // namespace blink |
226 | 230 |
227 #endif // HTMLImageElement_h | 231 #endif // HTMLImageElement_h |
OLD | NEW |