| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2013 Google Inc. All rights reserved. | 9 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
| 25 * | 25 * |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 #include "core/dom/DocumentInit.h" | 29 #include "core/dom/DocumentInit.h" |
| 30 | 30 |
| 31 #include "RuntimeEnabledFeatures.h" | 31 #include "RuntimeEnabledFeatures.h" |
| 32 #include "core/dom/CustomElementRegistrationContext.h" | |
| 33 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
| 33 #include "core/dom/custom/CustomElementRegistrationContext.h" |
| 34 #include "core/html/HTMLImportsController.h" | 34 #include "core/html/HTMLImportsController.h" |
| 35 #include "core/page/Frame.h" | 35 #include "core/page/Frame.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 | 38 |
| 39 DocumentInit::DocumentInit(const KURL& url, Frame* frame, WeakPtr<Document> cont
extDocument, HTMLImport* import) | 39 DocumentInit::DocumentInit(const KURL& url, Frame* frame, WeakPtr<Document> cont
extDocument, HTMLImport* import) |
| 40 : m_url(url) | 40 : m_url(url) |
| 41 , m_frame(frame) | 41 , m_frame(frame) |
| 42 , m_contextDocument(contextDocument) | 42 , m_contextDocument(contextDocument) |
| 43 , m_import(import) | 43 , m_import(import) |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 return m_contextDocument; | 127 return m_contextDocument; |
| 128 } | 128 } |
| 129 | 129 |
| 130 DocumentInit DocumentInit::fromContext(WeakPtr<Document> contextDocument, const
KURL& url) | 130 DocumentInit DocumentInit::fromContext(WeakPtr<Document> contextDocument, const
KURL& url) |
| 131 { | 131 { |
| 132 return DocumentInit(url, 0, contextDocument, 0); | 132 return DocumentInit(url, 0, contextDocument, 0); |
| 133 } | 133 } |
| 134 | 134 |
| 135 } // namespace WebCore | 135 } // namespace WebCore |
| 136 | 136 |
| OLD | NEW |