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

Side by Side Diff: sky/engine/core/html/imports/HTMLImportLoader.h

Issue 849773002: Remove didRemoveAllPendingStylesheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/html/imports/HTMLImportLoader.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool shouldBlockScriptExecution() const; 78 bool shouldBlockScriptExecution() const;
79 79
80 #if !ENABLE(OILPAN) 80 #if !ENABLE(OILPAN)
81 void importDestroyed(); 81 void importDestroyed();
82 #endif 82 #endif
83 void startLoading(const KURL&); 83 void startLoading(const KURL&);
84 84
85 // Tells the loader that the parser is done with this import. 85 // Tells the loader that the parser is done with this import.
86 // Called by Document::finishedParsing, after DOMContentLoaded was dispatche d. 86 // Called by Document::finishedParsing, after DOMContentLoaded was dispatche d.
87 void didFinishParsing(); 87 void didFinishParsing();
88 // Tells the loader that all of the import's stylesheets finished
89 // loading.
90 // Called by Document::didRemoveAllPendingStylesheet.
91 void didRemoveAllPendingStylesheet();
92 88
93 PassRefPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() const; 89 PassRefPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() const;
94 90
95 private: 91 private:
96 HTMLImportLoader(HTMLImportsController*); 92 HTMLImportLoader(HTMLImportsController*);
97 93
98 // MojoFetcher::Client 94 // MojoFetcher::Client
99 void OnReceivedResponse(mojo::URLResponsePtr) override; 95 void OnReceivedResponse(mojo::URLResponsePtr) override;
100 96
101 State startWritingAndParsing(mojo::URLResponsePtr); 97 State startWritingAndParsing(mojo::URLResponsePtr);
(...skipping 13 matching lines...) Expand all
115 RefPtr<Module> m_module; 111 RefPtr<Module> m_module;
116 RefPtr<Document> m_document; 112 RefPtr<Document> m_document;
117 RefPtr<CustomElementSyncMicrotaskQueue> m_microtaskQueue; 113 RefPtr<CustomElementSyncMicrotaskQueue> m_microtaskQueue;
118 114
119 OwnPtr<MojoFetcher> m_fetcher; 115 OwnPtr<MojoFetcher> m_fetcher;
120 }; 116 };
121 117
122 } // namespace blink 118 } // namespace blink
123 119
124 #endif // SKY_ENGINE_CORE_HTML_IMPORTS_HTMLIMPORTLOADER_H_ 120 #endif // SKY_ENGINE_CORE_HTML_IMPORTS_HTMLIMPORTLOADER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/html/imports/HTMLImportLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698