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