| Index: mojo/services/html_viewer/test_blink_platform_impl.h
|
| diff --git a/mojo/services/html_viewer/test_blink_platform_impl.h b/mojo/services/html_viewer/test_blink_platform_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e2fcf7695045418b4839bad985ace05884412ef5
|
| --- /dev/null
|
| +++ b/mojo/services/html_viewer/test_blink_platform_impl.h
|
| @@ -0,0 +1,31 @@
|
| +// 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 MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
|
| +#define MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
|
| +
|
| +#include "mojo/services/html_viewer/blink_platform_impl.h"
|
| +
|
| +#include "third_party/WebKit/public/platform/WebClipboard.h"
|
| +#include "third_party/WebKit/public/platform/WebCookieJar.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +class TestBlinkPlatformImpl : public BlinkPlatformImpl {
|
| + public:
|
| + TestBlinkPlatformImpl();
|
| + virtual ~TestBlinkPlatformImpl();
|
| +
|
| + private:
|
| + // blink::Platform methods:
|
| + virtual blink::WebCookieJar* cookieJar();
|
| + virtual blink::WebClipboard* clipboard();
|
| +
|
| + blink::WebClipboard clipboard_;
|
| + blink::WebCookieJar cookie_jar_;
|
| +};
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_SERVICES_HTML_VIEWER_TEST_BLINK_PLATFORM_IMPL_H_
|
|
|