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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |