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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.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) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // FrameOwner overrides: 79 // FrameOwner overrides:
80 void setContentFrame(Frame&) override; 80 void setContentFrame(Frame&) override;
81 void clearContentFrame() override; 81 void clearContentFrame() override;
82 void dispatchLoad() override; 82 void dispatchLoad() override;
83 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; } 83 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; }
84 void renderFallbackContent() override {} 84 void renderFallbackContent() override {}
85 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } 85 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; }
86 int marginWidth() const override { return -1; } 86 int marginWidth() const override { return -1; }
87 int marginHeight() const override { return -1; } 87 int marginHeight() const override { return -1; }
88 bool allowFullscreen() const override { return false; } 88 bool allowFullscreen() const override { return false; }
89 AtomicString csp() const override { return nullAtom; }
89 const WebVector<WebPermissionType>& delegatedPermissions() const override; 90 const WebVector<WebPermissionType>& delegatedPermissions() const override;
90 91
91 DECLARE_VIRTUAL_TRACE(); 92 DECLARE_VIRTUAL_TRACE();
92 93
93 protected: 94 protected:
94 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); 95 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
95 void setSandboxFlags(SandboxFlags); 96 void setSandboxFlags(SandboxFlags);
96 97
97 bool loadOrRedirectSubframe(const KURL&, 98 bool loadOrRedirectSubframe(const KURL&,
98 const AtomicString& frameName, 99 const AtomicString& frameName,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 156
156 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, 157 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement,
157 FrameOwner, 158 FrameOwner,
158 owner, 159 owner,
159 owner->isLocal(), 160 owner->isLocal(),
160 owner.isLocal()); 161 owner.isLocal());
161 162
162 } // namespace blink 163 } // namespace blink
163 164
164 #endif // HTMLFrameOwnerElement_h 165 #endif // HTMLFrameOwnerElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameOwner.h ('k') | third_party/WebKit/Source/core/html/HTMLIFrameElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698