Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLImageElement.h

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698