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 24 matching lines...) Expand all Loading... |
35 #include "platform/graphics/GraphicsTypes.h" | 35 #include "platform/graphics/GraphicsTypes.h" |
36 #include "platform/network/ResourceResponse.h" | 36 #include "platform/network/ResourceResponse.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class HTMLFormElement; | 40 class HTMLFormElement; |
41 class ImageCandidate; | 41 class ImageCandidate; |
42 class ShadowRoot; | 42 class ShadowRoot; |
43 class ImageBitmapOptions; | 43 class ImageBitmapOptions; |
44 | 44 |
45 class CORE_EXPORT HTMLImageElement final : public HTMLElement, | 45 class CORE_EXPORT HTMLImageElement final |
46 public CanvasImageSource, | 46 : public HTMLElement, |
47 public ImageBitmapSource, | 47 public CanvasImageSource, |
48 public ActiveScriptWrappable, | 48 public ImageBitmapSource, |
49 public FormAssociated { | 49 public ActiveScriptWrappable<HTMLImageElement>, |
| 50 public FormAssociated { |
50 DEFINE_WRAPPERTYPEINFO(); | 51 DEFINE_WRAPPERTYPEINFO(); |
51 USING_GARBAGE_COLLECTED_MIXIN(HTMLImageElement); | 52 USING_GARBAGE_COLLECTED_MIXIN(HTMLImageElement); |
52 | 53 |
53 public: | 54 public: |
54 class ViewportChangeListener; | 55 class ViewportChangeListener; |
55 | 56 |
56 static HTMLImageElement* create(Document&); | 57 static HTMLImageElement* create(Document&); |
57 static HTMLImageElement* create(Document&, | 58 static HTMLImageElement* create(Document&, |
58 bool createdByParser); | 59 bool createdByParser); |
59 static HTMLImageElement* createForJSConstructor(Document&); | 60 static HTMLImageElement* createForJSConstructor(Document&); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 unsigned m_formWasSetByParser : 1; | 220 unsigned m_formWasSetByParser : 1; |
220 unsigned m_elementCreatedByParser : 1; | 221 unsigned m_elementCreatedByParser : 1; |
221 unsigned m_isFallbackImage : 1; | 222 unsigned m_isFallbackImage : 1; |
222 | 223 |
223 ReferrerPolicy m_referrerPolicy; | 224 ReferrerPolicy m_referrerPolicy; |
224 }; | 225 }; |
225 | 226 |
226 } // namespace blink | 227 } // namespace blink |
227 | 228 |
228 #endif // HTMLImageElement_h | 229 #endif // HTMLImageElement_h |
OLD | NEW |