| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 // CanvasImageSource implementation | 118 // CanvasImageSource implementation |
| 119 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, | 119 PassRefPtr<Image> getSourceImageForCanvas(SourceImageStatus*, |
| 120 AccelerationHint, | 120 AccelerationHint, |
| 121 SnapshotReason, | 121 SnapshotReason, |
| 122 const FloatSize&) const override; | 122 const FloatSize&) const override; |
| 123 bool isSVGSource() const override; | 123 bool isSVGSource() const override; |
| 124 bool wouldTaintOrigin(SecurityOrigin*) const override; | 124 bool wouldTaintOrigin(SecurityOrigin*) const override; |
| 125 FloatSize elementSize(const FloatSize&) const override; | 125 FloatSize elementSize(const FloatSize&) const override; |
| 126 FloatSize defaultDestinationSize(const FloatSize&) const override; | 126 FloatSize defaultDestinationSize(const FloatSize&) const override; |
| 127 const KURL& sourceURL() const override; | 127 KURL sourceURL() const override; |
| 128 bool isAccelerated() const override { return false; } | 128 bool isAccelerated() const override { return false; } |
| 129 bool isOpaque() const override; | 129 bool isOpaque() const override; |
| 130 int sourceWidth() override; | 130 int sourceWidth() override; |
| 131 int sourceHeight() override; | 131 int sourceHeight() override; |
| 132 | 132 |
| 133 // public so that HTMLPictureElement can call this as well. | 133 // public so that HTMLPictureElement can call this as well. |
| 134 void selectSourceURL(ImageLoader::UpdateFromElementBehavior); | 134 void selectSourceURL(ImageLoader::UpdateFromElementBehavior); |
| 135 | 135 |
| 136 void setIsFallbackImage() { m_isFallbackImage = true; } | 136 void setIsFallbackImage() { m_isFallbackImage = true; } |
| 137 | 137 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |