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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGScriptElement.h

Issue 2801243002: More tweaks to <script nonce> hiding. (Closed)
Patch Set: Moved tests. Created 3 years, 7 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) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 String IntegrityAttributeValue() const { return String(); } 78 String IntegrityAttributeValue() const { return String(); }
79 String LanguageAttributeValue() const { return String(); } 79 String LanguageAttributeValue() const { return String(); }
80 bool NomoduleAttributeValue() const { return false; } 80 bool NomoduleAttributeValue() const { return false; }
81 String SourceAttributeValue() const override; 81 String SourceAttributeValue() const override;
82 String TypeAttributeValue() const override; 82 String TypeAttributeValue() const override;
83 String TextFromChildren() override; 83 String TextFromChildren() override;
84 String TextContent() const override; 84 String TextContent() const override;
85 bool HasSourceAttribute() const override; 85 bool HasSourceAttribute() const override;
86 bool IsConnected() const override; 86 bool IsConnected() const override;
87 bool HasChildren() const override; 87 bool HasChildren() const override;
88 bool IsNonceableElement() const; 88 const AtomicString& GetNonceForElement() const override;
89 bool AllowInlineScriptForCSP(const AtomicString& nonce, 89 bool AllowInlineScriptForCSP(const AtomicString& nonce,
90 const WTF::OrdinalNumber&, 90 const WTF::OrdinalNumber&,
91 const String& script_content) override; 91 const String& script_content) override;
92 AtomicString InitiatorName() const override; 92 AtomicString InitiatorName() const override;
93 Document& GetDocument() const override; 93 Document& GetDocument() const override;
94 void DispatchLoadEvent() override; 94 void DispatchLoadEvent() override;
95 void DispatchErrorEvent() override; 95 void DispatchErrorEvent() override;
96 void SetScriptElementForBinding( 96 void SetScriptElementForBinding(
97 HTMLScriptElementOrSVGScriptElement&) override; 97 HTMLScriptElementOrSVGScriptElement&) override;
98 98
99 Element* CloneElementWithoutAttributesAndChildren() override; 99 Element* CloneElementWithoutAttributesAndChildren() override;
100 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; } 100 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; }
101 }; 101 };
102 102
103 } // namespace blink 103 } // namespace blink
104 104
105 #endif // SVGScriptElement_h 105 #endif // SVGScriptElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.idl ('k') | third_party/WebKit/Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698