Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: Source/core/dom/Document.h

Issue 1252683003: Oilpan: Schedule a precise GC when a page navigates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WIP Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/loader/FrameLoader.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/loader/FrameLoader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698