| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 Document* master() const; | 70 Document* master() const; |
| 71 | 71 |
| 72 HTMLImportLoader* createLoader(); | 72 HTMLImportLoader* createLoader(); |
| 73 | 73 |
| 74 size_t loaderCount() const { return m_loaders.size(); } | 74 size_t loaderCount() const { return m_loaders.size(); } |
| 75 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); } | 75 HTMLImportLoader* loaderAt(size_t i) const { return m_loaders[i].get(); } |
| 76 Document* loaderDocumentAt(size_t) const; | 76 Document* loaderDocumentAt(size_t) const; |
| 77 HTMLImportLoader* loaderFor(const Document&) const; | 77 HTMLImportLoader* loaderFor(const Document&) const; |
| 78 | 78 |
| 79 virtual void trace(Visitor*); | |
| 80 | |
| 81 private: | 79 private: |
| 82 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); | 80 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); |
| 83 | 81 |
| 84 OwnPtr<HTMLImportTreeRoot> m_root; | 82 OwnPtr<HTMLImportTreeRoot> m_root; |
| 85 typedef Vector<OwnPtr<HTMLImportLoader> > LoaderList; | 83 typedef Vector<OwnPtr<HTMLImportLoader> > LoaderList; |
| 86 LoaderList m_loaders; | 84 LoaderList m_loaders; |
| 87 }; | 85 }; |
| 88 | 86 |
| 89 } // namespace blink | 87 } // namespace blink |
| 90 | 88 |
| 91 #endif // HTMLImportsController_h | 89 #endif // HTMLImportsController_h |
| OLD | NEW |