Index: sky/engine/core/app/Application.h |
diff --git a/sky/engine/core/app/Application.h b/sky/engine/core/app/Application.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07c137e48612e0b7af9e27bff1cfe6f2521d8f8b |
--- /dev/null |
+++ b/sky/engine/core/app/Application.h |
@@ -0,0 +1,34 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef SKY_ENGINE_CORE_APP_APPLICATION_H_ |
+#define SKY_ENGINE_CORE_APP_APPLICATION_H_ |
+ |
+#include "core/app/AbstractModule.h" |
+ |
+namespace blink { |
+ |
+class Application : public AbstractModule { |
+ DEFINE_WRAPPERTYPEINFO(); |
+public: |
+ static PassRefPtr<Application> create(ExecutionContext* context, Document* document, const String& url) |
+ { |
+ return adoptRef(new Application(context, document, url)); |
+ } |
+ |
+ virtual ~Application(); |
+ |
+ void setTitle(const String& title) { m_title = title; } |
eseidel
2014/11/10 22:02:00
So dumb it takes so much typing to write these in
abarth-chromium
2014/11/10 22:14:21
Yes
|
+ const String& title() { return m_title; } |
+ |
+private: |
+ Application(ExecutionContext* context, Document* document, const String& url); |
+ const AtomicString& interfaceName() const override; |
+ |
+ String m_title; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // SKY_ENGINE_CORE_APP_APPLICATION_H_ |