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) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 , public WillBeHeapSupplementable<Document>, public DocumentLifecycleNotifie
r { | 205 , public WillBeHeapSupplementable<Document>, public DocumentLifecycleNotifie
r { |
206 DEFINE_WRAPPERTYPEINFO(); | 206 DEFINE_WRAPPERTYPEINFO(); |
207 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Document); | 207 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Document); |
208 public: | 208 public: |
209 static PassRefPtrWillBeRawPtr<Document> create(const DocumentInit& initializ
er = DocumentInit()) | 209 static PassRefPtrWillBeRawPtr<Document> create(const DocumentInit& initializ
er = DocumentInit()) |
210 { | 210 { |
211 return adoptRefWillBeNoop(new Document(initializer)); | 211 return adoptRefWillBeNoop(new Document(initializer)); |
212 } | 212 } |
213 ~Document() override; | 213 ~Document() override; |
214 | 214 |
| 215 unsigned nodeCount() const; |
| 216 |
215 MediaQueryMatcher& mediaQueryMatcher(); | 217 MediaQueryMatcher& mediaQueryMatcher(); |
216 | 218 |
217 void mediaQueryAffectingValueChanged(); | 219 void mediaQueryAffectingValueChanged(); |
218 | 220 |
219 #if !ENABLE(OILPAN) | 221 #if !ENABLE(OILPAN) |
220 using ContainerNode::ref; | 222 using ContainerNode::ref; |
221 using ContainerNode::deref; | 223 using ContainerNode::deref; |
222 #endif | 224 #endif |
223 using SecurityContext::securityOrigin; | 225 using SecurityContext::securityOrigin; |
224 using SecurityContext::contentSecurityPolicy; | 226 using SecurityContext::contentSecurityPolicy; |
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1431 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1430 | 1432 |
1431 } // namespace blink | 1433 } // namespace blink |
1432 | 1434 |
1433 #ifndef NDEBUG | 1435 #ifndef NDEBUG |
1434 // Outside the WebCore namespace for ease of invocation from gdb. | 1436 // Outside the WebCore namespace for ease of invocation from gdb. |
1435 CORE_EXPORT void showLiveDocumentInstances(); | 1437 CORE_EXPORT void showLiveDocumentInstances(); |
1436 #endif | 1438 #endif |
1437 | 1439 |
1438 #endif // Document_h | 1440 #endif // Document_h |
OLD | NEW |