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

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

Issue 2534803002: Move InspectorTask handling from MainThreadTaskRunner to Document (Closed)
Patch Set: s/wrapWeakPersistent/wrapCrossThreadWeakPersistent/ 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 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 using EventFactorySet = HashSet<std::unique_ptr<EventFactoryBase>>; 1423 using EventFactorySet = HashSet<std::unique_ptr<EventFactoryBase>>;
1424 static EventFactorySet& eventFactories(); 1424 static EventFactorySet& eventFactories();
1425 1425
1426 void setNthIndexCache(NthIndexCache* nthIndexCache) { 1426 void setNthIndexCache(NthIndexCache* nthIndexCache) {
1427 DCHECK(!m_nthIndexCache || !nthIndexCache); 1427 DCHECK(!m_nthIndexCache || !nthIndexCache);
1428 m_nthIndexCache = nthIndexCache; 1428 m_nthIndexCache = nthIndexCache;
1429 } 1429 }
1430 1430
1431 const OriginAccessEntry& accessEntryFromURL(); 1431 const OriginAccessEntry& accessEntryFromURL();
1432 1432
1433 void performInspectorTask(std::unique_ptr<ExecutionContextTask>);
1434
1433 DocumentLifecycle m_lifecycle; 1435 DocumentLifecycle m_lifecycle;
1434 1436
1435 bool m_hasNodesWithPlaceholderStyle; 1437 bool m_hasNodesWithPlaceholderStyle;
1436 bool m_evaluateMediaQueriesOnStyleRecalc; 1438 bool m_evaluateMediaQueriesOnStyleRecalc;
1437 1439
1438 // If we do ignore the pending stylesheet count, then we need to add a boolean 1440 // If we do ignore the pending stylesheet count, then we need to add a boolean
1439 // to track that this happened so that we can do a full repaint when the 1441 // to track that this happened so that we can do a full repaint when the
1440 // stylesheets do eventually load. 1442 // stylesheets do eventually load.
1441 PendingSheetLayout m_pendingSheetLayout; 1443 PendingSheetLayout m_pendingSheetLayout;
1442 1444
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1718 1720
1719 } // namespace blink 1721 } // namespace blink
1720 1722
1721 #ifndef NDEBUG 1723 #ifndef NDEBUG
1722 // Outside the WebCore namespace for ease of invocation from gdb. 1724 // Outside the WebCore namespace for ease of invocation from gdb.
1723 CORE_EXPORT void showLiveDocumentInstances(); 1725 CORE_EXPORT void showLiveDocumentInstances();
1724 #endif 1726 #endif
1725 1727
1726 #endif // Document_h 1728 #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