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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Document* document() const OVERRIDE; | 71 virtual Document* document() const OVERRIDE; |
72 virtual bool isDone() const OVERRIDE; | 72 virtual bool isDone() const OVERRIDE; |
73 virtual bool hasLoader() const OVERRIDE; | 73 virtual HTMLImportLoader* loader() const OVERRIDE { return m_loader; } |
74 virtual bool ownsLoader() const OVERRIDE; | |
75 virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const
OVERRIDE FINAL { return m_customElementMicrotaskStep; } | |
76 virtual void stateWillChange() OVERRIDE; | 74 virtual void stateWillChange() OVERRIDE; |
77 virtual void stateDidChange() OVERRIDE; | 75 virtual void stateDidChange() OVERRIDE; |
78 | 76 |
79 #if !defined(NDEBUG) | 77 #if !defined(NDEBUG) |
80 virtual void showThis() OVERRIDE; | 78 virtual void showThis() OVERRIDE; |
81 #endif | 79 #endif |
82 | 80 |
83 void setClient(HTMLImportChildClient*); | 81 void setClient(HTMLImportChildClient*); |
84 void clearClient(); | 82 void clearClient(); |
85 bool loaderHasError() const; | 83 bool loaderHasError() const; |
(...skipping 21 matching lines...) Expand all Loading... |
107 | 105 |
108 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) | 106 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) |
109 { | 107 { |
110 ASSERT(!import || import->isChild()); | 108 ASSERT(!import || import->isChild()); |
111 return static_cast<HTMLImportChild*>(import); | 109 return static_cast<HTMLImportChild*>(import); |
112 } | 110 } |
113 | 111 |
114 } // namespace WebCore | 112 } // namespace WebCore |
115 | 113 |
116 #endif // HTMLImportChild_h | 114 #endif // HTMLImportChild_h |
OLD | NEW |