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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 explicit LinkImport(HTMLLinkElement* owner); | 53 explicit LinkImport(HTMLLinkElement* owner); |
54 ~LinkImport() override; | 54 ~LinkImport() override; |
55 | 55 |
56 // LinkResource | 56 // LinkResource |
57 void process() override; | 57 void process() override; |
58 LinkResourceType type() const override { return Import; } | 58 LinkResourceType type() const override { return Import; } |
59 bool hasLoaded() const override; | 59 bool hasLoaded() const override; |
60 DECLARE_VIRTUAL_TRACE(); | 60 DECLARE_VIRTUAL_TRACE(); |
61 void ownerInserted() override; | 61 void ownerInserted() override; |
| 62 void ownerRemoved() override; |
62 | 63 |
63 // HTMLImportChildClient | 64 // HTMLImportChildClient |
64 void didFinish() override; | 65 void didFinish() override; |
65 void importChildWasDisposed(HTMLImportChild*) override; | 66 void importChildWasDisposed(HTMLImportChild*) override; |
66 bool isSync() const override; | 67 bool isSync() const override; |
67 HTMLLinkElement* link() override; | 68 HTMLLinkElement* link() override; |
68 | 69 |
69 Document* importedDocument() const; | 70 Document* importedDocument() const; |
70 | 71 |
71 private: | 72 private: |
72 Member<HTMLImportChild> m_child; | 73 Member<HTMLImportChild> m_child; |
73 }; | 74 }; |
74 | 75 |
75 } // namespace blink | 76 } // namespace blink |
76 | 77 |
77 #endif // LinkImport_h | 78 #endif // LinkImport_h |
OLD | NEW |