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_TEST_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_TEST_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 "third_party/WebKit/public/platform/WebClipboard.h" | 10 #include "third_party/WebKit/public/platform/WebClipboard.h" |
11 #include "third_party/WebKit/public/platform/WebCookieJar.h" | 11 #include "third_party/WebKit/public/platform/WebCookieJar.h" |
12 | 12 |
13 namespace mojo { | 13 namespace html_viewer { |
14 | 14 |
15 class TestBlinkPlatformImpl : public BlinkPlatformImpl { | 15 class TestBlinkPlatformImpl : public BlinkPlatformImpl { |
16 public: | 16 public: |
17 TestBlinkPlatformImpl(); | 17 TestBlinkPlatformImpl(); |
18 virtual ~TestBlinkPlatformImpl(); | 18 virtual ~TestBlinkPlatformImpl(); |
19 | 19 |
20 private: | 20 private: |
21 // blink::Platform methods: | 21 // blink::Platform methods: |
22 virtual blink::WebCookieJar* cookieJar(); | 22 virtual blink::WebCookieJar* cookieJar(); |
23 virtual blink::WebClipboard* clipboard(); | 23 virtual blink::WebClipboard* clipboard(); |
24 | 24 |
25 blink::WebClipboard clipboard_; | 25 blink::WebClipboard clipboard_; |
26 blink::WebCookieJar cookie_jar_; | 26 blink::WebCookieJar cookie_jar_; |
27 }; | 27 }; |
28 | 28 |
29 } // namespace mojo | 29 } // namespace html_viewer |
30 | 30 |
31 #endif // MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ | 31 #endif // MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |