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

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

Issue 2543723005: Remove MainThreadTaskRunner (Closed)
Patch Set: rebase Created 4 years 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
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 class IdleRequestOptions; 126 class IdleRequestOptions;
127 class IntersectionObserverController; 127 class IntersectionObserverController;
128 class LayoutPoint; 128 class LayoutPoint;
129 class LayoutView; 129 class LayoutView;
130 class LayoutViewItem; 130 class LayoutViewItem;
131 class LiveNodeListBase; 131 class LiveNodeListBase;
132 class LocalDOMWindow; 132 class LocalDOMWindow;
133 class Locale; 133 class Locale;
134 class LocalFrame; 134 class LocalFrame;
135 class Location; 135 class Location;
136 class MainThreadTaskRunner;
137 class MediaQueryListListener; 136 class MediaQueryListListener;
138 class MediaQueryMatcher; 137 class MediaQueryMatcher;
139 class NodeFilter; 138 class NodeFilter;
140 class NodeIntersectionObserverData; 139 class NodeIntersectionObserverData;
141 class NodeIterator; 140 class NodeIterator;
142 class NthIndexCache; 141 class NthIndexCache;
143 class OriginAccessEntry; 142 class OriginAccessEntry;
144 class Page; 143 class Page;
145 class PlatformMouseEvent; 144 class PlatformMouseEvent;
146 class ProcessingInstruction; 145 class ProcessingInstruction;
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 void setNthIndexCache(NthIndexCache* nthIndexCache) { 1414 void setNthIndexCache(NthIndexCache* nthIndexCache) {
1416 DCHECK(!m_nthIndexCache || !nthIndexCache); 1415 DCHECK(!m_nthIndexCache || !nthIndexCache);
1417 m_nthIndexCache = nthIndexCache; 1416 m_nthIndexCache = nthIndexCache;
1418 } 1417 }
1419 1418
1420 const OriginAccessEntry& accessEntryFromURL(); 1419 const OriginAccessEntry& accessEntryFromURL();
1421 1420
1422 void sendSensitiveInputVisibility(); 1421 void sendSensitiveInputVisibility();
1423 void sendSensitiveInputVisibilityInternal(); 1422 void sendSensitiveInputVisibilityInternal();
1424 1423
1424 void runExecutionContextTask(std::unique_ptr<ExecutionContextTask>,
1425 bool instrumenting);
1426
1425 DocumentLifecycle m_lifecycle; 1427 DocumentLifecycle m_lifecycle;
1426 1428
1427 bool m_hasNodesWithPlaceholderStyle; 1429 bool m_hasNodesWithPlaceholderStyle;
1428 bool m_evaluateMediaQueriesOnStyleRecalc; 1430 bool m_evaluateMediaQueriesOnStyleRecalc;
1429 1431
1430 // If we do ignore the pending stylesheet count, then we need to add a boolean 1432 // If we do ignore the pending stylesheet count, then we need to add a boolean
1431 // to track that this happened so that we can do a full repaint when the 1433 // to track that this happened so that we can do a full repaint when the
1432 // stylesheets do eventually load. 1434 // stylesheets do eventually load.
1433 PendingSheetLayout m_pendingSheetLayout; 1435 PendingSheetLayout m_pendingSheetLayout;
1434 1436
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 1605
1604 ReferrerPolicy m_referrerPolicy; 1606 ReferrerPolicy m_referrerPolicy;
1605 1607
1606 DocumentTiming m_documentTiming; 1608 DocumentTiming m_documentTiming;
1607 Member<MediaQueryMatcher> m_mediaQueryMatcher; 1609 Member<MediaQueryMatcher> m_mediaQueryMatcher;
1608 bool m_writeRecursionIsTooDeep; 1610 bool m_writeRecursionIsTooDeep;
1609 unsigned m_writeRecursionDepth; 1611 unsigned m_writeRecursionDepth;
1610 1612
1611 Member<ScriptedAnimationController> m_scriptedAnimationController; 1613 Member<ScriptedAnimationController> m_scriptedAnimationController;
1612 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController; 1614 Member<ScriptedIdleTaskController> m_scriptedIdleTaskController;
1613 std::unique_ptr<MainThreadTaskRunner> m_taskRunner;
1614 Member<TextAutosizer> m_textAutosizer; 1615 Member<TextAutosizer> m_textAutosizer;
1615 1616
1616 Member<V0CustomElementRegistrationContext> m_registrationContext; 1617 Member<V0CustomElementRegistrationContext> m_registrationContext;
1617 Member<V0CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; 1618 Member<V0CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue;
1618 1619
1619 void elementDataCacheClearTimerFired(TimerBase*); 1620 void elementDataCacheClearTimerFired(TimerBase*);
1620 TaskRunnerTimer<Document> m_elementDataCacheClearTimer; 1621 TaskRunnerTimer<Document> m_elementDataCacheClearTimer;
1621 1622
1622 Member<ElementDataCache> m_elementDataCache; 1623 Member<ElementDataCache> m_elementDataCache;
1623 1624
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1712 1713
1713 } // namespace blink 1714 } // namespace blink
1714 1715
1715 #ifndef NDEBUG 1716 #ifndef NDEBUG
1716 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1717 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1718 #endif 1719 #endif
1719 1720
1720 #endif // Document_h 1721 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698