| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SKY_ENGINE_CORE_APP_ABSTRACT_MODULE_H_ | 5 #ifndef SKY_ENGINE_CORE_APP_ABSTRACTMODULE_H_ |
| 6 #define SKY_ENGINE_CORE_APP_ABSTRACT_MODULE_H_ | 6 #define SKY_ENGINE_CORE_APP_ABSTRACTMODULE_H_ |
| 7 | 7 |
| 8 #include "sky/engine/bindings/core/v8/ScriptPromiseResolver.h" | 8 #include "sky/engine/bindings/core/v8/ScriptPromiseResolver.h" |
| 9 #include "sky/engine/core/app/ModuleLoader.h" | 9 #include "sky/engine/core/app/ModuleLoader.h" |
| 10 #include "sky/engine/core/dom/ContextLifecycleObserver.h" | 10 #include "sky/engine/core/dom/ContextLifecycleObserver.h" |
| 11 #include "sky/engine/core/dom/Document.h" | 11 #include "sky/engine/core/dom/Document.h" |
| 12 #include "sky/engine/core/events/EventTarget.h" | 12 #include "sky/engine/core/events/EventTarget.h" |
| 13 #include "sky/engine/wtf/RefCounted.h" | 13 #include "sky/engine/wtf/RefCounted.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 class Application; | 16 class Application; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 void OnModuleLoadComplete(ModuleLoader*, Module*) override; | 40 void OnModuleLoadComplete(ModuleLoader*, Module*) override; |
| 41 | 41 |
| 42 RefPtr<Document> document_; | 42 RefPtr<Document> document_; |
| 43 String url_; | 43 String url_; |
| 44 | 44 |
| 45 HashMap<OwnPtr<ModuleLoader>, RefPtr<ScriptPromiseResolver>> loaders_; | 45 HashMap<OwnPtr<ModuleLoader>, RefPtr<ScriptPromiseResolver>> loaders_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // SKY_ENGINE_CORE_APP_ABSTRACT_MODULE_H_ | 50 #endif // SKY_ENGINE_CORE_APP_ABSTRACTMODULE_H_ |
| OLD | NEW |