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

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

Issue 2801243002: More tweaks to <script nonce> hiding. (Closed)
Patch Set: Element. Created 3 years, 8 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 String ForAttributeValue() const { return String(); } 77 String ForAttributeValue() const { return String(); }
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 String SourceAttributeValue() const override; 80 String SourceAttributeValue() const override;
81 String TypeAttributeValue() const override; 81 String TypeAttributeValue() const override;
82 String TextFromChildren() override; 82 String TextFromChildren() override;
83 String TextContent() const override; 83 String TextContent() const override;
84 bool HasSourceAttribute() const override; 84 bool HasSourceAttribute() const override;
85 bool IsConnected() const override; 85 bool IsConnected() const override;
86 bool HasChildren() const override; 86 bool HasChildren() const override;
87 bool IsNonceableElement() const; 87 const AtomicString& GetNonceForElement() const override;
88 bool AllowInlineScriptForCSP(const AtomicString& nonce, 88 bool AllowInlineScriptForCSP(const AtomicString& nonce,
89 const WTF::OrdinalNumber&, 89 const WTF::OrdinalNumber&,
90 const String& script_content) override; 90 const String& script_content) override;
91 AtomicString InitiatorName() const override; 91 AtomicString InitiatorName() const override;
92 Document& GetDocument() const override; 92 Document& GetDocument() const override;
93 void DispatchLoadEvent() override; 93 void DispatchLoadEvent() override;
94 void DispatchErrorEvent() override; 94 void DispatchErrorEvent() override;
95 void SetScriptElementForBinding( 95 void SetScriptElementForBinding(
96 HTMLScriptElementOrSVGScriptElement&) override; 96 HTMLScriptElementOrSVGScriptElement&) override;
97 97
98 Element* CloneElementWithoutAttributesAndChildren() override; 98 Element* CloneElementWithoutAttributesAndChildren() override;
99 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; } 99 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; }
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // SVGScriptElement_h 104 #endif // SVGScriptElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698