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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 void hoveredNodeDetached(Node*); | 623 void hoveredNodeDetached(Node*); |
624 void activeChainNodeDetached(Node*); | 624 void activeChainNodeDetached(Node*); |
625 | 625 |
626 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM
ouseEvent* = 0); | 626 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM
ouseEvent* = 0); |
627 | 627 |
628 // Updates for :target (CSS3 selector). | 628 // Updates for :target (CSS3 selector). |
629 void setCSSTarget(Element*); | 629 void setCSSTarget(Element*); |
630 Element* cssTarget() const { return m_cssTarget; } | 630 Element* cssTarget() const { return m_cssTarget; } |
631 | 631 |
632 void scheduleStyleRecalc(); | 632 void scheduleStyleRecalc(); |
633 void unscheduleStyleRecalc(); | |
634 bool hasPendingStyleRecalc() const; | |
635 bool hasPendingForcedStyleRecalc() const; | 633 bool hasPendingForcedStyleRecalc() const; |
636 void styleRecalcTimerFired(Timer<Document>*); | |
637 | 634 |
638 void registerNodeList(LiveNodeListBase*); | 635 void registerNodeList(LiveNodeListBase*); |
639 void unregisterNodeList(LiveNodeListBase*); | 636 void unregisterNodeList(LiveNodeListBase*); |
640 bool shouldInvalidateNodeListCaches(const QualifiedName* attrName = 0) const
; | 637 bool shouldInvalidateNodeListCaches(const QualifiedName* attrName = 0) const
; |
641 void invalidateNodeListCaches(const QualifiedName* attrName); | 638 void invalidateNodeListCaches(const QualifiedName* attrName); |
642 | 639 |
643 void attachNodeIterator(NodeIterator*); | 640 void attachNodeIterator(NodeIterator*); |
644 void detachNodeIterator(NodeIterator*); | 641 void detachNodeIterator(NodeIterator*); |
645 void moveNodeIteratorsToNewDocument(Node&, Document&); | 642 void moveNodeIteratorsToNewDocument(Node&, Document&); |
646 | 643 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 friend class IgnoreDestructiveWriteCountIncrementer; | 1033 friend class IgnoreDestructiveWriteCountIncrementer; |
1037 | 1034 |
1038 ScriptedAnimationController& ensureScriptedAnimationController(); | 1035 ScriptedAnimationController& ensureScriptedAnimationController(); |
1039 virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; } | 1036 virtual SecurityContext& securityContext() OVERRIDE FINAL { return *this; } |
1040 virtual EventQueue* eventQueue() const OVERRIDE FINAL; | 1037 virtual EventQueue* eventQueue() const OVERRIDE FINAL; |
1041 | 1038 |
1042 void updateDistributionIfNeeded(); | 1039 void updateDistributionIfNeeded(); |
1043 | 1040 |
1044 void updateUseShadowTrees(); | 1041 void updateUseShadowTrees(); |
1045 | 1042 |
| 1043 void unscheduleStyleRecalc(); |
| 1044 void styleRecalcTimerFired(Timer<Document>*); |
| 1045 |
1046 void detachParser(); | 1046 void detachParser(); |
1047 | 1047 |
1048 virtual bool isDocument() const OVERRIDE FINAL { return true; } | 1048 virtual bool isDocument() const OVERRIDE FINAL { return true; } |
1049 | 1049 |
1050 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 1050 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
1051 | 1051 |
1052 virtual String nodeName() const OVERRIDE FINAL; | 1052 virtual String nodeName() const OVERRIDE FINAL; |
1053 virtual NodeType nodeType() const OVERRIDE FINAL; | 1053 virtual NodeType nodeType() const OVERRIDE FINAL; |
1054 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; | 1054 virtual bool childTypeAllowed(NodeType) const OVERRIDE FINAL; |
1055 virtual PassRefPtr<Node> cloneNode(bool deep = true) OVERRIDE FINAL; | 1055 virtual PassRefPtr<Node> cloneNode(bool deep = true) OVERRIDE FINAL; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 inline bool Node::isDocumentNode() const | 1354 inline bool Node::isDocumentNode() const |
1355 { | 1355 { |
1356 return this == document(); | 1356 return this == document(); |
1357 } | 1357 } |
1358 | 1358 |
1359 Node* eventTargetNodeForDocument(Document*); | 1359 Node* eventTargetNodeForDocument(Document*); |
1360 | 1360 |
1361 } // namespace WebCore | 1361 } // namespace WebCore |
1362 | 1362 |
1363 #endif // Document_h | 1363 #endif // Document_h |
OLD | NEW |