| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 void importDestroyed(); | 65 void importDestroyed(); |
| 66 | 66 |
| 67 // HTMLImport | 67 // HTMLImport |
| 68 virtual HTMLImportRoot* root() OVERRIDE; | 68 virtual HTMLImportRoot* root() OVERRIDE; |
| 69 virtual Document* document() const OVERRIDE; | 69 virtual Document* document() const OVERRIDE; |
| 70 virtual void wasDetachedFromDocument() OVERRIDE; | 70 virtual void wasDetachedFromDocument() OVERRIDE; |
| 71 virtual void didFinishParsing() OVERRIDE; | 71 virtual void didFinishParsing() OVERRIDE; |
| 72 virtual bool isDone() const OVERRIDE; | 72 virtual bool isDone() const OVERRIDE; |
| 73 virtual bool hasLoader() const OVERRIDE; | 73 virtual bool hasLoader() const OVERRIDE; |
| 74 virtual bool ownsLoader() const OVERRIDE; | 74 virtual bool ownsLoader() const OVERRIDE; |
| 75 virtual void didUnblockFromCreatingDocument() OVERRIDE; | |
| 76 virtual void didBecomeReady() OVERRIDE; | |
| 77 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const
OVERRIDE FINAL { return m_customElementMicrotaskStep; } | 75 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const
OVERRIDE FINAL { return m_customElementMicrotaskStep; } |
| 76 virtual void stateDidChange() OVERRIDE; |
| 77 |
| 78 #if !defined(NDEBUG) |
| 79 virtual void showThis() OVERRIDE; |
| 80 #endif |
| 78 | 81 |
| 79 void addClient(HTMLImportChildClient*); | 82 void addClient(HTMLImportChildClient*); |
| 80 void removeClient(HTMLImportChildClient*); | 83 void removeClient(HTMLImportChildClient*); |
| 81 bool loaderHasError() const; | 84 bool loaderHasError() const; |
| 82 | 85 |
| 83 private: | 86 private: |
| 84 // RawResourceOwner doing nothing. | 87 // RawResourceOwner doing nothing. |
| 85 // HTMLImportChild owns the resource so that the contents of prefetched Reso
urce doesn't go away. | 88 // HTMLImportChild owns the resource so that the contents of prefetched Reso
urce doesn't go away. |
| 86 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE {
} | 89 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRIDE {
} |
| 87 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } | 90 virtual void dataReceived(Resource*, const char*, int) OVERRIDE { } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 98 KURL m_url; | 101 KURL m_url; |
| 99 CustomElementMicrotaskImportStep* m_customElementMicrotaskStep; | 102 CustomElementMicrotaskImportStep* m_customElementMicrotaskStep; |
| 100 RefPtr<HTMLImportLoader> m_loader; | 103 RefPtr<HTMLImportLoader> m_loader; |
| 101 Vector<HTMLImportChildClient*> m_clients; | 104 Vector<HTMLImportChildClient*> m_clients; |
| 102 bool m_traversingClients; | 105 bool m_traversingClients; |
| 103 }; | 106 }; |
| 104 | 107 |
| 105 } // namespace WebCore | 108 } // namespace WebCore |
| 106 | 109 |
| 107 #endif // HTMLImportChild_h | 110 #endif // HTMLImportChild_h |
| OLD | NEW |