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

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

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: rebasing on master Created 4 years, 2 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 * (C) 2000 Simon Hausmann <hausmann@kde.org> 4 * (C) 2000 Simon Hausmann <hausmann@kde.org>
5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 bool loadedNonEmptyDocument() const override { 66 bool loadedNonEmptyDocument() const override {
67 return m_didLoadNonEmptyDocument; 67 return m_didLoadNonEmptyDocument;
68 } 68 }
69 void didLoadNonEmptyDocument() override { m_didLoadNonEmptyDocument = true; } 69 void didLoadNonEmptyDocument() override { m_didLoadNonEmptyDocument = true; }
70 bool isInteractiveContent() const override; 70 bool isInteractiveContent() const override;
71 71
72 ReferrerPolicy referrerPolicyAttribute() override; 72 ReferrerPolicy referrerPolicyAttribute() override;
73 73
74 bool allowFullscreen() const override { return m_allowFullscreen; } 74 bool allowFullscreen() const override { return m_allowFullscreen; }
75 75
76 AtomicString csp() const override { return m_csp; }
77
76 const WebVector<WebPermissionType>& delegatedPermissions() const override { 78 const WebVector<WebPermissionType>& delegatedPermissions() const override {
77 return m_delegatedPermissions; 79 return m_delegatedPermissions;
78 } 80 }
79 81
80 bool initializePermissionsAttribute(); 82 bool initializePermissionsAttribute();
81 83
82 AtomicString m_name; 84 AtomicString m_name;
83 AtomicString m_csp; 85 AtomicString m_csp;
84 bool m_didLoadNonEmptyDocument; 86 bool m_didLoadNonEmptyDocument;
85 bool m_allowFullscreen; 87 bool m_allowFullscreen;
86 Member<HTMLIFrameElementSandbox> m_sandbox; 88 Member<HTMLIFrameElementSandbox> m_sandbox;
87 Member<HTMLIFrameElementPermissions> m_permissions; 89 Member<HTMLIFrameElementPermissions> m_permissions;
88 90
89 WebVector<WebPermissionType> m_delegatedPermissions; 91 WebVector<WebPermissionType> m_delegatedPermissions;
90 92
91 ReferrerPolicy m_referrerPolicy; 93 ReferrerPolicy m_referrerPolicy;
92 }; 94 };
93 95
94 } // namespace blink 96 } // namespace blink
95 97
96 #endif // HTMLIFrameElement_h 98 #endif // HTMLIFrameElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698