OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ModuleScriptLoaderClient_h |
| 6 #define ModuleScriptLoaderClient_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class ModuleScript; |
| 13 |
| 14 // A ModuleScriptLoaderClient is notified when a single module script load is |
| 15 // complete. |
| 16 // Note: Its corresponding module map entry is typically not yet created at the |
| 17 // time of callback. |
| 18 class ModuleScriptLoaderClient : public GarbageCollectedMixin { |
| 19 public: |
| 20 virtual ~ModuleScriptLoaderClient(){}; |
| 21 |
| 22 private: |
| 23 friend class ModuleScriptLoader; |
| 24 virtual void notifyFinishedNewSingleModule(ModuleScript*) = 0; |
| 25 }; |
| 26 |
| 27 } // namespace blink |
| 28 |
| 29 #endif |
OLD | NEW |