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

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

Issue 2430513003: Move some Document timers to frame-specific task runners. (Closed)
Patch Set: Created 4 years, 2 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
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 29 matching lines...) Expand all
40 #include "core/dom/DocumentTiming.h" 40 #include "core/dom/DocumentTiming.h"
41 #include "core/dom/ExecutionContext.h" 41 #include "core/dom/ExecutionContext.h"
42 #include "core/dom/MutationObserver.h" 42 #include "core/dom/MutationObserver.h"
43 #include "core/dom/TextLinkColors.h" 43 #include "core/dom/TextLinkColors.h"
44 #include "core/dom/TreeScope.h" 44 #include "core/dom/TreeScope.h"
45 #include "core/dom/UserActionElementSet.h" 45 #include "core/dom/UserActionElementSet.h"
46 #include "core/dom/ViewportDescription.h" 46 #include "core/dom/ViewportDescription.h"
47 #include "core/dom/custom/V0CustomElement.h" 47 #include "core/dom/custom/V0CustomElement.h"
48 #include "core/fetch/ClientHintsPreferences.h" 48 #include "core/fetch/ClientHintsPreferences.h"
49 #include "core/frame/DOMTimerCoordinator.h" 49 #include "core/frame/DOMTimerCoordinator.h"
50 #include "core/frame/FrameTimer.h"
50 #include "core/frame/HostsUsingFeatures.h" 51 #include "core/frame/HostsUsingFeatures.h"
51 #include "core/html/parser/ParserSynchronizationPolicy.h" 52 #include "core/html/parser/ParserSynchronizationPolicy.h"
52 #include "core/page/PageVisibilityState.h" 53 #include "core/page/PageVisibilityState.h"
53 #include "platform/Length.h" 54 #include "platform/Length.h"
54 #include "platform/Timer.h" 55 #include "platform/Timer.h"
55 #include "platform/weborigin/KURL.h" 56 #include "platform/weborigin/KURL.h"
56 #include "platform/weborigin/ReferrerPolicy.h" 57 #include "platform/weborigin/ReferrerPolicy.h"
57 #include "public/platform/WebFocusType.h" 58 #include "public/platform/WebFocusType.h"
58 #include "public/platform/WebInsecureRequestPolicy.h" 59 #include "public/platform/WebInsecureRequestPolicy.h"
59 #include "wtf/HashSet.h" 60 #include "wtf/HashSet.h"
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 LayoutView* m_layoutView; 1570 LayoutView* m_layoutView;
1570 1571
1571 WeakMember<Document> m_contextDocument; 1572 WeakMember<Document> m_contextDocument;
1572 1573
1573 // For early return in Fullscreen::fromIfExists() 1574 // For early return in Fullscreen::fromIfExists()
1574 bool m_hasFullscreenSupplement; 1575 bool m_hasFullscreenSupplement;
1575 1576
1576 HeapVector<Member<Element>> m_topLayerElements; 1577 HeapVector<Member<Element>> m_topLayerElements;
1577 1578
1578 int m_loadEventDelayCount; 1579 int m_loadEventDelayCount;
1579 Timer<Document> m_loadEventDelayTimer; 1580 FrameTimer<Document> m_loadEventDelayTimer;
1580 Timer<Document> m_pluginLoadingTimer; 1581 FrameTimer<Document> m_pluginLoadingTimer;
1581 1582
1582 ViewportDescription m_viewportDescription; 1583 ViewportDescription m_viewportDescription;
1583 ViewportDescription m_legacyViewportDescription; 1584 ViewportDescription m_legacyViewportDescription;
1584 Length m_viewportDefaultMinWidth; 1585 Length m_viewportDefaultMinWidth;
1585 1586
1586 ReferrerPolicy m_referrerPolicy; 1587 ReferrerPolicy m_referrerPolicy;
1587 1588
1588 DocumentTiming m_documentTiming; 1589 DocumentTiming m_documentTiming;
1589 Member<MediaQueryMatcher> m_mediaQueryMatcher; 1590 Member<MediaQueryMatcher> m_mediaQueryMatcher;
1590 bool m_writeRecursionIsTooDeep; 1591 bool m_writeRecursionIsTooDeep;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1691 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1691 1692
1692 } // namespace blink 1693 } // namespace blink
1693 1694
1694 #ifndef NDEBUG 1695 #ifndef NDEBUG
1695 // Outside the WebCore namespace for ease of invocation from gdb. 1696 // Outside the WebCore namespace for ease of invocation from gdb.
1696 CORE_EXPORT void showLiveDocumentInstances(); 1697 CORE_EXPORT void showLiveDocumentInstances();
1697 #endif 1698 #endif
1698 1699
1699 #endif // Document_h 1700 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698