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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 RenderPart* renderPart() const; | 53 RenderPart* renderPart() const; |
54 | 54 |
55 #if ENABLE(SVG) | 55 #if ENABLE(SVG) |
56 SVGDocument* getSVGDocument(ExceptionCode&) const; | 56 SVGDocument* getSVGDocument(ExceptionCode&) const; |
57 #endif | 57 #endif |
58 | 58 |
59 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; } | 59 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; } |
60 | 60 |
61 SandboxFlags sandboxFlags() const { return m_sandboxFlags; } | 61 SandboxFlags sandboxFlags() const { return m_sandboxFlags; } |
62 | 62 |
| 63 virtual bool loadedNonEmptyDocument() const { return false; } |
| 64 virtual void didLoadNonEmptyDocument() { } |
| 65 |
63 protected: | 66 protected: |
64 HTMLFrameOwnerElement(const QualifiedName& tagName, Document*); | 67 HTMLFrameOwnerElement(const QualifiedName& tagName, Document*); |
65 void setSandboxFlags(SandboxFlags); | 68 void setSandboxFlags(SandboxFlags); |
66 | 69 |
67 private: | 70 private: |
68 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 71 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
69 virtual bool isFrameOwnerElement() const OVERRIDE { return true; } | 72 virtual bool isFrameOwnerElement() const OVERRIDE { return true; } |
70 | 73 |
71 Frame* m_contentFrame; | 74 Frame* m_contentFrame; |
72 SandboxFlags m_sandboxFlags; | 75 SandboxFlags m_sandboxFlags; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 DEFINE_STATIC_LOCAL(HashSet<Node*>, nodes, ()); | 109 DEFINE_STATIC_LOCAL(HashSet<Node*>, nodes, ()); |
107 return nodes; | 110 return nodes; |
108 } | 111 } |
109 | 112 |
110 Node* m_root; | 113 Node* m_root; |
111 }; | 114 }; |
112 | 115 |
113 } // namespace WebCore | 116 } // namespace WebCore |
114 | 117 |
115 #endif // HTMLFrameOwnerElement_h | 118 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |