OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ~HTMLIFrameElement() override; | 46 ~HTMLIFrameElement() override; |
47 DOMTokenList* sandbox() const; | 47 DOMTokenList* sandbox() const; |
48 DOMTokenList* permissions() const; | 48 DOMTokenList* permissions() const; |
49 | 49 |
50 void sandboxValueWasSet(); | 50 void sandboxValueWasSet(); |
51 void permissionsValueWasSet(); | 51 void permissionsValueWasSet(); |
52 | 52 |
53 private: | 53 private: |
54 explicit HTMLIFrameElement(Document&); | 54 explicit HTMLIFrameElement(Document&); |
55 | 55 |
| 56 void setShouldCollapse(bool) override; |
| 57 |
56 void parseAttribute(const AttributeModificationParams&) override; | 58 void parseAttribute(const AttributeModificationParams&) override; |
57 bool isPresentationAttribute(const QualifiedName&) const override; | 59 bool isPresentationAttribute(const QualifiedName&) const override; |
58 void collectStyleForPresentationAttribute(const QualifiedName&, | 60 void collectStyleForPresentationAttribute(const QualifiedName&, |
59 const AtomicString&, | 61 const AtomicString&, |
60 MutableStylePropertySet*) override; | 62 MutableStylePropertySet*) override; |
61 | 63 |
62 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 64 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
63 void removedFrom(ContainerNode*) override; | 65 void removedFrom(ContainerNode*) override; |
64 | 66 |
65 bool layoutObjectIsNeeded(const ComputedStyle&) override; | 67 bool layoutObjectIsNeeded(const ComputedStyle&) override; |
(...skipping 16 matching lines...) Expand all Loading... |
82 return m_delegatedPermissions; | 84 return m_delegatedPermissions; |
83 } | 85 } |
84 | 86 |
85 bool initializePermissionsAttribute(); | 87 bool initializePermissionsAttribute(); |
86 | 88 |
87 AtomicString m_name; | 89 AtomicString m_name; |
88 AtomicString m_csp; | 90 AtomicString m_csp; |
89 bool m_didLoadNonEmptyDocument; | 91 bool m_didLoadNonEmptyDocument; |
90 bool m_allowFullscreen; | 92 bool m_allowFullscreen; |
91 bool m_allowPaymentRequest; | 93 bool m_allowPaymentRequest; |
| 94 bool m_shouldCollapse; |
92 Member<HTMLIFrameElementSandbox> m_sandbox; | 95 Member<HTMLIFrameElementSandbox> m_sandbox; |
93 Member<HTMLIFrameElementPermissions> m_permissions; | 96 Member<HTMLIFrameElementPermissions> m_permissions; |
94 | 97 |
95 WebVector<WebPermissionType> m_delegatedPermissions; | 98 WebVector<WebPermissionType> m_delegatedPermissions; |
96 | 99 |
97 ReferrerPolicy m_referrerPolicy; | 100 ReferrerPolicy m_referrerPolicy; |
98 }; | 101 }; |
99 | 102 |
100 } // namespace blink | 103 } // namespace blink |
101 | 104 |
102 #endif // HTMLIFrameElement_h | 105 #endif // HTMLIFrameElement_h |
OLD | NEW |