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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 void ownerInserted(); | 61 void ownerInserted(); |
62 void didShareLoader(); | 62 void didShareLoader(); |
63 void didStartLoading(); | 63 void didStartLoading(); |
64 #if !ENABLE(OILPAN) | 64 #if !ENABLE(OILPAN) |
65 WeakPtr<HTMLImportChild> weakPtr() { return m_weakFactory.createWeakPtr(); } | 65 WeakPtr<HTMLImportChild> weakPtr() { return m_weakFactory.createWeakPtr(); } |
66 #endif | 66 #endif |
67 | 67 |
68 // HTMLImport | 68 // HTMLImport |
69 virtual Document* document() const override; | 69 virtual Document* document() const override; |
70 virtual bool isDone() const override; | 70 virtual bool hasFinishedLoading() const override; |
71 virtual HTMLImportLoader* loader() const override; | 71 virtual HTMLImportLoader* loader() const override; |
72 virtual void stateWillChange() override; | 72 virtual void stateWillChange() override; |
73 virtual void stateDidChange() override; | 73 virtual void stateDidChange() override; |
74 DECLARE_VIRTUAL_TRACE(); | 74 DECLARE_VIRTUAL_TRACE(); |
75 | 75 |
76 #if !defined(NDEBUG) | 76 #if !defined(NDEBUG) |
77 virtual void showThis() override; | 77 virtual void showThis() override; |
78 #endif | 78 #endif |
79 | 79 |
80 void setClient(HTMLImportChildClient*); | 80 void setClient(HTMLImportChildClient*); |
(...skipping 22 matching lines...) Expand all Loading... |
103 | 103 |
104 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) | 104 inline HTMLImportChild* toHTMLImportChild(HTMLImport* import) |
105 { | 105 { |
106 ASSERT(!import || !import->isRoot()); | 106 ASSERT(!import || !import->isRoot()); |
107 return static_cast<HTMLImportChild*>(import); | 107 return static_cast<HTMLImportChild*>(import); |
108 } | 108 } |
109 | 109 |
110 } // namespace blink | 110 } // namespace blink |
111 | 111 |
112 #endif // HTMLImportChild_h | 112 #endif // HTMLImportChild_h |
OLD | NEW |