| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "sky/engine/core/app/Module.h" | |
| 6 | |
| 7 #include "gen/sky/core/EventTargetNames.h" | |
| 8 #include "sky/engine/core/app/Application.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 Module::Module(ExecutionContext* context, | |
| 13 Application* application, | |
| 14 PassRefPtr<Document> document, | |
| 15 const String& url) | |
| 16 : AbstractModule(context, document, url), | |
| 17 application_(application) { | |
| 18 } | |
| 19 | |
| 20 Module::~Module() { | |
| 21 } | |
| 22 | |
| 23 const AtomicString& Module::interfaceName() const { | |
| 24 return EventTargetNames::Module; | |
| 25 } | |
| 26 | |
| 27 Application* Module::GetApplication() { | |
| 28 return application(); | |
| 29 } | |
| 30 | |
| 31 } // namespace blink | |
| OLD | NEW |