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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLScriptElement.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) 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) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
5 * reserved. 5 * reserved.
6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 String EventAttributeValue() const override; 84 String EventAttributeValue() const override;
85 String CrossOriginAttributeValue() const override; 85 String CrossOriginAttributeValue() const override;
86 String IntegrityAttributeValue() const override; 86 String IntegrityAttributeValue() const override;
87 String TextFromChildren() override; 87 String TextFromChildren() override;
88 String TextContent() const override; 88 String TextContent() const override;
89 bool AsyncAttributeValue() const override; 89 bool AsyncAttributeValue() const override;
90 bool DeferAttributeValue() const override; 90 bool DeferAttributeValue() const override;
91 bool HasSourceAttribute() const override; 91 bool HasSourceAttribute() const override;
92 bool IsConnected() const override; 92 bool IsConnected() const override;
93 bool HasChildren() const override; 93 bool HasChildren() const override;
94 bool IsNonceableElement() const override; 94 const AtomicString& GetNonceForElement() const override;
95 bool AllowInlineScriptForCSP(const AtomicString& nonce, 95 bool AllowInlineScriptForCSP(const AtomicString& nonce,
96 const WTF::OrdinalNumber&, 96 const WTF::OrdinalNumber&,
97 const String& script_content) override; 97 const String& script_content) override;
98 AtomicString InitiatorName() const override; 98 AtomicString InitiatorName() const override;
99 void DispatchLoadEvent() override; 99 void DispatchLoadEvent() override;
100 void DispatchErrorEvent() override; 100 void DispatchErrorEvent() override;
101 void SetScriptElementForBinding( 101 void SetScriptElementForBinding(
102 HTMLScriptElementOrSVGScriptElement&) override; 102 HTMLScriptElementOrSVGScriptElement&) override;
103 103
104 Element* CloneElementWithoutAttributesAndChildren() override; 104 Element* CloneElementWithoutAttributesAndChildren() override;
105 }; 105 };
106 106
107 } // namespace blink 107 } // namespace blink
108 108
109 #endif // HTMLScriptElement_h 109 #endif // HTMLScriptElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698