| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ | |
| 6 #define COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ | |
| 7 | |
| 8 #include "components/html_viewer/blink_platform_impl.h" | |
| 9 | |
| 10 #include "third_party/WebKit/public/platform/WebClipboard.h" | |
| 11 #include "third_party/WebKit/public/platform/WebCookieJar.h" | |
| 12 | |
| 13 namespace html_viewer { | |
| 14 | |
| 15 class TestBlinkPlatformImpl : public BlinkPlatformImpl { | |
| 16 public: | |
| 17 TestBlinkPlatformImpl(); | |
| 18 ~TestBlinkPlatformImpl() override; | |
| 19 | |
| 20 private: | |
| 21 // blink::Platform methods: | |
| 22 virtual blink::WebCookieJar* cookieJar(); | |
| 23 virtual blink::WebClipboard* clipboard(); | |
| 24 | |
| 25 blink::WebClipboard clipboard_; | |
| 26 blink::WebCookieJar cookie_jar_; | |
| 27 }; | |
| 28 | |
| 29 } // namespace html_viewer | |
| 30 | |
| 31 #endif // COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_ | |
| OLD | NEW |