| 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 11 matching lines...) Expand all Loading... |
| 22 #include "core/html/HTMLFrameOwnerElement.h" | 22 #include "core/html/HTMLFrameOwnerElement.h" |
| 23 | 23 |
| 24 #include "bindings/v8/ExceptionState.h" | 24 #include "bindings/v8/ExceptionState.h" |
| 25 #include "core/dom/ExceptionCode.h" | 25 #include "core/dom/ExceptionCode.h" |
| 26 #include "core/loader/FrameLoader.h" | 26 #include "core/loader/FrameLoader.h" |
| 27 #include "core/loader/FrameLoaderClient.h" | 27 #include "core/loader/FrameLoaderClient.h" |
| 28 #include "core/frame/Frame.h" | 28 #include "core/frame/Frame.h" |
| 29 #include "core/frame/FrameView.h" | 29 #include "core/frame/FrameView.h" |
| 30 #include "core/rendering/RenderPart.h" | 30 #include "core/rendering/RenderPart.h" |
| 31 #include "core/svg/SVGDocument.h" | 31 #include "core/svg/SVGDocument.h" |
| 32 #include "weborigin/SecurityOrigin.h" | 32 #include "platform/weborigin/SecurityOrigin.h" |
| 33 #include "weborigin/SecurityPolicy.h" | 33 #include "platform/weborigin/SecurityPolicy.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 HTMLFrameOwnerElement::HTMLFrameOwnerElement(const QualifiedName& tagName, Docum
ent& document) | 37 HTMLFrameOwnerElement::HTMLFrameOwnerElement(const QualifiedName& tagName, Docum
ent& document) |
| 38 : HTMLElement(tagName, document) | 38 : HTMLElement(tagName, document) |
| 39 , m_contentFrame(0) | 39 , m_contentFrame(0) |
| 40 , m_sandboxFlags(SandboxNone) | 40 , m_sandboxFlags(SandboxNone) |
| 41 { | 41 { |
| 42 } | 42 } |
| 43 | 43 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // FIXME: In this case the Frame will have finished loading before | 168 // FIXME: In this case the Frame will have finished loading before |
| 169 // it's being added to the child list. It would be a good idea to | 169 // it's being added to the child list. It would be a good idea to |
| 170 // create the child first, then invoke the loader separately. | 170 // create the child first, then invoke the loader separately. |
| 171 if (childFrame->loader().state() == FrameStateComplete && !childFrame->loade
r().policyDocumentLoader()) | 171 if (childFrame->loader().state() == FrameStateComplete && !childFrame->loade
r().policyDocumentLoader()) |
| 172 childFrame->loader().checkCompleted(); | 172 childFrame->loader().checkCompleted(); |
| 173 return true; | 173 return true; |
| 174 } | 174 } |
| 175 | 175 |
| 176 | 176 |
| 177 } // namespace WebCore | 177 } // namespace WebCore |
| OLD | NEW |