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 26 matching lines...) Expand all Loading... |
37 #include "wtf/WeakPtr.h" | 37 #include "wtf/WeakPtr.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class CustomElementRegistrationContext; | 41 class CustomElementRegistrationContext; |
42 class Document; | 42 class Document; |
43 class LocalFrame; | 43 class LocalFrame; |
44 class HTMLImportsController; | 44 class HTMLImportsController; |
45 class Settings; | 45 class Settings; |
46 | 46 |
47 class DocumentInit FINAL { | 47 class DocumentInit final { |
48 STACK_ALLOCATED(); | 48 STACK_ALLOCATED(); |
49 public: | 49 public: |
50 explicit DocumentInit(const KURL& = KURL(), LocalFrame* = 0, WeakPtrWillBeRa
wPtr<Document> = nullptr, HTMLImportsController* = 0); | 50 explicit DocumentInit(const KURL& = KURL(), LocalFrame* = 0, WeakPtrWillBeRa
wPtr<Document> = nullptr, HTMLImportsController* = 0); |
51 DocumentInit(const DocumentInit&); | 51 DocumentInit(const DocumentInit&); |
52 ~DocumentInit(); | 52 ~DocumentInit(); |
53 | 53 |
54 const KURL& url() const { return m_url; } | 54 const KURL& url() const { return m_url; } |
55 LocalFrame* frame() const { return m_frame; } | 55 LocalFrame* frame() const { return m_frame; } |
56 HTMLImportsController* importsController() const { return m_importsControlle
r; } | 56 HTMLImportsController* importsController() const { return m_importsControlle
r; } |
57 | 57 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // won't be blown away when the network load commits. To make that happen, w
e | 94 // won't be blown away when the network load commits. To make that happen, w
e |
95 // "securely transition" the existing LocalDOMWindow to the Document that re
sults from | 95 // "securely transition" the existing LocalDOMWindow to the Document that re
sults from |
96 // the network load. See also SecurityContext::isSecureTransitionTo. | 96 // the network load. See also SecurityContext::isSecureTransitionTo. |
97 // FIXME: This is for DocumentWriter creation, not for one of Document. | 97 // FIXME: This is for DocumentWriter creation, not for one of Document. |
98 bool m_shouldReuseDefaultView; | 98 bool m_shouldReuseDefaultView; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace blink | 101 } // namespace blink |
102 | 102 |
103 #endif // DocumentInit_h | 103 #endif // DocumentInit_h |
OLD | NEW |