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 15 matching lines...) Expand all Loading... |
26 #include "wtf/HashCountedSet.h" | 26 #include "wtf/HashCountedSet.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class DOMWindow; | 30 class DOMWindow; |
31 class ExceptionState; | 31 class ExceptionState; |
32 class Frame; | 32 class Frame; |
33 class RenderPart; | 33 class RenderPart; |
34 class Widget; | 34 class Widget; |
35 | 35 |
36 class HTMLFrameOwnerElement : public FrameOwner, public HTMLElement { | 36 class HTMLFrameOwnerElement : public HTMLElement, public FrameOwner { |
37 public: | 37 public: |
38 virtual ~HTMLFrameOwnerElement(); | 38 virtual ~HTMLFrameOwnerElement(); |
39 | 39 |
40 // FrameOwner overrides: | 40 // FrameOwner overrides: |
41 virtual bool isLocal() const { return true; } | 41 virtual bool isLocal() const { return true; } |
42 virtual SandboxFlags sandboxFlags() const OVERRIDE { return m_sandboxFlags;
} | 42 virtual SandboxFlags sandboxFlags() const OVERRIDE { return m_sandboxFlags;
} |
43 virtual void dispatchLoad() OVERRIDE; | 43 virtual void dispatchLoad() OVERRIDE; |
44 | 44 |
45 Frame* contentFrame() const { return m_contentFrame; } | 45 Frame* contentFrame() const { return m_contentFrame; } |
46 DOMWindow* contentWindow() const; | 46 DOMWindow* contentWindow() const; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 } | 127 } |
128 | 128 |
129 Node& m_root; | 129 Node& m_root; |
130 }; | 130 }; |
131 | 131 |
132 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); | 132 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow
ner.isLocal()); |
133 | 133 |
134 } // namespace WebCore | 134 } // namespace WebCore |
135 | 135 |
136 #endif // HTMLFrameOwnerElement_h | 136 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |