| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 HTMLImportsController* importsController() const { return m_importsControlle
r; } | 54 HTMLImportsController* importsController() const { return m_importsControlle
r; } |
| 55 | 55 |
| 56 bool shouldSetURL() const; | 56 bool shouldSetURL() const; |
| 57 bool isSeamlessAllowedFor(Document* child) const; | 57 bool isSeamlessAllowedFor(Document* child) const; |
| 58 | 58 |
| 59 Document* parent() const { return m_parent.get(); } | 59 Document* parent() const { return m_parent.get(); } |
| 60 Document* owner() const { return m_owner.get(); } | 60 Document* owner() const { return m_owner.get(); } |
| 61 LocalFrame* ownerFrame() const; | 61 LocalFrame* ownerFrame() const; |
| 62 Settings* settings() const; | 62 Settings* settings() const; |
| 63 | 63 |
| 64 DocumentInit& withRegistrationContext(CustomElementRegistrationContext*); | 64 DocumentInit& withRegistrationContext(CustomElementRegistrationContext&); |
| 65 DocumentInit& withNewRegistrationContext(); | 65 PassRefPtr<CustomElementRegistrationContext> registrationContext() const; |
| 66 PassRefPtr<CustomElementRegistrationContext> registrationContext(Document*)
const; | |
| 67 WeakPtr<Document> contextDocument() const; | 66 WeakPtr<Document> contextDocument() const; |
| 68 | 67 |
| 69 static DocumentInit fromContext(WeakPtr<Document> contextDocument, const KUR
L& = KURL()); | 68 static DocumentInit fromContext(WeakPtr<Document> contextDocument, const KUR
L& = KURL()); |
| 70 | 69 |
| 71 private: | 70 private: |
| 72 LocalFrame* frameForSecurityContext() const; | 71 LocalFrame* frameForSecurityContext() const; |
| 73 | 72 |
| 74 KURL m_url; | 73 KURL m_url; |
| 75 LocalFrame* m_frame; | 74 LocalFrame* m_frame; |
| 76 RefPtr<Document> m_parent; | 75 RefPtr<Document> m_parent; |
| 77 RefPtr<Document> m_owner; | 76 RefPtr<Document> m_owner; |
| 78 WeakPtr<Document> m_contextDocument; | 77 WeakPtr<Document> m_contextDocument; |
| 79 RawPtr<HTMLImportsController> m_importsController; | 78 RawPtr<HTMLImportsController> m_importsController; |
| 80 RefPtr<CustomElementRegistrationContext> m_registrationContext; | 79 RefPtr<CustomElementRegistrationContext> m_registrationContext; |
| 81 bool m_createNewRegistrationContext; | |
| 82 }; | 80 }; |
| 83 | 81 |
| 84 } // namespace blink | 82 } // namespace blink |
| 85 | 83 |
| 86 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTINIT_H_ | 84 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTINIT_H_ |
| OLD | NEW |