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

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: Paramaterized test cases 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, 1161 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&,
1162 LayoutObject&); 1162 LayoutObject&);
1163 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&); 1163 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&);
1164 1164
1165 void setContextFeatures(ContextFeatures&); 1165 void setContextFeatures(ContextFeatures&);
1166 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } 1166 ContextFeatures& contextFeatures() const { return *m_contextFeatures; }
1167 1167
1168 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } 1168 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); }
1169 1169
1170 void didLoadAllScriptBlockingResources(); 1170 void didLoadAllScriptBlockingResources();
1171 void didAddPendingStylesheetInBody();
1171 void didRemoveAllPendingStylesheet(); 1172 void didRemoveAllPendingStylesheet();
1173 void didRemoveAllPendingBodyStylesheets();
1172 1174
1173 bool inStyleRecalc() const { 1175 bool inStyleRecalc() const {
1174 return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc; 1176 return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc;
1175 } 1177 }
1176 1178
1177 // Return a Locale for the default locale if the argument is null or empty. 1179 // Return a Locale for the default locale if the argument is null or empty.
1178 Locale& getCachedLocale(const AtomicString& locale = nullAtom); 1180 Locale& getCachedLocale(const AtomicString& locale = nullAtom);
1179 1181
1180 AnimationClock& animationClock(); 1182 AnimationClock& animationClock();
1181 DocumentTimeline& timeline() const { return *m_timeline; } 1183 DocumentTimeline& timeline() const { return *m_timeline; }
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1723 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1722 1724
1723 } // namespace blink 1725 } // namespace blink
1724 1726
1725 #ifndef NDEBUG 1727 #ifndef NDEBUG
1726 // Outside the WebCore namespace for ease of invocation from gdb. 1728 // Outside the WebCore namespace for ease of invocation from gdb.
1727 CORE_EXPORT void showLiveDocumentInstances(); 1729 CORE_EXPORT void showLiveDocumentInstances();
1728 #endif 1730 #endif
1729 1731
1730 #endif // Document_h 1732 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698