| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 HTMLLinkElement* link() const; | 61 HTMLLinkElement* link() const; |
| 62 Document* importedDocument() const; | 62 Document* importedDocument() const; |
| 63 const KURL& url() const { return m_url; } | 63 const KURL& url() const { return m_url; } |
| 64 | 64 |
| 65 void wasAlreadyLoaded(); | 65 void wasAlreadyLoaded(); |
| 66 void startLoading(const ResourcePtr<RawResource>&); | 66 void startLoading(const ResourcePtr<RawResource>&); |
| 67 void importDestroyed(); | 67 void importDestroyed(); |
| 68 | 68 |
| 69 // HTMLImport | 69 // HTMLImport |
| 70 virtual bool isChild() const OVERRIDE { return true; } | 70 virtual bool isChild() const OVERRIDE { return true; } |
| 71 virtual HTMLImportRoot* root() OVERRIDE; | |
| 72 virtual Document* document() const OVERRIDE; | 71 virtual Document* document() const OVERRIDE; |
| 73 virtual bool isDone() const OVERRIDE; | 72 virtual bool isDone() const OVERRIDE; |
| 74 virtual bool hasLoader() const OVERRIDE; | 73 virtual bool hasLoader() const OVERRIDE; |
| 75 virtual bool ownsLoader() const OVERRIDE; | 74 virtual bool ownsLoader() const OVERRIDE; |
| 76 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const
OVERRIDE FINAL { return m_customElementMicrotaskStep; } | 75 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const
OVERRIDE FINAL { return m_customElementMicrotaskStep; } |
| 76 virtual void stateWillChange() OVERRIDE; |
| 77 virtual void stateDidChange() OVERRIDE; | 77 virtual void stateDidChange() OVERRIDE; |
| 78 | 78 |
| 79 #if !defined(NDEBUG) | 79 #if !defined(NDEBUG) |
| 80 virtual void showThis() OVERRIDE; | 80 virtual void showThis() OVERRIDE; |
| 81 #endif | 81 #endif |
| 82 | 82 |
| 83 void setClient(HTMLImportChildClient*); | 83 void setClient(HTMLImportChildClient*); |
| 84 void clearClient(); | 84 void clearClient(); |
| 85 bool loaderHasError() const; | 85 bool loaderHasError() const; |
| 86 | 86 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 107 | 107 |
| 108 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) | 108 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) |
| 109 { | 109 { |
| 110 ASSERT(!import || import->isChild()); | 110 ASSERT(!import || import->isChild()); |
| 111 return static_cast<HTMLImportChild*>(import); | 111 return static_cast<HTMLImportChild*>(import); |
| 112 } | 112 } |
| 113 | 113 |
| 114 } // namespace WebCore | 114 } // namespace WebCore |
| 115 | 115 |
| 116 #endif // HTMLImportChild_h | 116 #endif // HTMLImportChild_h |
| OLD | NEW |