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

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

Issue 10689138: Merge 120868 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | Source/WebCore/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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 Element* cssTarget() const { return m_cssTarget; } 707 Element* cssTarget() const { return m_cssTarget; }
708 708
709 void scheduleForcedStyleRecalc(); 709 void scheduleForcedStyleRecalc();
710 void scheduleStyleRecalc(); 710 void scheduleStyleRecalc();
711 void unscheduleStyleRecalc(); 711 void unscheduleStyleRecalc();
712 bool isPendingStyleRecalc() const; 712 bool isPendingStyleRecalc() const;
713 void styleRecalcTimerFired(Timer<Document>*); 713 void styleRecalcTimerFired(Timer<Document>*);
714 714
715 void registerDynamicSubtreeNodeList(DynamicSubtreeNodeList*); 715 void registerDynamicSubtreeNodeList(DynamicSubtreeNodeList*);
716 void unregisterDynamicSubtreeNodeList(DynamicSubtreeNodeList*); 716 void unregisterDynamicSubtreeNodeList(DynamicSubtreeNodeList*);
717 void clearNodeListCaches();
717 718
718 void attachNodeIterator(NodeIterator*); 719 void attachNodeIterator(NodeIterator*);
719 void detachNodeIterator(NodeIterator*); 720 void detachNodeIterator(NodeIterator*);
720 void moveNodeIteratorsToNewDocument(Node*, Document*); 721 void moveNodeIteratorsToNewDocument(Node*, Document*);
721 722
722 void attachRange(Range*); 723 void attachRange(Range*);
723 void detachRange(Range*); 724 void detachRange(Range*);
724 725
725 void updateRangesAfterChildrenChanged(ContainerNode*); 726 void updateRangesAfterChildrenChanged(ContainerNode*);
726 // nodeChildrenWillBeRemoved is used when removing all node children at once . 727 // nodeChildrenWillBeRemoved is used when removing all node children at once .
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 String m_contentLanguage; 1387 String m_contentLanguage;
1387 1388
1388 RenderObject* m_savedRenderer; 1389 RenderObject* m_savedRenderer;
1389 1390
1390 RefPtr<TextResourceDecoder> m_decoder; 1391 RefPtr<TextResourceDecoder> m_decoder;
1391 1392
1392 InheritedBool m_designMode; 1393 InheritedBool m_designMode;
1393 1394
1394 OwnPtr<HTMLCollection> m_collections[NumUnnamedDocumentCachedTypes]; 1395 OwnPtr<HTMLCollection> m_collections[NumUnnamedDocumentCachedTypes];
1395 OwnPtr<HTMLAllCollection> m_allCollection; 1396 OwnPtr<HTMLAllCollection> m_allCollection;
1397 HashSet<DynamicSubtreeNodeList*> m_listsInvalidatedAtDocument;
1396 1398
1397 typedef HashMap<AtomicStringImpl*, OwnPtr<HTMLNameCollection> > NamedCollect ionMap; 1399 typedef HashMap<AtomicStringImpl*, OwnPtr<HTMLNameCollection> > NamedCollect ionMap;
1398 NamedCollectionMap m_documentNamedItemCollections; 1400 NamedCollectionMap m_documentNamedItemCollections;
1399 NamedCollectionMap m_windowNamedItemCollections; 1401 NamedCollectionMap m_windowNamedItemCollections;
1400 1402
1401 RefPtr<XPathEvaluator> m_xpathEvaluator; 1403 RefPtr<XPathEvaluator> m_xpathEvaluator;
1402 1404
1403 #if ENABLE(SVG) 1405 #if ENABLE(SVG)
1404 OwnPtr<SVGDocumentExtensions> m_svgExtensions; 1406 OwnPtr<SVGDocumentExtensions> m_svgExtensions;
1405 #endif 1407 #endif
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 trackForDebugging(); 1520 trackForDebugging();
1519 #endif 1521 #endif
1520 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1522 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1521 } 1523 }
1522 1524
1523 Node* eventTargetNodeForDocument(Document*); 1525 Node* eventTargetNodeForDocument(Document*);
1524 1526
1525 } // namespace WebCore 1527 } // namespace WebCore
1526 1528
1527 #endif // Document_h 1529 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698