| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |