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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLEmbedElement.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, 2006, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 21 matching lines...) Expand all
32 DEFINE_WRAPPERTYPEINFO(); 32 DEFINE_WRAPPERTYPEINFO();
33 33
34 public: 34 public:
35 static HTMLEmbedElement* create(Document&, bool createdByParser = false); 35 static HTMLEmbedElement* create(Document&, bool createdByParser = false);
36 36
37 bool isExposed() const; 37 bool isExposed() const;
38 38
39 private: 39 private:
40 HTMLEmbedElement(Document&, bool createdByParser); 40 HTMLEmbedElement(Document&, bool createdByParser);
41 41
42 void parseAttribute(const QualifiedName&, 42 void parseAttribute(const AttributeModificationParams&) override;
43 const AtomicString&,
44 const AtomicString&) override;
45 bool isPresentationAttribute(const QualifiedName&) const override; 43 bool isPresentationAttribute(const QualifiedName&) const override;
46 void collectStyleForPresentationAttribute(const QualifiedName&, 44 void collectStyleForPresentationAttribute(const QualifiedName&,
47 const AtomicString&, 45 const AtomicString&,
48 MutableStylePropertySet*) override; 46 MutableStylePropertySet*) override;
49 47
50 bool layoutObjectIsNeeded(const ComputedStyle&) override; 48 bool layoutObjectIsNeeded(const ComputedStyle&) override;
51 49
52 bool isURLAttribute(const Attribute&) const override; 50 bool isURLAttribute(const Attribute&) const override;
53 const QualifiedName& subResourceAttributeName() const override; 51 const QualifiedName& subResourceAttributeName() const override;
54 52
55 LayoutPart* existingLayoutPart() const override; 53 LayoutPart* existingLayoutPart() const override;
56 54
57 void updateWidgetInternal() override; 55 void updateWidgetInternal() override;
58 56
59 void parametersForPlugin(Vector<String>& paramNames, 57 void parametersForPlugin(Vector<String>& paramNames,
60 Vector<String>& paramValues); 58 Vector<String>& paramValues);
61 59
62 bool shouldRegisterAsNamedItem() const override { return true; } 60 bool shouldRegisterAsNamedItem() const override { return true; }
63 bool isInteractiveContent() const override; 61 bool isInteractiveContent() const override;
64 }; 62 };
65 63
66 } // namespace blink 64 } // namespace blink
67 65
68 #endif // HTMLEmbedElement_h 66 #endif // HTMLEmbedElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698