| 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 |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2013 Google Inc. All rights reserved. | 11 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 10 * | 12 * |
| 11 * This library is free software; you can redistribute it and/or | 13 * This library is free software; you can redistribute it and/or |
| 12 * modify it under the terms of the GNU Library General Public | 14 * modify it under the terms of the GNU Library General Public |
| 13 * License as published by the Free Software Foundation; either | 15 * License as published by the Free Software Foundation; either |
| 14 * version 2 of the License, or (at your option) any later version. | 16 * version 2 of the License, or (at your option) any later version. |
| 15 * | 17 * |
| 16 * This library is distributed in the hope that it will be useful, | 18 * This library is distributed in the hope that it will be useful, |
| 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 96 |
| 95 KURL m_url; | 97 KURL m_url; |
| 96 Member<LocalFrame> m_frame; | 98 Member<LocalFrame> m_frame; |
| 97 Member<Document> m_parent; | 99 Member<Document> m_parent; |
| 98 Member<Document> m_owner; | 100 Member<Document> m_owner; |
| 99 Member<Document> m_contextDocument; | 101 Member<Document> m_contextDocument; |
| 100 Member<HTMLImportsController> m_importsController; | 102 Member<HTMLImportsController> m_importsController; |
| 101 Member<V0CustomElementRegistrationContext> m_registrationContext; | 103 Member<V0CustomElementRegistrationContext> m_registrationContext; |
| 102 bool m_createNewRegistrationContext; | 104 bool m_createNewRegistrationContext; |
| 103 | 105 |
| 104 // In some rare cases, we'll re-use a LocalDOMWindow for a new Document. For e
xample, | 106 // In some rare cases, we'll re-use a LocalDOMWindow for a new Document. For |
| 105 // when a script calls window.open("..."), the browser gives JavaScript a wind
ow | 107 // example, when a script calls window.open("..."), the browser gives |
| 106 // synchronously but kicks off the load in the window asynchronously. Web site
s | 108 // JavaScript a window synchronously but kicks off the load in the window |
| 107 // expect that modifications that they make to the window object synchronously | 109 // asynchronously. Web sites expect that modifications that they make to the |
| 108 // won't be blown away when the network load commits. To make that happen, we | 110 // window object synchronously won't be blown away when the network load |
| 109 // "securely transition" the existing LocalDOMWindow to the Document that resu
lts from | 111 // commits. To make that happen, we "securely transition" the existing |
| 110 // the network load. See also SecurityContext::isSecureTransitionTo. | 112 // LocalDOMWindow to the Document that results from the network load. See also |
| 113 // SecurityContext::isSecureTransitionTo. |
| 111 // FIXME: This is for DocumentWriter creation, not for one of Document. | 114 // FIXME: This is for DocumentWriter creation, not for one of Document. |
| 112 bool m_shouldReuseDefaultView; | 115 bool m_shouldReuseDefaultView; |
| 113 }; | 116 }; |
| 114 | 117 |
| 115 } // namespace blink | 118 } // namespace blink |
| 116 | 119 |
| 117 #endif // DocumentInit_h | 120 #endif // DocumentInit_h |
| OLD | NEW |