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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 static PassOwnPtrWillBeRawPtr<LinkImport> create(HTMLLinkElement* owner); | 53 static PassOwnPtrWillBeRawPtr<LinkImport> create(HTMLLinkElement* owner); |
54 | 54 |
55 explicit LinkImport(HTMLLinkElement* owner); | 55 explicit LinkImport(HTMLLinkElement* owner); |
56 virtual ~LinkImport(); | 56 virtual ~LinkImport(); |
57 | 57 |
58 // LinkResource | 58 // LinkResource |
59 virtual void process() OVERRIDE; | 59 virtual void process() OVERRIDE; |
60 virtual Type type() const OVERRIDE { return Import; } | 60 virtual Type type() const OVERRIDE { return Import; } |
61 virtual bool hasLoaded() const OVERRIDE; | 61 virtual bool hasLoaded() const OVERRIDE; |
62 virtual void trace(Visitor*) OVERRIDE; | 62 virtual void trace(Visitor*) OVERRIDE; |
| 63 virtual void ownerInserted() OVERRIDE; |
63 | 64 |
64 // HTMLImportChildClient | 65 // HTMLImportChildClient |
65 virtual void didFinish() OVERRIDE; | 66 virtual void didFinish() OVERRIDE; |
66 #if !ENABLE(OILPAN) | 67 #if !ENABLE(OILPAN) |
67 virtual void importChildWasDestroyed(HTMLImportChild*) OVERRIDE; | 68 virtual void importChildWasDestroyed(HTMLImportChild*) OVERRIDE; |
68 #endif | 69 #endif |
69 virtual bool isSync() const OVERRIDE; | 70 virtual bool isSync() const OVERRIDE; |
70 virtual HTMLLinkElement* link() OVERRIDE; | 71 virtual HTMLLinkElement* link() OVERRIDE; |
71 | 72 |
72 Document* importedDocument() const; | 73 Document* importedDocument() const; |
73 | 74 |
74 private: | 75 private: |
75 RawPtrWillBeMember<HTMLImportChild> m_child; | 76 RawPtrWillBeMember<HTMLImportChild> m_child; |
76 }; | 77 }; |
77 | 78 |
78 } // namespace WebCore | 79 } // namespace WebCore |
79 | 80 |
80 #endif // LinkImport_h | 81 #endif // LinkImport_h |
OLD | NEW |