| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 UpdateSuspendScope(); | 72 UpdateSuspendScope(); |
| 73 ~UpdateSuspendScope(); | 73 ~UpdateSuspendScope(); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 void performDeferredWidgetTreeOperations(); | 76 void performDeferredWidgetTreeOperations(); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 // FrameOwner overrides: | 79 // FrameOwner overrides: |
| 80 bool isLocal() const override { return true; } | 80 bool isLocal() const override { return true; } |
| 81 void dispatchLoad() override; | 81 void dispatchLoad() override; |
| 82 SandboxFlags sandboxFlags() 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 | 87 |
| 88 DECLARE_VIRTUAL_TRACE(); | 88 DECLARE_VIRTUAL_TRACE(); |
| 89 | 89 |
| 90 protected: | 90 protected: |
| 91 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); | 91 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); |
| 92 void setSandboxFlags(SandboxFlags); | 92 void setSandboxFlags(SandboxFlags); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 CORE_EXPORT static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disab
ledSubtreeRoots(); | 139 CORE_EXPORT static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disab
ledSubtreeRoots(); |
| 140 | 140 |
| 141 RawPtrWillBeMember<Node> m_root; | 141 RawPtrWillBeMember<Node> m_root; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); | 144 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); |
| 145 | 145 |
| 146 } // namespace blink | 146 } // namespace blink |
| 147 | 147 |
| 148 #endif // HTMLFrameOwnerElement_h | 148 #endif // HTMLFrameOwnerElement_h |
| OLD | NEW |