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

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

Issue 2133623002: Introduce Document::unthrottledTaskRunner() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 5 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 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 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 { 1067 {
1068 DCHECK_GT(m_nodeCount, 0); 1068 DCHECK_GT(m_nodeCount, 0);
1069 m_nodeCount--; 1069 m_nodeCount--;
1070 } 1070 }
1071 int nodeCount() const { return m_nodeCount; } 1071 int nodeCount() const { return m_nodeCount; }
1072 1072
1073 SnapCoordinator* snapCoordinator(); 1073 SnapCoordinator* snapCoordinator();
1074 1074
1075 WebTaskRunner* loadingTaskRunner() const; 1075 WebTaskRunner* loadingTaskRunner() const;
1076 WebTaskRunner* timerTaskRunner() const; 1076 WebTaskRunner* timerTaskRunner() const;
1077 WebTaskRunner* unthrottledTaskRunner() const;
1077 1078
1078 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy); 1079 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy);
1079 1080
1080 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1081 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1081 1082
1082 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1083 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1083 void setShadowCascadeOrder(ShadowCascadeOrder); 1084 void setShadowCascadeOrder(ShadowCascadeOrder);
1084 1085
1085 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas cadeOrder::ShadowCascadeV1; } 1086 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas cadeOrder::ShadowCascadeV1; }
1086 1087
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1462 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1462 1463
1463 } // namespace blink 1464 } // namespace blink
1464 1465
1465 #ifndef NDEBUG 1466 #ifndef NDEBUG
1466 // Outside the WebCore namespace for ease of invocation from gdb. 1467 // Outside the WebCore namespace for ease of invocation from gdb.
1467 CORE_EXPORT void showLiveDocumentInstances(); 1468 CORE_EXPORT void showLiveDocumentInstances();
1468 #endif 1469 #endif
1469 1470
1470 #endif // Document_h 1471 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698