| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // Tells the loader that the parser is done with this import. | 86 // Tells the loader that the parser is done with this import. |
| 87 // Called by Document::finishedParsing, after DOMContentLoaded was dispatche
d. | 87 // Called by Document::finishedParsing, after DOMContentLoaded was dispatche
d. |
| 88 void didFinishParsing(); | 88 void didFinishParsing(); |
| 89 // Tells the loader that all of the import's stylesheets finished | 89 // Tells the loader that all of the import's stylesheets finished |
| 90 // loading. | 90 // loading. |
| 91 // Called by Document::didRemoveAllPendingStylesheet. | 91 // Called by Document::didRemoveAllPendingStylesheet. |
| 92 void didRemoveAllPendingStylesheet(); | 92 void didRemoveAllPendingStylesheet(); |
| 93 | 93 |
| 94 PassRefPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() const; | 94 PassRefPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() const; |
| 95 | 95 |
| 96 virtual void trace(Visitor*); | |
| 97 | |
| 98 private: | 96 private: |
| 99 HTMLImportLoader(HTMLImportsController*); | 97 HTMLImportLoader(HTMLImportsController*); |
| 100 | 98 |
| 101 // MojoFetcher::Client | 99 // MojoFetcher::Client |
| 102 void OnReceivedResponse(mojo::URLResponsePtr) override; | 100 void OnReceivedResponse(mojo::URLResponsePtr) override; |
| 103 | 101 |
| 104 State startWritingAndParsing(mojo::URLResponsePtr); | 102 State startWritingAndParsing(mojo::URLResponsePtr); |
| 105 State finishWriting(); | 103 State finishWriting(); |
| 106 State finishParsing(); | 104 State finishParsing(); |
| 107 State finishLoading(); | 105 State finishLoading(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 118 RefPtr<Module> m_module; | 116 RefPtr<Module> m_module; |
| 119 RefPtr<Document> m_document; | 117 RefPtr<Document> m_document; |
| 120 RefPtr<CustomElementSyncMicrotaskQueue> m_microtaskQueue; | 118 RefPtr<CustomElementSyncMicrotaskQueue> m_microtaskQueue; |
| 121 | 119 |
| 122 OwnPtr<MojoFetcher> m_fetcher; | 120 OwnPtr<MojoFetcher> m_fetcher; |
| 123 }; | 121 }; |
| 124 | 122 |
| 125 } // namespace blink | 123 } // namespace blink |
| 126 | 124 |
| 127 #endif // HTMLImportLoader_h | 125 #endif // HTMLImportLoader_h |
| OLD | NEW |