| 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 MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |
| 6 #define MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include "mojo/services/html_viewer/blink_platform_impl.h" | 8 #include "mojo/services/html_viewer/blink_platform_impl.h" |
| 9 | 9 |
| 10 #include "mojo/services/public/interfaces/network/network_service.mojom.h" | 10 #include "mojo/services/network/public/interfaces/network_service.mojom.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 class ApplicationImpl; | 14 class ApplicationImpl; |
| 15 class WebClipboardImpl; | 15 class WebClipboardImpl; |
| 16 class WebCookieJarImpl; | 16 class WebCookieJarImpl; |
| 17 | 17 |
| 18 class MojoBlinkPlatformImpl : public BlinkPlatformImpl { | 18 class MojoBlinkPlatformImpl : public BlinkPlatformImpl { |
| 19 public: | 19 public: |
| 20 MojoBlinkPlatformImpl(ApplicationImpl* app); | 20 MojoBlinkPlatformImpl(ApplicationImpl* app); |
| 21 virtual ~MojoBlinkPlatformImpl(); | 21 virtual ~MojoBlinkPlatformImpl(); |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 // BlinkPlatform | 24 // BlinkPlatform |
| 25 virtual blink::WebURLLoader* createURLLoader() override; | 25 virtual blink::WebURLLoader* createURLLoader() override; |
| 26 virtual blink::WebSocketHandle* createWebSocketHandle() override; | 26 virtual blink::WebSocketHandle* createWebSocketHandle() override; |
| 27 | 27 |
| 28 NetworkServicePtr network_service_; | 28 NetworkServicePtr network_service_; |
| 29 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 29 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 30 scoped_ptr<WebClipboardImpl> clipboard_; | 30 scoped_ptr<WebClipboardImpl> clipboard_; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 } // namespace mojo | 33 } // namespace mojo |
| 34 | 34 |
| 35 #endif // MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ | 35 #endif // MOJO_SERVICES_HTML_VIEWER_MOJO_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |