OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return getAttribute(HTMLNames::nameAttr); | 86 return getAttribute(HTMLNames::nameAttr); |
87 } | 87 } |
88 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } | 88 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } |
89 int marginWidth() const override { return -1; } | 89 int marginWidth() const override { return -1; } |
90 int marginHeight() const override { return -1; } | 90 int marginHeight() const override { return -1; } |
91 bool allowFullscreen() const override { return false; } | 91 bool allowFullscreen() const override { return false; } |
92 bool allowPaymentRequest() const override { return false; } | 92 bool allowPaymentRequest() const override { return false; } |
93 AtomicString csp() const override { return nullAtom; } | 93 AtomicString csp() const override { return nullAtom; } |
94 const WebVector<mojom::blink::PermissionName>& delegatedPermissions() | 94 const WebVector<mojom::blink::PermissionName>& delegatedPermissions() |
95 const override; | 95 const override; |
| 96 const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override; |
96 | 97 |
97 DECLARE_VIRTUAL_TRACE(); | 98 DECLARE_VIRTUAL_TRACE(); |
98 | 99 |
99 protected: | 100 protected: |
100 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); | 101 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); |
101 void setSandboxFlags(SandboxFlags); | 102 void setSandboxFlags(SandboxFlags); |
102 | 103 |
103 bool loadOrRedirectSubframe(const KURL&, | 104 bool loadOrRedirectSubframe(const KURL&, |
104 const AtomicString& frameName, | 105 const AtomicString& frameName, |
105 bool replaceCurrentItem); | 106 bool replaceCurrentItem); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 167 |
167 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, | 168 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, |
168 FrameOwner, | 169 FrameOwner, |
169 owner, | 170 owner, |
170 owner->isLocal(), | 171 owner->isLocal(), |
171 owner.isLocal()); | 172 owner.isLocal()); |
172 | 173 |
173 } // namespace blink | 174 } // namespace blink |
174 | 175 |
175 #endif // HTMLFrameOwnerElement_h | 176 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |