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

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

Issue 2507673002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (2) (Closed)
Patch Set: address review comments Created 4 years, 1 month 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 | third_party/WebKit/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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "core/dom/ViewportDescription.h" 51 #include "core/dom/ViewportDescription.h"
52 #include "core/dom/custom/V0CustomElement.h" 52 #include "core/dom/custom/V0CustomElement.h"
53 #include "core/fetch/ClientHintsPreferences.h" 53 #include "core/fetch/ClientHintsPreferences.h"
54 #include "core/frame/DOMTimerCoordinator.h" 54 #include "core/frame/DOMTimerCoordinator.h"
55 #include "core/frame/HostsUsingFeatures.h" 55 #include "core/frame/HostsUsingFeatures.h"
56 #include "core/html/parser/ParserSynchronizationPolicy.h" 56 #include "core/html/parser/ParserSynchronizationPolicy.h"
57 #include "core/page/PageVisibilityState.h" 57 #include "core/page/PageVisibilityState.h"
58 #include "core/style/ComputedStyle.h" 58 #include "core/style/ComputedStyle.h"
59 #include "platform/Length.h" 59 #include "platform/Length.h"
60 #include "platform/Timer.h" 60 #include "platform/Timer.h"
61 #include "platform/WebTaskRunner.h"
61 #include "platform/weborigin/KURL.h" 62 #include "platform/weborigin/KURL.h"
62 #include "platform/weborigin/ReferrerPolicy.h" 63 #include "platform/weborigin/ReferrerPolicy.h"
63 #include "public/platform/WebFocusType.h" 64 #include "public/platform/WebFocusType.h"
64 #include "public/platform/WebInsecureRequestPolicy.h" 65 #include "public/platform/WebInsecureRequestPolicy.h"
65 #include "wtf/HashSet.h" 66 #include "wtf/HashSet.h"
66 #include "wtf/PassRefPtr.h" 67 #include "wtf/PassRefPtr.h"
67 #include <memory> 68 #include <memory>
68 69
69 namespace blink { 70 namespace blink {
70 71
71 class AnimationClock; 72 class AnimationClock;
72 class DocumentTimeline; 73 class DocumentTimeline;
73 class AXObjectCache; 74 class AXObjectCache;
74 class Attr; 75 class Attr;
75 class CDATASection; 76 class CDATASection;
76 class CSSStyleSheet; 77 class CSSStyleSheet;
77 class CancellableTaskFactory;
78 class CanvasFontCache; 78 class CanvasFontCache;
79 class CharacterData; 79 class CharacterData;
80 class ChromeClient; 80 class ChromeClient;
81 class CompositorPendingAnimations; 81 class CompositorPendingAnimations;
82 class Comment; 82 class Comment;
83 class ConsoleMessage; 83 class ConsoleMessage;
84 class ContextFeatures; 84 class ContextFeatures;
85 class V0CustomElementMicrotaskRunQueue; 85 class V0CustomElementMicrotaskRunQueue;
86 class V0CustomElementRegistrationContext; 86 class V0CustomElementRegistrationContext;
87 class DOMImplementation; 87 class DOMImplementation;
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 1466
1467 Member<CSSStyleSheet> m_elemSheet; 1467 Member<CSSStyleSheet> m_elemSheet;
1468 1468
1469 PrintingState m_printing; 1469 PrintingState m_printing;
1470 bool m_paginatedForScreen; 1470 bool m_paginatedForScreen;
1471 1471
1472 CompatibilityMode m_compatibilityMode; 1472 CompatibilityMode m_compatibilityMode;
1473 // This is cheaper than making setCompatibilityMode virtual. 1473 // This is cheaper than making setCompatibilityMode virtual.
1474 bool m_compatibilityModeLocked; 1474 bool m_compatibilityModeLocked;
1475 1475
1476 std::unique_ptr<CancellableTaskFactory> 1476 TaskHandle m_executeScriptsWaitingForResourcesTaskHandle;
1477 m_executeScriptsWaitingForResourcesTask;
1478 1477
1479 bool m_hasAutofocused; 1478 bool m_hasAutofocused;
1480 TaskRunnerTimer<Document> m_clearFocusedElementTimer; 1479 TaskRunnerTimer<Document> m_clearFocusedElementTimer;
1481 Member<Element> m_autofocusElement; 1480 Member<Element> m_autofocusElement;
1482 Member<Element> m_focusedElement; 1481 Member<Element> m_focusedElement;
1483 Member<Range> m_sequentialFocusNavigationStartingPoint; 1482 Member<Range> m_sequentialFocusNavigationStartingPoint;
1484 Member<Node> m_hoverNode; 1483 Member<Node> m_hoverNode;
1485 Member<Element> m_activeHoverElement; 1484 Member<Element> m_activeHoverElement;
1486 Member<Element> m_documentElement; 1485 Member<Element> m_documentElement;
1487 UserActionElementSet m_userActionElements; 1486 UserActionElementSet m_userActionElements;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1713 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1714 1713
1715 } // namespace blink 1714 } // namespace blink
1716 1715
1717 #ifndef NDEBUG 1716 #ifndef NDEBUG
1718 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1719 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1720 #endif 1719 #endif
1721 1720
1722 #endif // Document_h 1721 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698