| 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_MODULE_H_ | 5 #ifndef SKY_ENGINE_CORE_APP_MODULE_H_ |
| 6 #define SKY_ENGINE_CORE_APP_MODULE_H_ | 6 #define SKY_ENGINE_CORE_APP_MODULE_H_ |
| 7 | 7 |
| 8 #include "core/app/AbstractModule.h" | 8 #include "sky/engine/core/app/AbstractModule.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 class Application; | 11 class Application; |
| 12 | 12 |
| 13 class Module : public AbstractModule { | 13 class Module : public AbstractModule { |
| 14 DEFINE_WRAPPERTYPEINFO(); | 14 DEFINE_WRAPPERTYPEINFO(); |
| 15 public: | 15 public: |
| 16 static PassRefPtr<Module> create(ExecutionContext* context, | 16 static PassRefPtr<Module> create(ExecutionContext* context, |
| 17 Application* application, | 17 Application* application, |
| 18 PassRefPtr<Document> document, | 18 PassRefPtr<Document> document, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 Application* GetApplication() override; | 37 Application* GetApplication() override; |
| 38 | 38 |
| 39 RefPtr<Application> application_; | 39 RefPtr<Application> application_; |
| 40 ScriptValue exports_; | 40 ScriptValue exports_; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // SKY_ENGINE_CORE_APP_MODULE_H_ | 45 #endif // SKY_ENGINE_CORE_APP_MODULE_H_ |
| OLD | NEW |