Index: mojo/services/html_viewer/mojo_blink_platform_impl.h |
diff --git a/mojo/services/html_viewer/mojo_blink_platform_impl.h b/mojo/services/html_viewer/mojo_blink_platform_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..817c8d462f0addceb15dca3348403f40e9078438 |
--- /dev/null |
+++ b/mojo/services/html_viewer/mojo_blink_platform_impl.h |
@@ -0,0 +1,35 @@ |
+// 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 MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |
+#define MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |
+ |
+#include "mojo/services/html_viewer/blink_platform_impl.h" |
+ |
+#include "mojo/services/public/interfaces/network/network_service.mojom.h" |
+ |
+namespace mojo { |
+ |
+class ApplicationImpl; |
+class WebClipboardImpl; |
+class WebCookieJarImpl; |
+ |
+class MojoBlinkPlatformImpl : public BlinkPlatformImpl { |
+ public: |
+ MojoBlinkPlatformImpl(ApplicationImpl* app); |
+ virtual ~MojoBlinkPlatformImpl(); |
+ |
+ private: |
+ // BlinkPlatform |
+ virtual blink::WebURLLoader* createURLLoader() override; |
+ virtual blink::WebSocketHandle* createWebSocketHandle() override; |
+ |
+ NetworkServicePtr network_service_; |
+ scoped_ptr<WebCookieJarImpl> cookie_jar_; |
+ scoped_ptr<WebClipboardImpl> clipboard_; |
+}; |
+ |
+} // namespace mojo |
+ |
+#endif // MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |