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 16 matching lines...) Expand all Loading... |
27 #include "core/html/HTMLElement.h" | 27 #include "core/html/HTMLElement.h" |
28 #include "core/html/HTMLImageLoader.h" | 28 #include "core/html/HTMLImageLoader.h" |
29 #include "core/html/canvas/CanvasImageSource.h" | 29 #include "core/html/canvas/CanvasImageSource.h" |
30 #include "platform/graphics/GraphicsTypes.h" | 30 #include "platform/graphics/GraphicsTypes.h" |
31 #include "wtf/WeakPtr.h" | 31 #include "wtf/WeakPtr.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class HTMLFormElement; | 35 class HTMLFormElement; |
36 class ImageCandidate; | 36 class ImageCandidate; |
37 class MediaQueryList; | |
38 | 37 |
39 class HTMLImageElement FINAL : public HTMLElement, public CanvasImageSource { | 38 class HTMLImageElement FINAL : public HTMLElement, public CanvasImageSource { |
40 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
41 public: | 40 public: |
42 class ViewportChangeListener; | 41 class ViewportChangeListener; |
43 | 42 |
44 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&); | 43 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&); |
45 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&, HTMLFormEl
ement*, bool createdByParser); | 44 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&, HTMLFormEl
ement*, bool createdByParser); |
46 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum
ent&, int width, int height); | 45 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum
ent&, int width, int height); |
47 | 46 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 unsigned m_elementCreatedByParser : 1; | 149 unsigned m_elementCreatedByParser : 1; |
151 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for
the picked resource. | 150 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for
the picked resource. |
152 unsigned m_intrinsicSizingViewportDependant : 1; | 151 unsigned m_intrinsicSizingViewportDependant : 1; |
153 // Effective size is viewport dependant if the sizes attribute's effective s
ize used v* length units. | 152 // Effective size is viewport dependant if the sizes attribute's effective s
ize used v* length units. |
154 unsigned m_effectiveSizeViewportDependant : 1; | 153 unsigned m_effectiveSizeViewportDependant : 1; |
155 }; | 154 }; |
156 | 155 |
157 } // namespace blink | 156 } // namespace blink |
158 | 157 |
159 #endif // HTMLImageElement_h | 158 #endif // HTMLImageElement_h |
OLD | NEW |