| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 #endif | 90 #endif |
| 91 void startLoading(const ResourcePtr<RawResource>&); | 91 void startLoading(const ResourcePtr<RawResource>&); |
| 92 | 92 |
| 93 // Tells the loader that all of the import's stylesheets finished | 93 // Tells the loader that all of the import's stylesheets finished |
| 94 // loading. | 94 // loading. |
| 95 // Called by Document::didRemoveAllPendingStylesheet. | 95 // Called by Document::didRemoveAllPendingStylesheet. |
| 96 void didRemoveAllPendingStylesheet(); | 96 void didRemoveAllPendingStylesheet(); |
| 97 | 97 |
| 98 PassRefPtrWillBeRawPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() con
st; | 98 PassRefPtrWillBeRawPtr<CustomElementSyncMicrotaskQueue> microtaskQueue() con
st; |
| 99 | 99 |
| 100 virtual void trace(Visitor*) override; | 100 DECLARE_VIRTUAL_TRACE(); |
| 101 | 101 |
| 102 private: | 102 private: |
| 103 HTMLImportLoader(HTMLImportsController*); | 103 HTMLImportLoader(HTMLImportsController*); |
| 104 | 104 |
| 105 // RawResourceClient | 105 // RawResourceClient |
| 106 virtual void responseReceived(Resource*, const ResourceResponse&, PassOwnPtr
<WebDataConsumerHandle>) override; | 106 virtual void responseReceived(Resource*, const ResourceResponse&, PassOwnPtr
<WebDataConsumerHandle>) override; |
| 107 virtual void dataReceived(Resource*, const char* data, unsigned length) over
ride; | 107 virtual void dataReceived(Resource*, const char* data, unsigned length) over
ride; |
| 108 virtual void notifyFinished(Resource*) override; | 108 virtual void notifyFinished(Resource*) override; |
| 109 | 109 |
| 110 // DocumentParserClient | 110 // DocumentParserClient |
| (...skipping 17 matching lines...) Expand all Loading... |
| 128 WillBeHeapVector<RawPtrWillBeMember<HTMLImportChild>> m_imports; | 128 WillBeHeapVector<RawPtrWillBeMember<HTMLImportChild>> m_imports; |
| 129 State m_state; | 129 State m_state; |
| 130 RefPtrWillBeMember<Document> m_document; | 130 RefPtrWillBeMember<Document> m_document; |
| 131 RefPtrWillBeMember<DocumentWriter> m_writer; | 131 RefPtrWillBeMember<DocumentWriter> m_writer; |
| 132 RefPtrWillBeMember<CustomElementSyncMicrotaskQueue> m_microtaskQueue; | 132 RefPtrWillBeMember<CustomElementSyncMicrotaskQueue> m_microtaskQueue; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // HTMLImportLoader_h | 137 #endif // HTMLImportLoader_h |
| OLD | NEW |