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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class FetchRequest; | 46 class FetchRequest; |
47 class HTMLImportChild; | 47 class HTMLImportChild; |
48 class HTMLImportChildClient; | 48 class HTMLImportChildClient; |
49 class HTMLImportLoader; | 49 class HTMLImportLoader; |
50 class HTMLImportTreeRoot; | 50 class HTMLImportTreeRoot; |
51 | 51 |
52 class HTMLImportsController FINAL : public NoBaseWillBeGarbageCollectedFinalized
<HTMLImportsController>, public DocumentSupplement { | 52 class HTMLImportsController final : public NoBaseWillBeGarbageCollectedFinalized
<HTMLImportsController>, public DocumentSupplement { |
53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController); | 53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLImportsController); |
54 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 54 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
55 public: | 55 public: |
56 static const char* supplementName(); | 56 static const char* supplementName(); |
57 static void provideTo(Document&); | 57 static void provideTo(Document&); |
58 static void removeFrom(Document&); | 58 static void removeFrom(Document&); |
59 | 59 |
60 explicit HTMLImportsController(Document&); | 60 explicit HTMLImportsController(Document&); |
61 virtual ~HTMLImportsController(); | 61 virtual ~HTMLImportsController(); |
62 | 62 |
(...skipping 17 matching lines...) Expand all Loading... |
80 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); | 80 HTMLImportChild* createChild(const KURL&, HTMLImportLoader*, HTMLImport* par
ent, HTMLImportChildClient*); |
81 | 81 |
82 OwnPtrWillBeMember<HTMLImportTreeRoot> m_root; | 82 OwnPtrWillBeMember<HTMLImportTreeRoot> m_root; |
83 typedef WillBeHeapVector<OwnPtrWillBeMember<HTMLImportLoader> > LoaderList; | 83 typedef WillBeHeapVector<OwnPtrWillBeMember<HTMLImportLoader> > LoaderList; |
84 LoaderList m_loaders; | 84 LoaderList m_loaders; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 #endif // HTMLImportsController_h | 89 #endif // HTMLImportsController_h |
OLD | NEW |