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

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

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo and merge Created 6 years, 7 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') | no next file with comments »
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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1314 1314
1315 DocumentClassFlags m_documentClasses; 1315 DocumentClassFlags m_documentClasses;
1316 1316
1317 bool m_isViewSource; 1317 bool m_isViewSource;
1318 bool m_sawElementsInKnownNamespaces; 1318 bool m_sawElementsInKnownNamespaces;
1319 bool m_isSrcdocDocument; 1319 bool m_isSrcdocDocument;
1320 bool m_isMobileDocument; 1320 bool m_isMobileDocument;
1321 1321
1322 RenderView* m_renderView; 1322 RenderView* m_renderView;
1323 1323
1324 // FIXME: Oilpan: We should use a real weak pointer here.
1324 WeakPtrFactory<Document> m_weakFactory; 1325 WeakPtrFactory<Document> m_weakFactory;
1325 WeakPtr<Document> m_contextDocument; 1326 WeakPtr<Document> m_contextDocument;
1326 1327
1327 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists() 1328 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists()
1328 1329
1329 WillBeHeapVector<RefPtrWillBeMember<Element> > m_topLayerElements; 1330 WillBeHeapVector<RefPtrWillBeMember<Element> > m_topLayerElements;
1330 1331
1331 int m_loadEventDelayCount; 1332 int m_loadEventDelayCount;
1332 Timer<Document> m_loadEventDelayTimer; 1333 Timer<Document> m_loadEventDelayTimer;
1333 Timer<Document> m_pluginLoadingTimer; 1334 Timer<Document> m_pluginLoadingTimer;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 1367
1367 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1368 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
1368 LocaleIdentifierToLocaleMap m_localeCache; 1369 LocaleIdentifierToLocaleMap m_localeCache;
1369 1370
1370 AnimationClock m_animationClock; 1371 AnimationClock m_animationClock;
1371 RefPtr<DocumentTimeline> m_timeline; 1372 RefPtr<DocumentTimeline> m_timeline;
1372 RefPtr<DocumentTimeline> m_transitionTimeline; 1373 RefPtr<DocumentTimeline> m_transitionTimeline;
1373 CompositorPendingAnimations m_compositorPendingAnimations; 1374 CompositorPendingAnimations m_compositorPendingAnimations;
1374 1375
1375 RefPtrWillBeMember<Document> m_templateDocument; 1376 RefPtrWillBeMember<Document> m_templateDocument;
1376 RawPtrWillBeMember<Document> m_templateDocumentHost; // Manually managed wea kref (backpointer from m_templateDocument). 1377 // With Oilpan the templateDocument and the templateDocumentHost
1378 // live and die together. Without Oilpan, the templateDocumentHost
1379 // is a manually managed backpointer from m_templateDocument.
1380 RawPtrWillBeMember<Document> m_templateDocumentHost;
1377 1381
1378 Timer<Document> m_didAssociateFormControlsTimer; 1382 Timer<Document> m_didAssociateFormControlsTimer;
1379 WillBeHeapHashSet<RefPtrWillBeMember<Element> > m_associatedFormControls; 1383 WillBeHeapHashSet<RefPtrWillBeMember<Element> > m_associatedFormControls;
1380 1384
1381 HashSet<SVGUseElement*> m_useElementsNeedingUpdate; 1385 HashSet<SVGUseElement*> m_useElementsNeedingUpdate;
1382 HashSet<Element*> m_layerUpdateElements; 1386 HashSet<Element*> m_layerUpdateElements;
1383 1387
1384 bool m_hasViewportUnits; 1388 bool m_hasViewportUnits;
1385 1389
1386 typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<DocumentVisibilityObserver> > DocumentVisibilityObserverSet; 1390 typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<DocumentVisibilityObserver> > DocumentVisibilityObserverSet;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 inline bool Node::isDocumentNode() const 1447 inline bool Node::isDocumentNode() const
1444 { 1448 {
1445 return this == document(); 1449 return this == document();
1446 } 1450 }
1447 1451
1448 Node* eventTargetNodeForDocument(Document*); 1452 Node* eventTargetNodeForDocument(Document*);
1449 1453
1450 } // namespace WebCore 1454 } // namespace WebCore
1451 1455
1452 #endif // Document_h 1456 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698