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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool createdByParser = false); 168 bool createdByParser = false);
169 169
170 void didMoveToNewDocument(Document& oldDocument) override; 170 void didMoveToNewDocument(Document& oldDocument) override;
171 171
172 void didAddUserAgentShadowRoot(ShadowRoot&) override; 172 void didAddUserAgentShadowRoot(ShadowRoot&) override;
173 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; 173 PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
174 174
175 private: 175 private:
176 bool areAuthorShadowsAllowed() const override { return false; } 176 bool areAuthorShadowsAllowed() const override { return false; }
177 177
178 void parseAttribute(const QualifiedName&, 178 void parseAttribute(const AttributeModificationParams&) override;
179 const AtomicString&,
180 const AtomicString&) override;
181 bool isPresentationAttribute(const QualifiedName&) const override; 179 bool isPresentationAttribute(const QualifiedName&) const override;
182 void collectStyleForPresentationAttribute(const QualifiedName&, 180 void collectStyleForPresentationAttribute(const QualifiedName&,
183 const AtomicString&, 181 const AtomicString&,
184 MutableStylePropertySet*) override; 182 MutableStylePropertySet*) override;
185 void setLayoutDisposition(LayoutDisposition, bool forceReattach = false); 183 void setLayoutDisposition(LayoutDisposition, bool forceReattach = false);
186 184
187 void attachLayoutTree(const AttachContext& = AttachContext()) override; 185 void attachLayoutTree(const AttachContext& = AttachContext()) override;
188 bool layoutObjectIsNeeded(const ComputedStyle&) override; 186 bool layoutObjectIsNeeded(const ComputedStyle&) override;
189 LayoutObject* createLayoutObject(const ComputedStyle&) override; 187 LayoutObject* createLayoutObject(const ComputedStyle&) override;
190 188
(...skipping 29 matching lines...) Expand all
220 unsigned m_formWasSetByParser : 1; 218 unsigned m_formWasSetByParser : 1;
221 unsigned m_elementCreatedByParser : 1; 219 unsigned m_elementCreatedByParser : 1;
222 unsigned m_isFallbackImage : 1; 220 unsigned m_isFallbackImage : 1;
223 221
224 ReferrerPolicy m_referrerPolicy; 222 ReferrerPolicy m_referrerPolicy;
225 }; 223 };
226 224
227 } // namespace blink 225 } // namespace blink
228 226
229 #endif // HTMLImageElement_h 227 #endif // HTMLImageElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698