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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 30 matching lines...) Expand all
41 public: 41 public:
42 class ViewportChangeListener; 42 class ViewportChangeListener;
43 43
44 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&); 44 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&);
45 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&, HTMLFormEl ement*, bool createdByParser); 45 static PassRefPtrWillBeRawPtr<HTMLImageElement> create(Document&, HTMLFormEl ement*, bool createdByParser);
46 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&); 46 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&);
47 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&, int width); 47 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&, int width);
48 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&, int width, int height); 48 static PassRefPtrWillBeRawPtr<HTMLImageElement> createForJSConstructor(Docum ent&, int width, int height);
49 49
50 virtual ~HTMLImageElement(); 50 virtual ~HTMLImageElement();
51 virtual void trace(Visitor*) override; 51 DECLARE_VIRTUAL_TRACE();
52 52
53 int width(bool ignorePendingStylesheets = false); 53 int width(bool ignorePendingStylesheets = false);
54 int height(bool ignorePendingStylesheets = false); 54 int height(bool ignorePendingStylesheets = false);
55 55
56 int naturalWidth() const; 56 int naturalWidth() const;
57 int naturalHeight() const; 57 int naturalHeight() const;
58 const String& currentSrc() const; 58 const String& currentSrc() const;
59 59
60 bool isServerMap() const; 60 bool isServerMap() const;
61 61
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 unsigned m_elementCreatedByParser : 1; 159 unsigned m_elementCreatedByParser : 1;
160 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for the picked resource. 160 // Intrinsic sizing is viewport dependant if the 'w' descriptor was used for the picked resource.
161 unsigned m_intrinsicSizingViewportDependant : 1; 161 unsigned m_intrinsicSizingViewportDependant : 1;
162 unsigned m_useFallbackContent : 1; 162 unsigned m_useFallbackContent : 1;
163 unsigned m_isFallbackImage : 1; 163 unsigned m_isFallbackImage : 1;
164 }; 164 };
165 165
166 } // namespace blink 166 } // namespace blink
167 167
168 #endif // HTMLImageElement_h 168 #endif // HTMLImageElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698