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.
5 #ifndef COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
8 #include "components/html_viewer/blink_platform_impl.h"
10 #include "third_party/WebKit/public/platform/WebClipboard.h"
11 #include "third_party/WebKit/public/platform/WebCookieJar.h"
13 namespace html_viewer
{
15 class TestBlinkPlatformImpl
: public BlinkPlatformImpl
{
17 TestBlinkPlatformImpl();
18 ~TestBlinkPlatformImpl() override
;
21 // blink::Platform methods:
22 virtual blink::WebCookieJar
* cookieJar();
23 virtual blink::WebClipboard
* clipboard();
25 blink::WebClipboard clipboard_
;
26 blink::WebCookieJar cookie_jar_
;
29 } // namespace html_viewer
31 #endif // COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_