| 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 | 524 |
| 525 void adjustFloatQuadsForScroll(Vector<FloatQuad>&); | 525 void adjustFloatQuadsForScroll(Vector<FloatQuad>&); |
| 526 void adjustFloatRectForScroll(FloatRect&); | 526 void adjustFloatRectForScroll(FloatRect&); |
| 527 | 527 |
| 528 unsigned activeParserCount() { return m_activeParserCount; } | 528 unsigned activeParserCount() { return m_activeParserCount; } |
| 529 void incrementActiveParserCount() { ++m_activeParserCount; } | 529 void incrementActiveParserCount() { ++m_activeParserCount; } |
| 530 void decrementActiveParserCount(); | 530 void decrementActiveParserCount(); |
| 531 | 531 |
| 532 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } | 532 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } |
| 533 | 533 |
| 534 void didLoadAllScriptBlockingResources(); | 534 void didLoadAllParserBlockingResources(); |
| 535 void didRemoveAllPendingStylesheet(); | 535 void didRemoveAllPendingStylesheet(); |
| 536 void clearStyleResolver(); | 536 void clearStyleResolver(); |
| 537 | 537 |
| 538 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } | 538 bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle
::InStyleRecalc; } |
| 539 | 539 |
| 540 AnimationClock& animationClock() { return m_animationClock; } | 540 AnimationClock& animationClock() { return m_animationClock; } |
| 541 AnimationTimeline& timeline() const { return *m_timeline; } | 541 AnimationTimeline& timeline() const { return *m_timeline; } |
| 542 PendingAnimations& pendingAnimations() { return m_pendingAnimations; } | 542 PendingAnimations& pendingAnimations() { return m_pendingAnimations; } |
| 543 | 543 |
| 544 // A non-null m_templateDocumentHost implies that |this| was created by ensu
reTemplateDocument(). | 544 // A non-null m_templateDocumentHost implies that |this| was created by ensu
reTemplateDocument(). |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 virtual const KURL& virtualURL() const override final; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. | 627 virtual const KURL& virtualURL() const override final; // Same as url(), but
needed for ExecutionContext to implement it without a performance loss for dire
ct calls. |
| 628 virtual KURL virtualCompleteURL(const String&) const override final; // Same
as completeURL() for the same reason as above. | 628 virtual KURL virtualCompleteURL(const String&) const override final; // Same
as completeURL() for the same reason as above. |
| 629 | 629 |
| 630 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) override final; | 630 virtual void reportBlockedScriptExecutionToInspector(const String& directive
Text) override final; |
| 631 | 631 |
| 632 virtual double timerAlignmentInterval() const override final; | 632 virtual double timerAlignmentInterval() const override final; |
| 633 | 633 |
| 634 void updateTitle(const String&); | 634 void updateTitle(const String&); |
| 635 void updateBaseURL(); | 635 void updateBaseURL(); |
| 636 | 636 |
| 637 void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*); | 637 void resumeParserWaitingForResourcesTimerFired(Timer<Document>*); |
| 638 | 638 |
| 639 void loadEventDelayTimerFired(Timer<Document>*); | 639 void loadEventDelayTimerFired(Timer<Document>*); |
| 640 | 640 |
| 641 PageVisibilityState pageVisibilityState() const; | 641 PageVisibilityState pageVisibilityState() const; |
| 642 | 642 |
| 643 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from | 643 // Note that dispatching a window load event may cause the LocalDOMWindow to
be detached from |
| 644 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to | 644 // the LocalFrame, so callers should take a reference to the LocalDOMWindow
(which owns us) to |
| 645 // prevent the Document from getting blown away from underneath them. | 645 // prevent the Document from getting blown away from underneath them. |
| 646 void dispatchWindowLoadEvent(); | 646 void dispatchWindowLoadEvent(); |
| 647 | 647 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 | 680 |
| 681 // Document URLs. | 681 // Document URLs. |
| 682 KURL m_url; // Document.URL: The URL from which this document was retrieved. | 682 KURL m_url; // Document.URL: The URL from which this document was retrieved. |
| 683 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. | 683 KURL m_baseURL; // Node.baseURI: The URL to use when resolving relative URLs
. |
| 684 | 684 |
| 685 // Mime-type of the document in case it was cloned or created by XHR. | 685 // Mime-type of the document in case it was cloned or created by XHR. |
| 686 AtomicString m_mimeType; | 686 AtomicString m_mimeType; |
| 687 | 687 |
| 688 RefPtr<CSSStyleSheet> m_elemSheet; | 688 RefPtr<CSSStyleSheet> m_elemSheet; |
| 689 | 689 |
| 690 Timer<Document> m_executeScriptsWaitingForResourcesTimer; | 690 Timer<Document> m_resumeParserWaitingForResourcesTimer; |
| 691 | 691 |
| 692 Timer<Document> m_clearFocusedElementTimer; | 692 Timer<Document> m_clearFocusedElementTimer; |
| 693 RefPtr<Element> m_focusedElement; | 693 RefPtr<Element> m_focusedElement; |
| 694 RefPtr<Node> m_hoverNode; | 694 RefPtr<Node> m_hoverNode; |
| 695 RefPtr<Element> m_activeHoverElement; | 695 RefPtr<Element> m_activeHoverElement; |
| 696 RefPtr<Element> m_documentElement; | 696 RefPtr<Element> m_documentElement; |
| 697 UserActionElementSet m_userActionElements; | 697 UserActionElementSet m_userActionElements; |
| 698 | 698 |
| 699 typedef HashSet<RawPtr<Range> > AttachedRangeSet; | 699 typedef HashSet<RawPtr<Range> > AttachedRangeSet; |
| 700 AttachedRangeSet m_ranges; | 700 AttachedRangeSet m_ranges; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 Node* eventTargetNodeForDocument(Document*); | 806 Node* eventTargetNodeForDocument(Document*); |
| 807 | 807 |
| 808 } // namespace blink | 808 } // namespace blink |
| 809 | 809 |
| 810 #ifndef NDEBUG | 810 #ifndef NDEBUG |
| 811 // Outside the WebCore namespace for ease of invocation from gdb. | 811 // Outside the WebCore namespace for ease of invocation from gdb. |
| 812 void showLiveDocumentInstances(); | 812 void showLiveDocumentInstances(); |
| 813 #endif | 813 #endif |
| 814 | 814 |
| 815 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ | 815 #endif // SKY_ENGINE_CORE_DOM_DOCUMENT_H_ |
| OLD | NEW |