| 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 28 matching lines...) Expand all Loading... |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class FetchRequest; | 41 class FetchRequest; |
| 42 class HTMLImport; | 42 class HTMLImport; |
| 43 class HTMLImportChild; | 43 class HTMLImportChild; |
| 44 class HTMLImportChildClient; | 44 class HTMLImportChildClient; |
| 45 class HTMLImportLoader; | 45 class HTMLImportLoader; |
| 46 class HTMLImportTreeRoot; | 46 class HTMLImportTreeRoot; |
| 47 class KURL; | 47 class KURL; |
| 48 | 48 |
| 49 class HTMLImportsController final : public GarbageCollectedFinalized<HTMLImports
Controller>, public HeapSupplement<Document> { | 49 class HTMLImportsController final : public GarbageCollectedFinalized<HTMLImports
Controller>, public Supplement<Document> { |
| 50 USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController); | 50 USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController); |
| 51 public: | 51 public: |
| 52 static const char* supplementName(); | 52 static const char* supplementName(); |
| 53 static void provideTo(Document&); | 53 static void provideTo(Document&); |
| 54 static void removeFrom(Document&); | 54 static void removeFrom(Document&); |
| 55 | 55 |
| 56 explicit HTMLImportsController(Document&); | 56 explicit HTMLImportsController(Document&); |
| 57 virtual ~HTMLImportsController(); | 57 virtual ~HTMLImportsController(); |
| 58 | 58 |
| 59 HTMLImportTreeRoot* root() const { return m_root.get(); } | 59 HTMLImportTreeRoot* root() const { return m_root.get(); } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 78 void dispose(); | 78 void dispose(); |
| 79 | 79 |
| 80 Member<HTMLImportTreeRoot> m_root; | 80 Member<HTMLImportTreeRoot> m_root; |
| 81 using LoaderList = HeapVector<Member<HTMLImportLoader>>; | 81 using LoaderList = HeapVector<Member<HTMLImportLoader>>; |
| 82 LoaderList m_loaders; | 82 LoaderList m_loaders; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 #endif // HTMLImportsController_h | 87 #endif // HTMLImportsController_h |
| OLD | NEW |