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

Side by Side Diff: third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp

Issue 1978083002: Rename Pending to PendingScriptBlocking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/html/imports/HTMLImportTreeRoot.h" 5 #include "core/html/imports/HTMLImportTreeRoot.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/StyleEngine.h" 8 #include "core/dom/StyleEngine.h"
9 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/html/imports/HTMLImportChild.h" 10 #include "core/html/imports/HTMLImportChild.h"
(...skipping 26 matching lines...) Expand all
37 m_recalcTimer.stop(); 37 m_recalcTimer.stop();
38 } 38 }
39 39
40 Document* HTMLImportTreeRoot::document() const 40 Document* HTMLImportTreeRoot::document() const
41 { 41 {
42 return m_document; 42 return m_document;
43 } 43 }
44 44
45 bool HTMLImportTreeRoot::hasFinishedLoading() const 45 bool HTMLImportTreeRoot::hasFinishedLoading() const
46 { 46 {
47 return !m_document->parsing() && m_document->styleEngine().haveStylesheetsLo aded(); 47 return !m_document->parsing() && m_document->styleEngine().haveScriptBlockin gStylesheetsLoaded();
48 } 48 }
49 49
50 void HTMLImportTreeRoot::stateWillChange() 50 void HTMLImportTreeRoot::stateWillChange()
51 { 51 {
52 scheduleRecalcState(); 52 scheduleRecalcState();
53 } 53 }
54 54
55 void HTMLImportTreeRoot::stateDidChange() 55 void HTMLImportTreeRoot::stateDidChange()
56 { 56 {
57 HTMLImport::stateDidChange(); 57 HTMLImport::stateDidChange();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 DEFINE_TRACE(HTMLImportTreeRoot) 96 DEFINE_TRACE(HTMLImportTreeRoot)
97 { 97 {
98 visitor->trace(m_document); 98 visitor->trace(m_document);
99 visitor->trace(m_imports); 99 visitor->trace(m_imports);
100 HTMLImport::trace(visitor); 100 HTMLImport::trace(visitor);
101 } 101 }
102 102
103 } // namespace blink 103 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698