blob: c3b676889fcabb4bdfc07aba65dc707551093172 [file] [log] [blame]
// 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 COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
#define COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
#include "components/html_viewer/blink_platform_impl.h"
#include "third_party/WebKit/public/platform/WebClipboard.h"
#include "third_party/WebKit/public/platform/WebCookieJar.h"
namespace html_viewer {
class TestBlinkPlatformImpl : public BlinkPlatformImpl {
public:
TestBlinkPlatformImpl();
~TestBlinkPlatformImpl() override;
private:
// blink::Platform methods:
virtual blink::WebCookieJar* cookieJar();
virtual blink::WebClipboard* clipboard();
blink::WebClipboard clipboard_;
blink::WebCookieJar cookie_jar_;
};
} // namespace html_viewer
#endif // COMPONENTS_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_