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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // FrameOwner overrides: | 76 // FrameOwner overrides: |
77 void setContentFrame(Frame&) override; | 77 void setContentFrame(Frame&) override; |
78 void clearContentFrame() override; | 78 void clearContentFrame() override; |
79 void dispatchLoad() override; | 79 void dispatchLoad() override; |
80 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; } | 80 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; } |
81 void renderFallbackContent() override { } | 81 void renderFallbackContent() override { } |
82 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } | 82 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } |
83 int marginWidth() const override { return -1; } | 83 int marginWidth() const override { return -1; } |
84 int marginHeight() const override { return -1; } | 84 int marginHeight() const override { return -1; } |
85 bool allowFullscreen() const override { return false; } | 85 bool allowFullscreen() const override { return false; } |
| 86 const WebVector<WebPermissionType>& delegatedPermissions() const override; |
86 | 87 |
87 DECLARE_VIRTUAL_TRACE(); | 88 DECLARE_VIRTUAL_TRACE(); |
88 | 89 |
89 protected: | 90 protected: |
90 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); | 91 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); |
91 void setSandboxFlags(SandboxFlags); | 92 void setSandboxFlags(SandboxFlags); |
92 | 93 |
93 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool
replaceCurrentItem); | 94 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool
replaceCurrentItem); |
94 | 95 |
95 private: | 96 private: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 CORE_EXPORT static SubtreeRootSet& disabledSubtreeRoots(); | 146 CORE_EXPORT static SubtreeRootSet& disabledSubtreeRoots(); |
146 | 147 |
147 Member<Node> m_root; | 148 Member<Node> m_root; |
148 }; | 149 }; |
149 | 150 |
150 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); | 151 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); |
151 | 152 |
152 } // namespace blink | 153 } // namespace blink |
153 | 154 |
154 #endif // HTMLFrameOwnerElement_h | 155 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |