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

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

Issue 2614663004: Pause HTML parser for external stylesheets in the body (Closed)
Patch Set: Fixed interaction with imports Created 3 years, 11 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, 1159 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&,
1160 LayoutObject&); 1160 LayoutObject&);
1161 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&); 1161 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&);
1162 1162
1163 void setContextFeatures(ContextFeatures&); 1163 void setContextFeatures(ContextFeatures&);
1164 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } 1164 ContextFeatures& contextFeatures() const { return *m_contextFeatures; }
1165 1165
1166 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } 1166 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); }
1167 1167
1168 void didLoadAllScriptBlockingResources(); 1168 void didLoadAllScriptBlockingResources();
1169 void didAddPendingStylesheetInBody();
1169 void didRemoveAllPendingStylesheet(); 1170 void didRemoveAllPendingStylesheet();
1170 1171
1171 bool inStyleRecalc() const { 1172 bool inStyleRecalc() const {
1172 return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc; 1173 return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc;
1173 } 1174 }
1174 1175
1175 // Return a Locale for the default locale if the argument is null or empty. 1176 // Return a Locale for the default locale if the argument is null or empty.
1176 Locale& getCachedLocale(const AtomicString& locale = nullAtom); 1177 Locale& getCachedLocale(const AtomicString& locale = nullAtom);
1177 1178
1178 AnimationClock& animationClock(); 1179 AnimationClock& animationClock();
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1720 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1720 1721
1721 } // namespace blink 1722 } // namespace blink
1722 1723
1723 #ifndef NDEBUG 1724 #ifndef NDEBUG
1724 // Outside the WebCore namespace for ease of invocation from gdb. 1725 // Outside the WebCore namespace for ease of invocation from gdb.
1725 CORE_EXPORT void showLiveDocumentInstances(); 1726 CORE_EXPORT void showLiveDocumentInstances();
1726 #endif 1727 #endif
1727 1728
1728 #endif // Document_h 1729 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698