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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 virtual void trace(Visitor*) override; |
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&) 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 |
111 | 111 |
112 // Called after document parse is complete after DOMContentLoaded was dispat
ched. | 112 // Called after document parse is complete after DOMContentLoaded was dispat
ched. |
113 virtual void notifyParserStopped() override; | 113 virtual void notifyParserStopped() override; |
114 | 114 |
115 State startWritingAndParsing(const ResourceResponse&); | 115 State startWritingAndParsing(const ResourceResponse&); |
116 State finishWriting(); | 116 State finishWriting(); |
(...skipping 11 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 |