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 12 matching lines...) Expand all Loading... | |
23 | 23 |
24 #include "core/html/HTMLElement.h" | 24 #include "core/html/HTMLElement.h" |
25 #include "wtf/HashCountedSet.h" | 25 #include "wtf/HashCountedSet.h" |
26 | 26 |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 class DOMWindow; | 29 class DOMWindow; |
30 class ExceptionState; | 30 class ExceptionState; |
31 class Frame; | 31 class Frame; |
32 class RenderPart; | 32 class RenderPart; |
33 class SVGDocument; | |
34 | 33 |
35 class HTMLFrameOwnerElement : public HTMLElement { | 34 class HTMLFrameOwnerElement : public HTMLElement { |
36 public: | 35 public: |
37 virtual ~HTMLFrameOwnerElement(); | 36 virtual ~HTMLFrameOwnerElement(); |
38 | 37 |
39 Frame* contentFrame() const { return m_contentFrame; } | 38 Frame* contentFrame() const { return m_contentFrame; } |
40 DOMWindow* contentWindow() const; | 39 DOMWindow* contentWindow() const; |
41 Document* contentDocument() const; | 40 Document* contentDocument() const; |
42 | 41 |
43 void setContentFrame(Frame&); | 42 void setContentFrame(Frame&); |
44 void clearContentFrame(); | 43 void clearContentFrame(); |
45 | 44 |
46 void disconnectContentFrame(); | 45 void disconnectContentFrame(); |
47 | 46 |
48 // Most subclasses use RenderPart (either RenderEmbeddedObject or RenderIFra me) | 47 // Most subclasses use RenderPart (either RenderEmbeddedObject or RenderIFra me) |
49 // except for HTMLObjectElement and HTMLEmbedElement which may return any | 48 // except for HTMLObjectElement and HTMLEmbedElement which may return any |
50 // RenderObject when using fallback content. | 49 // RenderObject when using fallback content. |
51 RenderPart* renderPart() const; | 50 RenderPart* renderPart() const; |
52 | 51 |
53 SVGDocument* getSVGDocument(ExceptionState&) const; | 52 Document* getSVGDocument(ExceptionState&) const; |
Inactive
2014/01/24 00:23:47
I don't think this change is needed.
| |
54 | 53 |
55 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; } | 54 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; } |
56 | 55 |
57 SandboxFlags sandboxFlags() const { return m_sandboxFlags; } | 56 SandboxFlags sandboxFlags() const { return m_sandboxFlags; } |
58 | 57 |
59 virtual bool loadedNonEmptyDocument() const { return false; } | 58 virtual bool loadedNonEmptyDocument() const { return false; } |
60 virtual void didLoadNonEmptyDocument() { } | 59 virtual void didLoadNonEmptyDocument() { } |
61 | 60 |
62 virtual void renderFallbackContent() { } | 61 virtual void renderFallbackContent() { } |
63 | 62 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 DEFINE_STATIC_LOCAL(HashCountedSet<Node*>, nodes, ()); | 106 DEFINE_STATIC_LOCAL(HashCountedSet<Node*>, nodes, ()); |
108 return nodes; | 107 return nodes; |
109 } | 108 } |
110 | 109 |
111 Node& m_root; | 110 Node& m_root; |
112 }; | 111 }; |
113 | 112 |
114 } // namespace WebCore | 113 } // namespace WebCore |
115 | 114 |
116 #endif // HTMLFrameOwnerElement_h | 115 #endif // HTMLFrameOwnerElement_h |
OLD | NEW |