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_APPLICATION_H_ | 5 #ifndef SKY_ENGINE_CORE_APP_APPLICATION_H_ |
6 #define SKY_ENGINE_CORE_APP_APPLICATION_H_ | 6 #define SKY_ENGINE_CORE_APP_APPLICATION_H_ |
7 | 7 |
8 #include "core/app/AbstractModule.h" | 8 #include "core/app/AbstractModule.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 void setTitle(const String& title) { title_ = title; } | 23 void setTitle(const String& title) { title_ = title; } |
24 const String& title() { return title_; } | 24 const String& title() { return title_; } |
25 | 25 |
26 private: | 26 private: |
27 Application(ExecutionContext* context, | 27 Application(ExecutionContext* context, |
28 PassRefPtr<Document> document, | 28 PassRefPtr<Document> document, |
29 const String& url); | 29 const String& url); |
30 const AtomicString& interfaceName() const override; | 30 const AtomicString& interfaceName() const override; |
31 | 31 |
| 32 Application* GetApplication() override; |
| 33 |
32 String title_; | 34 String title_; |
33 }; | 35 }; |
34 | 36 |
35 } // namespace blink | 37 } // namespace blink |
36 | 38 |
37 #endif // SKY_ENGINE_CORE_APP_APPLICATION_H_ | 39 #endif // SKY_ENGINE_CORE_APP_APPLICATION_H_ |
OLD | NEW |