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