| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class FetchRequest; | 45 class FetchRequest; |
| 46 class ExecutionContext; | 46 class ExecutionContext; |
| 47 class ResourceFetcher; | 47 class ResourceFetcher; |
| 48 class HTMLImportChild; | 48 class HTMLImportChild; |
| 49 class HTMLImportChildClient; | 49 class HTMLImportChildClient; |
| 50 class HTMLImportLoader; | 50 class HTMLImportLoader; |
| 51 class HTMLImportTreeRoot; | 51 class HTMLImportTreeRoot; |
| 52 | 52 |
| 53 class HTMLImportsController final : public DummyBase<HTMLImportsController>, pub
lic DocumentSupplement { | 53 class HTMLImportsController final : public DocumentSupplement { |
| 54 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController); | 54 WTF_MAKE_FAST_ALLOCATED; |
| 55 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | |
| 56 public: | 55 public: |
| 57 static const char* supplementName(); | 56 static const char* supplementName(); |
| 58 static void provideTo(Document&); | 57 static void provideTo(Document&); |
| 59 static void removeFrom(Document&); | 58 static void removeFrom(Document&); |
| 60 | 59 |
| 61 explicit HTMLImportsController(Document&); | 60 explicit HTMLImportsController(Document&); |
| 62 virtual ~HTMLImportsController(); | 61 virtual ~HTMLImportsController(); |
| 63 | 62 |
| 64 HTMLImportTreeRoot* root() const { return m_root.get(); } | 63 HTMLImportTreeRoot* root() const { return m_root.get(); } |
| 65 | 64 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 79 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); | 78 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); |
| 80 | 79 |
| 81 OwnPtr<HTMLImportTreeRoot> m_root; | 80 OwnPtr<HTMLImportTreeRoot> m_root; |
| 82 typedef Vector<OwnPtr<HTMLImportLoader> > LoaderList; | 81 typedef Vector<OwnPtr<HTMLImportLoader> > LoaderList; |
| 83 LoaderList m_loaders; | 82 LoaderList m_loaders; |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 } // namespace blink | 85 } // namespace blink |
| 87 | 86 |
| 88 #endif // HTMLImportsController_h | 87 #endif // HTMLImportsController_h |
| OLD | NEW |